]>
Commit | Line | Data |
---|---|---|
59cf5e71 | 1 | #ifndef ALIHBTFITS_H |
2 | #define ALIHBTFITS_H | |
3 | //_________________________________________________ | |
4 | /////////////////////////////////////////////////////////////////////////////////// | |
5 | // | |
6 | // class AliHBTFits | |
7 | // | |
8 | // Sets of methods for fittig correlation functions | |
9 | // | |
10 | // | |
11 | // | |
12 | // | |
13 | // Piotr.Skowronski@cern.ch | |
14 | // | |
15 | /////////////////////////////////////////////////////////////////////////////////// | |
16 | ||
17 | #include <TObject.h> | |
18 | ||
19 | class TF1; | |
20 | class TString; | |
21 | class AliHBTFits: public TObject | |
22 | { | |
23 | public: | |
24 | AliHBTFits(){;} | |
25 | virtual ~AliHBTFits(); | |
26 | static void FitQOutCylSurf (const TString& hname, Option_t* fopt = "R", Float_t max = 0.0); | |
27 | static void FitQSideCylSurf(const TString& hname, Option_t* fopt = "R", Float_t max = 0.0); | |
92d472ba | 28 | static void FitQLongCylSurf(const TString& hname, Option_t* fopt = "R", Float_t max = 0.0); |
59cf5e71 | 29 | |
30 | static void FitQOutQSideQLongCylSurf(const TString& hname,Option_t* fopt = "R", | |
31 | Float_t xmax = 0,Float_t ymax = 0, Float_t zmax = 0); | |
d0510576 | 32 | |
33 | static void FitQOutQSideCylSurf(const TString& hname,Option_t* fopt = "R", | |
34 | Float_t xmax = 0,Float_t ymax = 0); | |
59cf5e71 | 35 | |
36 | static Double_t QOutCylSurf(Double_t *x, Double_t *par); | |
37 | static Double_t QSideCylSurf(Double_t *x, Double_t *par); | |
92d472ba | 38 | static Double_t QLongCylSurf(Double_t *x, Double_t *par); |
59cf5e71 | 39 | |
40 | static Double_t QOutQSideQLongCylSurf(Double_t *x, Double_t *par); | |
d0510576 | 41 | static Double_t QOutQSideCylSurf(Double_t *x, Double_t *par); |
59cf5e71 | 42 | |
43 | ||
44 | // static double Qromo(double (*fun)(double), double a, double b,double(*choose)()) | |
45 | // static double Midexp(double (*fun)(double), double aa, double bb, int n) | |
92d472ba | 46 | static Double_t XXX(Double_t *x, Double_t *par); |
47 | static Bool_t fLongOnly; | |
48 | ||
59cf5e71 | 49 | protected: |
50 | private: | |
51 | static TF1* fgF1; //functions | |
52 | static TF1* fgF2; //functions | |
92d472ba | 53 | |
54 | static Double_t *fXbins; | |
55 | static Double_t *fYbins; | |
56 | static Double_t *fZbins; | |
57 | ||
58 | static Double_t *fExpT; | |
59 | static Double_t *fLongT; | |
60 | static Double_t *fIntegrT; | |
61 | ||
62 | static Int_t fNX; | |
63 | static Int_t fNY; | |
64 | static Int_t fNZ; | |
65 | static Int_t fNXY; | |
66 | static Int_t fNT; | |
67 | ||
68 | static Int_t fBinX; | |
69 | static Int_t fBinY; | |
70 | static Int_t fBinZ; | |
71 | ||
59cf5e71 | 72 | ClassDef(AliHBTFits,1) |
73 | }; | |
74 | #endif | |
75 |