FairRoot/PandaRoot
PndEmcAbsPSA.cxx
Go to the documentation of this file.
1 #include "PndEmcAbsPSA.h"
2 void PndEmcAbsPSA::Process(const PndEmcWaveform *waveform, Double_t &amplitude, Double_t &time){
3  if(Process(waveform)>0){
4  GetHit(0,amplitude,time);
5  }else{
6  amplitude = 0.;
7  time = 0.;
8  }
9  }; //deprecated do not use
10 
12 
virtual Int_t Process(const PndEmcWaveform *waveform)=0
Find Hits in Waveform.
virtual void GetHit(Int_t i, Double_t &energy, Double_t &time)=0
Get energy and time of hit.
Double_t
represents a simulated waveform in an emc crystal
Baseclass for pulseshapeanalysis ( featureextraction )
Definition: PndEmcAbsPSA.h:21
ClassImp(PndEmcAbsPSA)