13 #ifndef BSEMCOPTIMALFILTERANALYSER_HH 14 #define BSEMCOPTIMALFILTERANALYSER_HH 27 BSEmcPSAOptimalFilterAnalyser(Double_t cf_frac, Double_t cf_tap,
const Double_t *cf_tcorr, Int_t cf_n,
const Double_t *of_a,
const Double_t *of_b, Int_t of_m, Int_t of_b0,
28 BSEmcAbsPulseshape *shape, Double_t threshold, Double_t baseline = 0., Int_t verbose = 1);
35 void GetHit(Int_t
i, Double_t &energy, Double_t &time);
41 Double_t fCF_fraction;
52 std::vector<Double_t> fDigiAmplitude;
53 std::vector<Double_t> fDigiTime;
61 void analyse(std::vector<Double_t>& signal, std::vector<Double_t>& baseline, Int_t& start_position);
62 void zero_crossing(
const std::vector<Double_t>& wf, Int_t& start_position, Double_t& time, Int_t& index);
63 void generate_baseline(std::vector<Double_t>& baseline, Double_t amplitude, Double_t time);
64 void subtract_baseline(std::vector<Double_t>& signal,
const std::vector<Double_t>& baseline);
Baseclass for pulseshapeanalysis ( featureextraction )
void Reset()
reset found hits
~BSEmcPSAOptimalFilterAnalyser()
Int_t Process(const BSEmcWaveform *waveform)
Find Hits in Waveform.
void GetHit(Int_t i, Double_t &energy, Double_t &time)
Get energy and time of hit.
void setVerbose(Int_t verbose)
void setBaseline(Double_t baseline)
BSEmcPSAOptimalFilterAnalyser()