1 //-------------------------------------------------------------------------
\r
3 // This class include into LRC library for Long-Range Correlation analysis
\r
4 // it makes fit of the 1d histogramm
\r
5 // calculates ax+b coefficients with error and hi square
\r
6 // Origin: Petr Naumenko, SPbSU-CERN, Petr.Naoumenko@cern.ch
\r
7 //-------------------------------------------------------------------------
\r
12 /* See cxx source for full Copyright notice */
\r
21 #include "TProfile.h"
\r
22 #include "TPaveText.h"
\r
36 AliLRCFit(TH1D* h, double xmin, double xmax);
\r
37 virtual ~AliLRCFit();
\r
38 double Geta() const;
\r
39 double Getb() const;
\r
40 double Getda() const;
\r
41 double Getdb() const;
\r
42 double Getda1() const;
\r
43 double Getdb1() const;
\r
44 double Gethi2() const;
\r
45 double Getf() const;
\r
46 double Getxmin() const;
\r
47 double Getxmax() const;
\r
51 int fN; //Number of bins
\r
52 int fTrueN; //Number of bins between xmin and xmax
\r
53 int fNmin; //xmin bin
\r
54 int fNmax; //xmax bin
\r
55 double fS1; // work wariable
\r
56 double fSz; // work wariable
\r
57 double fSfz; // work wariable
\r
58 double fSf; // work wariable
\r
59 double fSf2; // work wariable
\r
60 double fhi2; // hi square
\r
61 double fw; // work wariable
\r
62 double fz; // work wariable
\r
63 double f; // work wariable
\r
64 double fnum; // work wariable
\r
65 double fdf; // work wariable
\r
66 double fdelta; // work wariable
\r
67 double fa; // coefficient a of ax+b
\r
68 double fb; // coefficient b of ax+b
\r
69 double fda; //error of coefficient a of ax+b
\r
70 double fdb; //error of coefficient b of ax+b
\r
71 double fda1; // work wariable
\r
72 double fdb1; // work wariable
\r
73 double fxmin; // xmin
\r
74 double fxmax; // xmax
\r
75 ClassDef(AliLRCFit,0) // macro for rootcint
\r