PandaRoot
PndEmcPSAFPGALinFitter.h
Go to the documentation of this file.
1 #ifndef PNDEMCFPGALINFITTER_HH
2 #define PNDEMCFPGALINFITTER_HH
3 
5  public:
8  void reset();
9  void putPoint(double ix, double iy);
10  void fit();
11  double offset();
12  double slope();
13  double average();
14  double averageX();
15 
16  private:
17  double x;
18  double xx;
19  double xy;
20  double y;
21  double a, k;
22  unsigned int Np;
23 };
24 
25 #endif
void putPoint(double ix, double iy)