First attempt to Asimuthaly Sensitive HBT (G.Galazka)
[u/mrichter/AliRoot.git] / HBTAN / AliHBTashbtCorrFctn.h
1 #ifndef ALIHBTASHBTCORRFCTN_H
2 #define ALIHBTASHBTCORRFCTN_H
3
4 ///////////////////////////////////////////////////////
5 //                                                   //
6 // AliHBTashbtCorrFctn.h                           //
7 //                                                   //
8 // Class for calculating 3D ashbt correlation       //
9 // functions                                         //
10 //                                                   //
11 ///////////////////////////////////////////////////////
12
13 #include "AliHBTFunction.h"
14
15
16 class AliHBTashbtCorrFctn: public AliHBTOnePairFctn1D
17 {
18   public:
19    AliHBTashbtCorrFctn(const char* name = "asejdzbitiCF", 
20                          const char* title= "asHBT Correlation Function");
21
22    AliHBTashbtCorrFctn(const char* name, const char* title,
23                          Int_t nbins, Float_t maxXval, Float_t minXval);
24    AliHBTashbtCorrFctn(const AliHBTashbtCorrFctn& in);
25
26    virtual ~AliHBTashbtCorrFctn();
27
28    void Init();
29    void ProcessSameEventParticles(AliHBTPair* pair);
30    void ProcessDiffEventParticles(AliHBTPair* pair);
31
32    void WriteFunction();
33    
34    TH1*     GetResult();
35    
36  protected:
37
38    Double_t GetValue(AliHBTPair* pair) const {return pair->GetQInv();}
39    void BuildHistos(Int_t nbins, Float_t max, Float_t min);
40    
41    TH1D* fNumOut1;
42    TH1D* fNumOut2;
43    TH1D* fNumOut3;
44    TH1D* fNumOut4;
45    TH1D* fNumOut5;
46    TH1D* fNumOut6;
47    TH1D* fNumOut7;
48    TH1D* fNumOut8;
49
50    TH1D* fDenOut1;
51    TH1D* fDenOut2;
52    TH1D* fDenOut3;
53    TH1D* fDenOut4;
54    TH1D* fDenOut5;
55    TH1D* fDenOut6;
56    TH1D* fDenOut7;
57    TH1D* fDenOut8;
58    
59    TH1D* fRatOut1;
60    TH1D* fRatOut2;
61    TH1D* fRatOut3;
62    TH1D* fRatOut4;
63    TH1D* fRatOut5;
64    TH1D* fRatOut6;
65    TH1D* fRatOut7;
66    TH1D* fRatOut8;
67    
68
69    TH1D* fNumSide1;
70    TH1D* fNumSide2;
71    TH1D* fNumSide3;
72    TH1D* fNumSide4;
73    TH1D* fNumSide5;
74    TH1D* fNumSide6;
75    TH1D* fNumSide7;
76    TH1D* fNumSide8;
77
78    TH1D* fDenSide1;
79    TH1D* fDenSide2;
80    TH1D* fDenSide3;
81    TH1D* fDenSide4;
82    TH1D* fDenSide5;
83    TH1D* fDenSide6;
84    TH1D* fDenSide7;
85    TH1D* fDenSide8;
86    
87    TH1D* fRatSide1;
88    TH1D* fRatSide2;
89    TH1D* fRatSide3;
90    TH1D* fRatSide4;
91    TH1D* fRatSide5;
92    TH1D* fRatSide6;
93    TH1D* fRatSide7;
94    TH1D* fRatSide8;
95    
96    TH1D* fNumLong1;
97    TH1D* fNumLong2;
98    TH1D* fNumLong3;
99    TH1D* fNumLong4;
100    TH1D* fNumLong5;
101    TH1D* fNumLong6;
102    TH1D* fNumLong7;
103    TH1D* fNumLong8;
104
105    TH1D* fDenLong1;
106    TH1D* fDenLong2;
107    TH1D* fDenLong3;
108    TH1D* fDenLong4;
109    TH1D* fDenLong5;
110    TH1D* fDenLong6;
111    TH1D* fDenLong7;
112    TH1D* fDenLong8;
113    
114    TH1D* fRatLong1;
115    TH1D* fRatLong2;
116    TH1D* fRatLong3;
117    TH1D* fRatLong4;
118    TH1D* fRatLong5;
119    TH1D* fRatLong6;
120    TH1D* fRatLong7;
121    TH1D* fRatLong8;
122    
123
124   private:
125   
126     ClassDef(AliHBTashbtCorrFctn,1)
127 };
128
129 #endif