PandaRoot
BSEmcPSAFPGAFilterMA.h
Go to the documentation of this file.
1 #ifndef BSEMCPSAFPGAFILTERMA_HH
2 #define BSEMCPSAFPGAFILTERMA_HH
3 
4 #include <vector>
5 
6 #include "RtypesCore.h"
7 
9  public:
12  void set(UInt_t t_newBufferSize);
13  void resetToZero();
14  Float_t put(Float_t t_valueToStore);
15 
16  private:
17  std::vector<Float_t> fBuffer{};
18  UInt_t fBPointer{0};
19  Float_t fSum{0};
20 };
21 
22 #endif /*BSEMCPSAFPGAFILTERMA_HH*/
Float_t put(Float_t t_valueToStore)