PandaRoot
BSEmcPSAFPGAFilterCF.h
Go to the documentation of this file.
1 #ifndef BSEMCFPGAFILTERCF_HH
2 #define BSEMCFPGAFILTERCF_HH
3 
4 #include <vector>
5 
6 #include "RtypesCore.h"
7 
9 
11 
12  public:
14  virtual ~BSEmcPSAFPGAFilterCF();
15  void set(UInt_t t_newBufferSize, Float_t t_newRatio);
16  void resetToZero();
17  virtual Float_t put(Float_t t_valueToStore) /*override*/;
18 
19  private:
20  std::vector<Float_t> fBuffer{};
21  UInt_t fBPointer{0};
22  Float_t fRatio{0};
23 };
24 
25 #endif /*BSEMCFPGAFILTERCF_HH*/
virtual ~BSEmcPSAFPGAFilterCF()
virtual Float_t put(Float_t t_valueToStore)