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