Jet and Particle identification tasks moved to different directories
[u/mrichter/AliRoot.git] / PWG4 / PartCorr / AliGammaConversionHistograms.h
1 #ifndef ALIGAMMACONVERSIONHISTOGRAMS_H
2 #define ALIGAMMACONVERSIONHISTOGRAMS_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice     */
5
6 #include "TH1F.h"
7 #include "TH2F.h"
8 #include <Riostream.h>
9 #include <vector>
10 #include "TString.h"
11 #include "TList.h"
12
13 class AliGammaConversionHistograms{
14
15  public: 
16   
17   AliGammaConversionHistograms();                                                         //constructor
18   AliGammaConversionHistograms(const AliGammaConversionHistograms & g);                   //copy constructor
19   AliGammaConversionHistograms & operator = (const AliGammaConversionHistograms & g);     //assignment operator
20   virtual ~AliGammaConversionHistograms();                                                //virtual destructor
21   
22
23   TList * GetOutputContainer();
24   
25   Int_t GetRBin(Double_t radius);
26   Int_t GetPhiBin(Double_t phi);
27
28   //Setters/Initializers
29
30   void Initialize_MappingValues(Int_t nPhiHistograms, Int_t nRHistograms, Int_t nBinsR, Double_t minRadius, Double_t maxRadius,Int_t nBinsPhi, Double_t minPhi, Double_t maxPhi);
31
32   void Initialize_MC_EP_R(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
33   void Initialize_MC_EP_Z_R(Int_t nXBins,Double_t firstX,Double_t lastX,Int_t nYBins,Double_t firstY,Double_t lastY,TString xAxisTitle="", TString yAxisTitle="");
34   void Initialize_MC_EP_X_Y(Int_t nXBins,Double_t firstX,Double_t lastX,Int_t nYBins,Double_t firstY,Double_t lastY,TString xAxisTitle="", TString yAxisTitle="");
35   void Initialize_MC_EP_OpeningAngle(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
36
37   void Initialize_MC_E_Energy(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
38   void Initialize_MC_E_Pt(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
39   void Initialize_MC_E_Eta(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
40   void Initialize_MC_E_Phi(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
41
42   void Initialize_MC_P_Energy(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
43   void Initialize_MC_P_Pt(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
44   void Initialize_MC_P_Eta(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
45   void Initialize_MC_P_Phi(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
46
47   void Initialize_MC_Gamma_Energy(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
48   void Initialize_MC_Gamma_Pt(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
49   void Initialize_MC_Gamma_Eta(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
50   void Initialize_MC_Gamma_Phi(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
51
52   void Initialize_MC_DirectGamma_Energy(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
53   void Initialize_MC_DirectGamma_Pt(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
54   void Initialize_MC_DirectGamma_Eta(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
55   void Initialize_MC_DirectGamma_Phi(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
56
57   //mapping
58   void Initialize_MappingHistograms(Int_t nPhiHistograms, Int_t nRHistograms,Int_t nXBins, Double_t firstX, Double_t lastX, Int_t nYBins, Double_t firstY, Double_t lastY, TString xAxisTitle, TString yAxisTitle);
59
60   void Initialize_MC_Match_Gamma_Eta(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
61   void Initialize_MC_Match_Gamma_Phi(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
62   void Initialize_MC_Match_Gamma_Pt(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
63   void Initialize_MC_Match_Gamma_Energy(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
64   void Initialize_MC_Match_Gamma_Mass(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
65   void Initialize_MC_Match_Gamma_OpeningAngle(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
66   void Initialize_MC_Match_Gamma_R(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
67   void Initialize_MC_Match_Gamma_Z_R(Int_t nXBins,Double_t firstX,Double_t lastX,Int_t nYBins,Double_t firstY,Double_t lastY,TString xAxisTitle="", TString yAxisTitle="");
68   void Initialize_MC_Match_Gamma_X_Y(Int_t nXBins,Double_t firstX,Double_t lastX,Int_t nYBins,Double_t firstY,Double_t lastY,TString xAxisTitle="", TString yAxisTitle="");
69
70   void Initialize_MC_Pi0_Eta(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
71   void Initialize_MC_Pi0_Phi(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
72   void Initialize_MC_Pi0_Pt(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
73   void Initialize_MC_Pi0_Energy(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
74   void Initialize_MC_Pi0_Mass(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
75   void Initialize_MC_Pi0_OpeningAngleGamma(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
76   void Initialize_MC_Pi0_R(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
77   void Initialize_MC_Pi0_Z_R(Int_t nXBins,Double_t firstX,Double_t lastX,Int_t nYBins,Double_t firstY,Double_t lastY,TString xAxisTitle="", TString yAxisTitle="");
78   void Initialize_MC_Pi0_X_Y(Int_t nXBins,Double_t firstX,Double_t lastX,Int_t nYBins,Double_t firstY,Double_t lastY,TString xAxisTitle="", TString yAxisTitle="");
79   void Initialize_MC_Pi0Secondaries_X_Y(Int_t nXBins,Double_t firstX,Double_t lastX,Int_t nYBins,Double_t firstY,Double_t lastY,TString xAxisTitle="", TString yAxisTitle="");
80
81   void Initialize_MC_Eta_Eta(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
82   void Initialize_MC_Eta_Phi(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
83   void Initialize_MC_Eta_Pt(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
84   void Initialize_MC_Eta_Energy(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
85   void Initialize_MC_Eta_Mass(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
86   void Initialize_MC_Eta_OpeningAngleGamma(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
87   void Initialize_MC_Eta_R(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
88   void Initialize_MC_Eta_Z_R(Int_t nXBins,Double_t firstX,Double_t lastX,Int_t nYBins,Double_t firstY,Double_t lastY,TString xAxisTitle="", TString yAxisTitle="");
89   void Initialize_MC_Eta_X_Y(Int_t nXBins,Double_t firstX,Double_t lastX,Int_t nYBins,Double_t firstY,Double_t lastY,TString xAxisTitle="", TString yAxisTitle="");
90     
91   // esd
92
93   void Initialize_ESD_EP_R(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
94   void Initialize_ESD_EP_Z_R(Int_t nXBins,Double_t firstX,Double_t lastX,Int_t nYBins,Double_t firstY,Double_t lastY,TString xAxisTitle="", TString yAxisTitle="");
95   void Initialize_ESD_EP_X_Y(Int_t nXBins,Double_t firstX,Double_t lastX,Int_t nYBins,Double_t firstY,Double_t lastY,TString xAxisTitle="", TString yAxisTitle="");
96   void Initialize_ESD_EP_OpeningAngle(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
97
98   void Initialize_ESD_E_Energy(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
99   void Initialize_ESD_E_Pt(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
100   void Initialize_ESD_E_Eta(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
101   void Initialize_ESD_E_Phi(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
102
103   void Initialize_ESD_P_Energy(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
104   void Initialize_ESD_P_Pt(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
105   void Initialize_ESD_P_Eta(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
106   void Initialize_ESD_P_Phi(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
107
108
109   void Initialize_ESD_Gamma_Energy(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
110   void Initialize_ESD_Gamma_Pt(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
111   void Initialize_ESD_Gamma_Eta(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
112   void Initialize_ESD_Gamma_Phi(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
113
114   void Initialize_ESD_Match_Gamma_OpeningAngle(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
115   void Initialize_ESD_Match_Gamma_Energy(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
116   void Initialize_ESD_Match_Gamma_Pt(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
117   void Initialize_ESD_Match_Gamma_Eta(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
118   void Initialize_ESD_Match_Gamma_Phi(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
119   void Initialize_ESD_Match_Gamma_Mass(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
120   void Initialize_ESD_Match_Gamma_Width(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
121   void Initialize_ESD_Match_Gamma_Chi2(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
122   void Initialize_ESD_Match_Gamma_NDF(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
123   void Initialize_ESD_Match_Gamma_R(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
124   void Initialize_ESD_Match_Gamma_Z_R(Int_t nXBins,Double_t firstX,Double_t lastX,Int_t nYBins,Double_t firstY,Double_t lastY,TString xAxisTitle="", TString yAxisTitle="");
125   void Initialize_ESD_Match_Gamma_X_Y(Int_t nXBins,Double_t firstX,Double_t lastX,Int_t nYBins,Double_t firstY,Double_t lastY,TString xAxisTitle="", TString yAxisTitle="");
126
127
128   void Initialize_ESD_Pi0_OpeningAngleGamma(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
129   void Initialize_ESD_Pi0_Energy(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
130   void Initialize_ESD_Pi0_Pt(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
131   void Initialize_ESD_Pi0_Eta(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
132   void Initialize_ESD_Pi0_Phi(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
133   void Initialize_ESD_Pi0_Mass(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
134   void Initialize_ESD_Pi0_R(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
135   void Initialize_ESD_Pi0_Z_R(Int_t nXBins,Double_t firstX,Double_t lastX,Int_t nYBins,Double_t firstY,Double_t lastY,TString xAxisTitle="", TString yAxisTitle="");
136   void Initialize_ESD_Pi0_X_Y(Int_t nXBins,Double_t firstX,Double_t lastX,Int_t nYBins,Double_t firstY,Double_t lastY,TString xAxisTitle="", TString yAxisTitle="");
137
138
139   void Initialize_ESD_Eta_OpeningAngleGamma(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
140   void Initialize_ESD_Eta_Energy(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
141   void Initialize_ESD_Eta_Pt(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
142   void Initialize_ESD_Eta_Eta(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
143   void Initialize_ESD_Eta_Phi(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
144   void Initialize_ESD_Eta_Mass(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
145   void Initialize_ESD_Eta_R(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
146   void Initialize_ESD_Eta_Z_R(Int_t nXBins,Double_t firstX,Double_t lastX,Int_t nYBins,Double_t firstY,Double_t lastY,TString xAxisTitle="", TString yAxisTitle="");
147   void Initialize_ESD_Eta_X_Y(Int_t nXBins,Double_t firstX,Double_t lastX,Int_t nYBins,Double_t firstY,Double_t lastY,TString xAxisTitle="", TString yAxisTitle="");
148
149   void Initialize_ESD_Background_OpeningAngleGamma(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
150   void Initialize_ESD_Background_Energy(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
151   void Initialize_ESD_Background_Pt(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
152   void Initialize_ESD_Background_Eta(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
153   void Initialize_ESD_Background_Phi(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
154   void Initialize_ESD_Background_Mass(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
155   void Initialize_ESD_Background_R(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
156   void Initialize_ESD_Background_Z_R(Int_t nXBins,Double_t firstX,Double_t lastX,Int_t nYBins,Double_t firstY,Double_t lastY,TString xAxisTitle="", TString yAxisTitle="");
157   void Initialize_ESD_Background_X_Y(Int_t nXBins,Double_t firstX,Double_t lastX,Int_t nYBins,Double_t firstY,Double_t lastY,TString xAxisTitle="", TString yAxisTitle="");
158
159
160   void Initialize_Resolution_dPt(Int_t nXBins, Double_t firstX, Double_t lastX, Int_t nYBins, Double_t firstY, Double_t lastY, TString xAxisTitle, TString yAxisTitle);
161   void Initialize_Resolution_dR(Int_t nXBins, Double_t firstX, Double_t lastX, Int_t nYBins, Double_t firstY, Double_t lastY, TString xAxisTitle, TString yAxisTitle);
162   void Initialize_Resolution_dZ(Int_t nXBins, Double_t firstX, Double_t lastX, Int_t nYBins, Double_t firstY, Double_t lastY, TString xAxisTitle, TString yAxisTitle);
163   void Initialize_Resolution_dR_dPt(Int_t nXBins, Double_t firstX, Double_t lastX, Int_t nYBins, Double_t firstY, Double_t lastY, TString xAxisTitle, TString yAxisTitle);
164
165   void Initialize_Resolution_MC_Pt(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
166   void Initialize_Resolution_MC_R(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
167   void Initialize_Resolution_MC_Z(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
168
169   void Initialize_Resolution_ESD_Pt(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
170   void Initialize_Resolution_ESD_R(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
171   void Initialize_Resolution_ESD_Z(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
172
173   void Initialize_NumberOfV0s(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
174   void Initialize_NumberOfSurvivingV0s(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
175
176   void Initialize_V0MassDebugCut1(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
177   void Initialize_V0MassDebugCut2(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
178   void Initialize_V0MassDebugCut3(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
179   void Initialize_V0MassDebugCut4(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
180   void Initialize_V0MassDebugCut5(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
181   void Initialize_V0MassDebugCut6(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
182   void Initialize_V0MassDebugCut7(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
183   void Initialize_V0MassDebugCut8(Int_t nXBins,Double_t firstX,Double_t lastX,TString xAxisTitle="", TString yAxisTitle="");
184
185  private:
186   TList* fOutputContainer;
187
188   Int_t fNPhiIndex;
189   Int_t fNRIndex;
190   Double_t fMinRadius;
191   Double_t fMaxRadius;
192   Double_t fDeltaR;
193   Double_t fMinPhi;
194   Double_t fMaxPhi;
195   Double_t fDeltaPhi;
196   
197
198   
199   // Pure MonteCarlo histograms
200   TH1F * fMC_EP_R;                    //! transient
201   TH2F * fMC_EP_Z_R;                  //! transient 
202   TH2F * fMC_EP_X_Y;                  //! transient
203   TH1F * fMC_EP_OpeningAngle;         //! transient
204
205   TH1F * fMC_E_Energy;                //! transient
206   TH1F * fMC_E_Pt;                    //! transient
207   TH1F * fMC_E_Eta;                   //! transient
208   TH1F * fMC_E_Phi;                   //! transient
209
210   TH1F * fMC_P_Energy;                //! transient
211   TH1F * fMC_P_Pt;                    //! transient
212   TH1F * fMC_P_Eta;                   //! transient
213   TH1F * fMC_P_Phi;                   //! transient
214
215   TH1F * fMC_Gamma_Energy;            //! transient
216   TH1F * fMC_Gamma_Pt;                //! transient
217   TH1F * fMC_Gamma_Eta;               //! transient
218   TH1F * fMC_Gamma_Phi;               //! transient
219
220   TH1F * fMC_DirectGamma_Energy;      //! transient
221   TH1F * fMC_DirectGamma_Pt;          //! transient
222   TH1F * fMC_DirectGamma_Eta;         //! transient
223   TH1F * fMC_DirectGamma_Phi;         //! transient
224
225   //mapping
226   //begin double vector
227   typedef vector<TH2F *> AliConversionMappingVector; //! transient  
228   vector<AliConversionMappingVector> fMC_Mapping;    //! transient
229   //end double vector
230
231   vector<TH2F *> fMC_Mapping_Phi;     //! transient
232   vector<TH2F *> fMC_Mapping_R;       //! transient
233
234   TH1F * fMC_Match_Gamma_Eta;         //! transient
235   TH1F * fMC_Match_Gamma_Phi;         //! transient
236   TH1F * fMC_Match_Gamma_Pt;          //! transient
237   TH1F * fMC_Match_Gamma_Energy;      //! transient
238   TH1F * fMC_Match_Gamma_Mass;        //! transient
239   TH1F * fMC_Match_Gamma_OpeningAngle;//! transient
240   TH1F * fMC_Match_Gamma_R;           //! transient
241   TH2F * fMC_Match_Gamma_Z_R;         //! transient
242   TH2F * fMC_Match_Gamma_X_Y;         //! transient
243
244
245   TH1F * fMC_Pi0_Eta;                 //! transient
246   TH1F * fMC_Pi0_Phi;                 //! transient
247   TH1F * fMC_Pi0_Pt;                  //! transient
248   TH1F * fMC_Pi0_Energy;              //! transient
249   TH1F * fMC_Pi0_Mass;                //! transient Not filled, no point, we know the montecarlo mass
250   TH1F * fMC_Pi0_OpeningAngleGamma;   //! transient
251   TH1F * fMC_Pi0_R;                   //! transient
252   TH2F * fMC_Pi0_Z_R;                 //! transient
253   TH2F * fMC_Pi0_X_Y;                 //! transient
254
255   TH1F * fMC_Pi0Secondaries_Eta;                 //! transient
256   TH1F * fMC_Pi0Secondaries_Phi;                 //! transient
257   TH1F * fMC_Pi0Secondaries_Pt;                  //! transient
258   TH1F * fMC_Pi0Secondaries_Energy;              //! transient
259   TH1F * fMC_Pi0Secondaries_Mass;                //! transient Not filled, no point, we know the monteacrlo mass
260   TH1F * fMC_Pi0Secondaries_OpeningAngleGamma;   //! transient
261   TH1F * fMC_Pi0Secondaries_R;                   //! transient
262   TH2F * fMC_Pi0Secondaries_Z_R;                 //! transient
263   TH2F * fMC_Pi0Secondaries_X_Y;
264
265   TH1F * fMC_Eta_Eta;                            //! transient
266   TH1F * fMC_Eta_Phi;                            //! transient
267   TH1F * fMC_Eta_Pt;                             //! transient
268   TH1F * fMC_Eta_Energy;                         //! transient
269   TH1F * fMC_Eta_Mass;                           //! transient Not Filled, no point we know the montecarlo mass
270   TH1F * fMC_Eta_OpeningAngleGamma;              //! transient 
271   TH1F * fMC_Eta_R;                              //! transient We have very few eta secondaries, so the question is if we keep this
272   TH2F * fMC_Eta_Z_R;                            //! transient Same here, do we really need it?
273   TH2F * fMC_Eta_X_Y;                            //! transient all the etas has their vertex in a square in the collision point
274     
275   // Histograms from esd tracks
276   TH1F * fESD_EP_R;                              //! transient  
277   TH2F * fESD_EP_Z_R;                            //! transient
278   TH2F * fESD_EP_X_Y;                            //! transient
279   TH1F * fESD_EP_OpeningAngle;                   //! transient
280
281   TH1F * fESD_E_Energy;                          //! transient
282   TH1F * fESD_E_Pt;                              //! transient
283   TH1F * fESD_E_Eta;                             //! transient
284   TH1F * fESD_E_Phi;                             //! transient
285
286   TH1F * fESD_P_Energy;                          //! transient
287   TH1F * fESD_P_Pt;                              //! transient
288   TH1F * fESD_P_Eta;                             //! transient
289   TH1F * fESD_P_Phi;                             //! transient
290
291
292   TH1F * fESD_Gamma_Energy;                      //! transient
293   TH1F * fESD_Gamma_Pt;                          //! transient
294   TH1F * fESD_Gamma_Eta;                         //! transient
295   TH1F * fESD_Gamma_Phi;                         //! transient
296
297
298   //mapping
299   //begin double vector
300   typedef vector<TH2F *> fESDPhiRVector; //! transient  
301   vector<fESDPhiRVector> fESD_Mapping;    //! transient
302   //end double vector
303   vector<TH2F *> fESD_Mapping_Phi;               //! transient
304   vector<TH2F *> fESD_Mapping_R;                 //! transient
305
306   TH1F * fESD_Match_Gamma_OpeningAngle;          //! transient 
307   TH1F * fESD_Match_Gamma_Energy;                //! transient
308   TH1F * fESD_Match_Gamma_Pt;                    //! transient
309   TH1F * fESD_Match_Gamma_Eta;                   //! transient
310   TH1F * fESD_Match_Gamma_Phi;                   //! transient
311   TH1F * fESD_Match_Gamma_Mass;                  //! transient
312   TH1F * fESD_Match_Gamma_Width;                 //! transient
313   TH1F * fESD_Match_Gamma_Chi2;                  //! transient
314   TH1F * fESD_Match_Gamma_NDF;                   //! transient
315   TH1F * fESD_Match_Gamma_R;                     //! transient
316   TH2F * fESD_Match_Gamma_Z_R;                   //! transient
317   TH2F * fESD_Match_Gamma_X_Y;                   //! transient
318
319
320   TH1F * fESD_Pi0_OpeningAngleGamma;             //! transient
321   TH1F * fESD_Pi0_Energy;                        //! transient
322   TH1F * fESD_Pi0_Pt;                            //! transient
323   TH1F * fESD_Pi0_Eta;                           //! transient
324   TH1F * fESD_Pi0_Phi;                           //! transient
325   TH1F * fESD_Pi0_Mass;                          //! transient
326   TH1F * fESD_Pi0_R;                             //! transient
327   TH2F * fESD_Pi0_Z_R;                           //! transient
328   TH2F * fESD_Pi0_X_Y;                           //! transient
329
330   TH1F * fESD_Eta_OpeningAngleGamma;             //! transient
331   TH1F * fESD_Eta_Energy;                        //! transient
332   TH1F * fESD_Eta_Pt;                            //! transient
333   TH1F * fESD_Eta_Eta;                           //! transient
334   TH1F * fESD_Eta_Phi;                           //! transient
335   TH1F * fESD_Eta_Mass;                          //! transient
336   TH1F * fESD_Eta_R;                             //! transient
337   TH2F * fESD_Eta_Z_R;                           //! transient
338   TH2F * fESD_Eta_X_Y;                           //! transient
339
340   TH1F * fESD_Background_OpeningAngleGamma;      //! transient
341   TH1F * fESD_Background_Energy;                 //! transient
342   TH1F * fESD_Background_Pt;                     //! transient
343   TH1F * fESD_Background_Eta;                    //! transient
344   TH1F * fESD_Background_Phi;                    //! transient
345   TH1F * fESD_Background_Mass;                   //! transient
346   TH1F * fESD_Background_R;                      //! transient
347   TH2F * fESD_Background_Z_R;                    //! transient
348   TH2F * fESD_Background_X_Y;                    //! transient
349
350   TH2F * fResolution_dPt;                        //! transient
351   TH2F * fResolution_dR;                         //! transient
352   TH2F * fResolution_dZ;                         //! transient
353   
354   TH2F * fResolution_dR_dPt;                     //! transient
355
356   TH1F * fResolution_MC_Pt;                      //! transient
357   TH1F * fResolution_MC_R;                       //! transient
358   TH1F * fResolution_MC_Z;                       //! transient
359
360   TH1F * fResolution_ESD_Pt;                     //! transient
361   TH1F * fResolution_ESD_R;                      //! transient
362   TH1F * fResolution_ESD_Z;                      //! transient
363
364   TH1F * fNumberOfV0s;                           //! transient
365   TH1F * fNumberOfSurvivingV0s;                  //! transient
366
367   //  debug histograms
368   TH1F * fV0MassDebugCut1;                       //! transient
369   TH1F * fV0MassDebugCut2;                       //! transient
370   TH1F * fV0MassDebugCut3;                       //! transient
371   TH1F * fV0MassDebugCut4;                       //! transient
372   TH1F * fV0MassDebugCut5;                       //! transient
373   TH1F * fV0MassDebugCut6;                       //! transient
374   TH1F * fV0MassDebugCut7;                       //! transient
375   TH1F * fV0MassDebugCut8;                       //! transient
376
377
378   friend class AliAnalysisTaskGammaConversion;
379   friend class AliV0Reader;
380
381   ClassDef(AliGammaConversionHistograms,0)
382 } ;
383
384
385 #endif
386
387
388