]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HBTAN/AliHBTWeightashbtCorrFctn.h
First attempt to Asimuthaly Sensitive HBT (G.Galazka)
[u/mrichter/AliRoot.git] / HBTAN / AliHBTWeightashbtCorrFctn.h
1 #ifndef ALIHBTWEIGHTASHBTCORRFCTN_H
2 #define ALIHBTWEIGHTASHBTCORRFCTN_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 AliHBTWeightashbtCorrFctn: public AliHBTOnePairFctn1D
17 {
18   public:
19    AliHBTWeightashbtCorrFctn(const char* name = "asejdzbitiCF", 
20                          const char* title= "asHBT Correlation Function");
21
22    AliHBTWeightashbtCorrFctn(const char* name, const char* title,
23                          Int_t nbins, Float_t maxXval, Float_t minXval);
24    AliHBTWeightashbtCorrFctn(const AliHBTWeightashbtCorrFctn& in);
25
26    virtual ~AliHBTWeightashbtCorrFctn();
27
28    void Init();
29    void ProcessSameEventParticles(AliHBTPair* trackpair, AliHBTPair* partpair);
30    void ProcessDiffEventParticles(AliHBTPair* trackpair, AliHBTPair* partpair);
31
32    void WriteFunction();
33    
34    TH1*     GetResult();
35    
36  protected:
37
38    Double_t GetValue(AliHBTPair* trackpair, AliHBTPair* partpair) 
39      {
40         return trackpair->GetQInv()-partpair->GetQInv();
41      }
42    
43    void BuildHistos(Int_t nbins, Float_t max, Float_t min);
44    
45    TH1D* fWeightNumOut1;
46    TH1D* fWeightNumOut2;
47    TH1D* fWeightNumOut3;
48    TH1D* fWeightNumOut4;
49    TH1D* fWeightNumOut5;
50    TH1D* fWeightNumOut6;
51    TH1D* fWeightNumOut7;
52    TH1D* fWeightNumOut8;
53
54    TH1D* fWeightDenOut1;
55    TH1D* fWeightDenOut2;
56    TH1D* fWeightDenOut3;
57    TH1D* fWeightDenOut4;
58    TH1D* fWeightDenOut5;
59    TH1D* fWeightDenOut6;
60    TH1D* fWeightDenOut7;
61    TH1D* fWeightDenOut8;
62    
63    TH1D* fWeightRatOut1;
64    TH1D* fWeightRatOut2;
65    TH1D* fWeightRatOut3;
66    TH1D* fWeightRatOut4;
67    TH1D* fWeightRatOut5;
68    TH1D* fWeightRatOut6;
69    TH1D* fWeightRatOut7;
70    TH1D* fWeightRatOut8;
71    
72
73    TH1D* fWeightNumSide1;
74    TH1D* fWeightNumSide2;
75    TH1D* fWeightNumSide3;
76    TH1D* fWeightNumSide4;
77    TH1D* fWeightNumSide5;
78    TH1D* fWeightNumSide6;
79    TH1D* fWeightNumSide7;
80    TH1D* fWeightNumSide8;
81
82    TH1D* fWeightDenSide1;
83    TH1D* fWeightDenSide2;
84    TH1D* fWeightDenSide3;
85    TH1D* fWeightDenSide4;
86    TH1D* fWeightDenSide5;
87    TH1D* fWeightDenSide6;
88    TH1D* fWeightDenSide7;
89    TH1D* fWeightDenSide8;
90    
91    TH1D* fWeightRatSide1;
92    TH1D* fWeightRatSide2;
93    TH1D* fWeightRatSide3;
94    TH1D* fWeightRatSide4;
95    TH1D* fWeightRatSide5;
96    TH1D* fWeightRatSide6;
97    TH1D* fWeightRatSide7;
98    TH1D* fWeightRatSide8;
99    
100    TH1D* fWeightNumLong1;
101    TH1D* fWeightNumLong2;
102    TH1D* fWeightNumLong3;
103    TH1D* fWeightNumLong4;
104    TH1D* fWeightNumLong5;
105    TH1D* fWeightNumLong6;
106    TH1D* fWeightNumLong7;
107    TH1D* fWeightNumLong8;
108
109    TH1D* fWeightDenLong1;
110    TH1D* fWeightDenLong2;
111    TH1D* fWeightDenLong3;
112    TH1D* fWeightDenLong4;
113    TH1D* fWeightDenLong5;
114    TH1D* fWeightDenLong6;
115    TH1D* fWeightDenLong7;
116    TH1D* fWeightDenLong8;
117    
118    TH1D* fWeightRatLong1;
119    TH1D* fWeightRatLong2;
120    TH1D* fWeightRatLong3;
121    TH1D* fWeightRatLong4;
122    TH1D* fWeightRatLong5;
123    TH1D* fWeightRatLong6;
124    TH1D* fWeightRatLong7;
125    TH1D* fWeightRatLong8;
126    
127
128   private:
129   
130     ClassDef(AliHBTWeightashbtCorrFctn,1)
131 };
132
133 #endif