PandaRoot
PndEmcPSAFPGAFilterCF.h
Go to the documentation of this file.
1 #ifndef PNDEMCFPGAFILTERCF_HH
2 #define PNDEMCFPGAFILTERCF_HH
3 
5 #include <vector>
6 
8 
9  public:
11  virtual ~PndEmcPSAFPGAFilterCF();
12  void set(unsigned int newBufferSize, float newRatio);
13  void resetToZero();
14  virtual float put(float valueToStore);
15 
16  private:
17  std::vector<float> buffer;
18  unsigned int bpointer;
19  float ratio;
20 };
21 
22 #endif
virtual float put(float valueToStore)
virtual ~PndEmcPSAFPGAFilterCF()