9 #ifndef PNDEMCHIGHLOWPSA_H_ 10 #define PNDEMCHIGHLOWPSA_H_ 31 virtual void SetVerbose(Int_t verbose=0) { fVerbose = verbose; };
34 virtual void GetHit(Int_t
i, Double_t &energy, Double_t &time);
35 virtual void GetHit2(Int_t i, Double_t &energy, Double_t &time, Int_t &PileupType);
45 std::vector< std::pair<PndEmcPSAFPGASampleAnalyser*, int> >fHitsInFE;
46 Double_t fOverflowThreshold;
virtual ~PndEmcHighLowPSA()
virtual Int_t Process(const PndEmcWaveform *waveform)
Find Hits in Waveform.
Wrapping class to manage two independent PSAs for high, resp. low gain.
ClassDef(PndEmcAbsPSA, 1)
PndEmcHighLowPSA(Int_t verbose=0)
virtual Int_t GetWaveformIdx(Int_t i)
virtual void Reset()
reset found hits
Baseclass for pulseshapeanalysis ( featureextraction )
virtual void Init(PndEmcPSAFPGASampleAnalyser *highgainPSA, PndEmcPSAFPGASampleAnalyser *lowgainPSA, Double_t overflowThreshold, Int_t highgainWfIndex=0, Int_t lowgainWfIndex=1)
virtual void GetHit(Int_t i, Double_t &energy, Double_t &time)
Get energy and time of hit.
virtual void GetHit2(Int_t i, Double_t &energy, Double_t &time, Int_t &PileupType)
virtual void SetVerbose(Int_t verbose=0)