PandaRoot
PndEmcAbsPSA.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 EMCABSPSA_HH
8 #define EMCABSPSA_HH
9 
10 // Base Class Headers ----------------
11 #include <vector>
12 #include "TObject.h"
13 
14 class PndEmcWaveform;
15 
21 class PndEmcAbsPSA {
22  public:
24  virtual ~PndEmcAbsPSA() { ; };
25 
33  virtual Int_t Process(const PndEmcWaveform *waveform) = 0;
34 
40  // Constructors/Destructors ---------
41  virtual void Reset(){};
42 
52  virtual void GetHit(Int_t i, Double_t &energy, Double_t &time) = 0;
53 
64  virtual void Process(const PndEmcWaveform *waveform, Double_t &amplitude, Double_t &time);
65  // deprecated do not use
66 
68 };
69 
70 // ClassImp(PndEmcAbsPSA);
71 #endif
virtual Int_t Process(const PndEmcWaveform *waveform)=0
Find Hits in Waveform.
ClassDef(PndEmcAbsPSA, 1)
virtual void GetHit(Int_t i, Double_t &energy, Double_t &time)=0
Get energy and time of hit.
unsigned int i
Definition: P4_F32vec4.h:21
virtual ~PndEmcAbsPSA()
Definition: PndEmcAbsPSA.h:24
represents a simulated waveform in an emc crystal
Baseclass for pulseshapeanalysis ( featureextraction )
Definition: PndEmcAbsPSA.h:21
virtual void Reset()
reset found hits
Definition: PndEmcAbsPSA.h:41