PandaRoot
BSEmcAbsPSA.h
Go to the documentation of this file.
1 //-----------------------------------------------------------
2 // Description:
3 // Abstract interface for EMC Pulse Shape Analyzer
4 // Dima Melnychuk
5 //-----------------------------------------------------------
6 
7 #ifndef BSEMCABSPSA_HH
8 #define BSEMCABSPSA_HH
9 
10 #include <vector>
11 
12 #include "Rtypes.h"
13 #include "RtypesCore.h"
14 #include "TObject.h"
15 
16 class BSEmcWaveform;
17 class TBuffer;
18 class TClass;
19 class TMemberInspector;
20 
26 class BSEmcAbsPSA {
27  public:
29  virtual ~BSEmcAbsPSA() { ; };
30 
38  virtual Int_t Process(const BSEmcWaveform *t_waveform) = 0;
39 
45  // Constructors/Destructors ---------
46  virtual void Reset(){};
47 
57  virtual void GetHit(Int_t t_i, Double_t &t_energy, Double_t &t_time) = 0;
58 
69  virtual void Process(const BSEmcWaveform *t_waveform, Double_t &t_amplitude, Double_t &t_time);
70  // deprecated do not use
71 
73 };
74 
75 // ClassImp(BSEmcAbsPSA);
76 #endif /*BSEMCABSPSA_HH*/
Baseclass for pulseshapeanalysis ( featureextraction )
Definition: BSEmcAbsPSA.h:26
represents a simulated waveform in an emc crystal
Definition: BSEmcWaveform.h:63
virtual void GetHit(Int_t t_i, Double_t &t_energy, Double_t &t_time)=0
Get energy and time of hit.
virtual Int_t Process(const BSEmcWaveform *t_waveform)=0
Find Hits in Waveform.
virtual void Reset()
reset found hits
Definition: BSEmcAbsPSA.h:46
virtual ~BSEmcAbsPSA()
Definition: BSEmcAbsPSA.h:29
ClassDef(BSEmcAbsPSA, 1)