PandaRoot
PndEmcPSAFPGAMLinFitter.h
Go to the documentation of this file.
1 #ifndef PNDEMCFPGAMLINFITTER_HH
2 #define PNDEMCFPGAMLINFITTER_HH
3 
5 
7  public:
10  void set(int newBufferSize);
11  void putPoint(double ix, double iy);
12  void fit();
13  double offset();
14  double slope();
15  double average();
16 
17  private:
22  double x;
23  double xx;
24  double xy;
25  double y;
26  double a, k;
27  int Np;
28 };
29 
30 #endif
void putPoint(double ix, double iy)