PandaRoot
BSEmcPSAFPGAPeakfinder.h
Go to the documentation of this file.
1 #ifndef BSEMCPSAFPGAPEAKFINDER_HH
2 #define BSEMCPSAFPGAPEAKFINDER_HH
3 
4 #include "RtypesCore.h"
5 
6 #include <vector>
7 
9 
11  public:
14  void set(UInt_t t_threshold, UInt_t t_llimit, UInt_t t_ulimit);
15  void resetToZero();
16  std::vector<BSEmcPSAFPGAPeakFeatures_t> put(const std::vector<Double_t> &tBuffer) const;
17 
18  private:
19  Int_t fThreshold = 0;
20  Int_t fLLimit = 0;
21  Int_t fULimit = 0;
22 };
23 
24 #endif /*BSEMCPSAFPGAPEAKFINDER_HH*/
std::vector< BSEmcPSAFPGAPeakFeatures_t > put(const std::vector< Double_t > &tBuffer) const