20 #ifndef BSEMCHIGHLOWPSA_HH 21 #define BSEMCHIGHLOWPSA_HH 27 #include "RtypesCore.h" 35 class TMemberInspector;
50 void SetVerbose(Int_t t_verbose = 0) { fVerbose = t_verbose; };
52 virtual void Reset() ;
53 virtual void GetHit(Int_t t_idx, Double_t &t_energy, Double_t &t_time) ;
54 virtual void GetHit(Int_t t_idx, Double_t &t_energy, Double_t &t_time, Int_t &t_PileupType);
65 std::vector<std::pair<BSEmcPSAFPGASampleAnalyser *, Int_t>> fHitsInFE{};
66 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)