8 #ifndef BSEMCHIGHLOWPSA_HH 9 #define BSEMCHIGHLOWPSA_HH 15 #include "RtypesCore.h" 23 class TMemberInspector;
38 void SetVerbose(Int_t t_verbose = 0) { fVerbose = t_verbose; };
40 virtual void Reset() ;
41 virtual void GetHit(Int_t t_idx, Double_t &t_energy, Double_t &t_time) ;
42 virtual void GetHit(Int_t t_idx, Double_t &t_energy, Double_t &t_time, Int_t &t_PileupType);
53 std::vector<std::pair<BSEmcPSAFPGASampleAnalyser *, Int_t>> fHitsInFE{};
54 Double_t fOverflowThreshold{0};
Baseclass for pulseshapeanalysis ( featureextraction )
virtual Int_t Process(const BSEmcWaveform *t_waveform)
Find Hits in Waveform.
BSEmcHighLowPSA(Int_t t_verbose=0)
void SetVerbose(Int_t t_verbose=0)
virtual void GetHit(Int_t t_idx, Double_t &t_energy, Double_t &t_time)
Get energy and time of hit.
virtual void Init(BSEmcPSAFPGASampleAnalyser *t_highgainPSA, BSEmcPSAFPGASampleAnalyser *t_lowgainPSA, Double_t t_overflowThreshold, Int_t t_highgainWfIndex=0, Int_t t_lowgainWfIndex=1)
virtual ~BSEmcHighLowPSA()
Wrapping class to manage two independent PSAs for high, resp. low gain.
virtual void Reset()
reset found hits
virtual Int_t GetWaveformIdx(Int_t t_idx)