PandaRoot
PndEmcPSAFPGAFilterDelay.h
Go to the documentation of this file.
1 #ifndef PNDEMCFPGAFILTERDELAY_HH
2 #define PNDEMCFPGAFILTERDELAY_HH
3 
4 #include <vector>
5 
7  public:
10  void set(unsigned int newBufferSize);
11  float put(float valueToStore);
12  void resetToZero();
13 
14  private:
15  std::vector<float> buffer;
16  unsigned int bpointer;
17  int numbSamples;
18 
19 };
20 
21 #endif
float put(float valueToStore)