PandaRoot
BSEmcPSAFPGALinFitter.h
Go to the documentation of this file.
1 #ifndef BSEMCPSAFPGALINFITTER_HH
2 #define BSEMCPSAFPGALINFITTER_HH
3 #include "RtypesCore.h"
4 
6  public:
9  void reset();
10  void putPoint(Double_t t_x, Double_t t_y);
11  void fit();
12  Double_t offset();
13  Double_t slope();
14  Double_t average();
15  Double_t averageX();
16 
17  private:
18  Double_t x{0};
19  Double_t xx{0};
20  Double_t xy{0};
21  Double_t y{0};
22  Double_t a{0};
23  Double_t k{0};
24  UInt_t Np{0};
25 };
26 
27 #endif /*BSEMCPSAFPGALINFITTER_HH*/
void putPoint(Double_t t_x, Double_t t_y)