]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGGA/CaloTrackCorrelations/AliAnaParticleHadronCorrelation.h
add histograms to mix event and mc truth, fix UE cone size limits - Nicolas
[u/mrichter/AliRoot.git] / PWGGA / CaloTrackCorrelations / AliAnaParticleHadronCorrelation.h
1 #ifndef ALIANAPARTICLEHADRONCORRELATION_H
2 #define ALIANAPARTICLEHADRONCORRELATION_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice     */
5
6 //_________________________________________________________________________
7 // Class that contains the algorithm for the analysis of particle - hadron correlations
8 // Particle (for example direct gamma) must be found in a previous analysis 
9 //-- Author: Gustavo Conesa (INFN-LNF)
10
11 //  Modified by Yaxian Mao:
12 // 1. add the UE subtraction for corrlation study
13 // 2. change the correlation variable
14 // 3. Only use leading particle(cluster/track) as trigger for correlation (2010/07/02)
15 // 4. Make decay photon-hadron correlations where decay contribute pi0 mass (2010/09/09)
16 // 5. fill the pout to extract kt at the end, also to study charge asymmetry(2010/10/06) 
17 // 6. Add the possibility for event selection analysis based on vertex and multiplicity bins (10/10/2010)
18 // 7. change the way of delta phi cut for UE study due to memory issue (reduce histograms)
19 // 8. Add the possibility to request the absolute leading particle at the near side or not, set trigger bins, general clean-up (08/2011)
20
21 // --- Analysis system ---
22 #include "AliAnaCaloTrackCorrBaseClass.h"
23 class AliAODPWG4ParticleCorrelation ;
24
25 class AliAnaParticleHadronCorrelation : public AliAnaCaloTrackCorrBaseClass {
26   
27  public: 
28   
29   AliAnaParticleHadronCorrelation() ;          // default ctor
30   virtual ~AliAnaParticleHadronCorrelation() ; // virtual dtor
31   
32   // General methods
33       
34   TObjString * GetAnalysisCuts();
35   
36   TList      * GetCreateOutputObjects();
37   
38   void         InitParameters();
39   
40   void         MakeAnalysisFillAOD()  ;
41   
42   void         MakeAnalysisFillHistograms() ; 
43   
44   void         Print(const Option_t * opt) const;
45   
46   // Main analysis methods
47   
48   Bool_t       GetDecayPhotonMomentum(const AliAODPWG4Particle* trigger, TLorentzVector & mom1,TLorentzVector & mom2);
49   
50   Bool_t       MakeChargedCorrelation  (AliAODPWG4ParticleCorrelation * aodParticle, const TObjArray* pl, const Bool_t bFillHisto) ;
51   
52   Bool_t       MakeNeutralCorrelation  (AliAODPWG4ParticleCorrelation * aodParticle, const TObjArray* pl, const Bool_t bFillHisto) ;
53   
54   void         MakeMCChargedCorrelation(AliAODPWG4ParticleCorrelation * aodParticle) ;
55   
56   void         MakeChargedMixCorrelation(AliAODPWG4ParticleCorrelation *aodParticle) ;
57   
58   // Filling histogram methods
59   
60   void         FillChargedAngularCorrelationHistograms  (const Float_t ptAssoc,  const Float_t ptTrig,   const Int_t   assocBin,
61                                                          const Float_t phiAssoc, const Float_t phiTrig,  Float_t &     deltaPhi,
62                                                          const Float_t etaAssoc, const Float_t etaTrig,  
63                                                          const Bool_t  decay,    const Float_t hmpidSignal,const Int_t nTracks);
64   
65   void         FillChargedEventMixPool();
66   
67   Bool_t       FillChargedMCCorrelationHistograms       (const Float_t mcAssocPt,      Float_t mcAssocPhi, const Float_t mcAssocEta,
68                                                          const Float_t mcTrigPt, const Float_t mcTrigPhi,  const Float_t mcTrigEta  );
69
70   
71   void         FillChargedMomentumImbalanceHistograms   (const Float_t ptTrig,   const Float_t ptAssoc, 
72                                                          const Float_t xE,       const Float_t hbpXE, 
73                                                          const Float_t zT,       const Float_t hbpZT, 
74                                                          const Float_t pout,     const Float_t deltaPhi,
75                                                          const Int_t   nTracks,  const Int_t   charge,
76                                                          const Int_t   assocBin, const Bool_t  decay );
77   
78   void         FillChargedUnderlyingEventHistograms     (const Float_t ptTrig,   const Float_t ptAssoc, 
79                                                          const Float_t deltaPhi, const Int_t nTracks);
80   
81   void         FillChargedUnderlyingEventSidesHistograms(const Float_t ptTrig,   const Float_t ptAssoc, 
82                                                          const Float_t xE,       const Float_t hbpXE, 
83                                                          const Float_t zT,       const Float_t hbpZT, 
84                                                          const Float_t deltaPhi);
85   
86   void         FillDecayPhotonCorrelationHistograms     (const Float_t ptAssoc,     const Float_t phiAssoc, 
87                                                          const TLorentzVector mom1, const TLorentzVector mom2, 
88                                                          const Bool_t bChargedOrNeutral); 
89   
90   
91   void         FillNeutralAngularCorrelationHistograms  (const Float_t ptAssoc,  const Float_t ptTrig,
92                                                          const Float_t phiAssoc, const Float_t phiTrig,  Float_t &     deltaPhi,
93                                                          const Float_t etaAssoc, const Float_t etaTrig);
94   
95   void         FillNeutralEventMixPool();
96   
97   void         FillNeutralUnderlyingEventSidesHistograms(const Float_t ptTrig,   const Float_t ptAssoc, 
98                                                          const Float_t xE,       const Float_t hbpXE, 
99                                                          const Float_t zT,       const Float_t hbpZT, 
100                                                          const Float_t deltaPhi);  
101   
102   // Parameter setter and getter
103   
104   Float_t      GetMinimumTriggerPt()       const { return fMinTriggerPt          ; }
105   
106   Float_t      GetMaximumAssociatedPt()    const { return fMaxAssocPt            ; }
107   Float_t      GetMinimumAssociatedPt()    const { return fMinAssocPt            ; }
108   
109   Double_t     GetDeltaPhiMaxCut()         const { return fDeltaPhiMaxCut        ; }
110   Double_t     GetDeltaPhiMinCut()         const { return fDeltaPhiMinCut        ; }
111   
112   Double_t     GetUeDeltaPhiMaxCut()       const { return fUeDeltaPhiMaxCut      ; }
113   Double_t     GetUeDeltaPhiMinCut()       const { return fUeDeltaPhiMinCut      ; }
114   
115   void         SetMinimumTriggerPt(Float_t min)  { fMinTriggerPt = min           ; }
116   
117   void         SetAssociatedPtRange(Float_t min, Float_t max)
118                   { fMaxAssocPt   = max ;           fMinAssocPt  = min           ; }
119   
120   void         SetDeltaPhiCutRange(Double_t phimin, Double_t phimax)
121                   { fDeltaPhiMaxCut   = phimax ;    fDeltaPhiMinCut   = phimin   ; }
122   
123   void         SetUeDeltaPhiCutRange(Double_t uephimin, Double_t uephimax)
124                   { fUeDeltaPhiMaxCut = uephimax ;  fUeDeltaPhiMinCut = uephimin ; }
125   
126   Bool_t       IsSeveralUEOn()             const { return fMakeSeveralUE         ; }
127   void         SwitchOnSeveralUECalculation()    { fMakeSeveralUE      = kTRUE   ; }
128   void         SwitchOffSeveralUECalculation()   { fMakeSeveralUE      = kFALSE  ; }
129
130   // Do trigger-neutral correlation
131   Bool_t       DoNeutralCorr()             const { return fNeutralCorr           ; }
132   void         SwitchOnNeutralCorr()             { fNeutralCorr      = kTRUE     ; }
133   void         SwitchOffNeutralCorr()            { fNeutralCorr      = kFALSE    ; }  
134   
135   // Taking the absolute leading as the trigger or not
136   Bool_t       DoAbsoluteLeading()         const { return fMakeAbsoluteLeading   ; }
137   void         SwitchOnAbsoluteLeading()         { fMakeAbsoluteLeading = kTRUE  ; }
138   void         SwitchOffAbsoluteLeading()        { fMakeAbsoluteLeading = kFALSE ; }
139   
140   // Taking the near side leading as the trigger or not
141   Bool_t       DoNearSideLeading()         const { return fMakeNearSideLeading   ; }
142   void         SwitchOnNearSideLeading()         { fMakeNearSideLeading = kTRUE  ; }
143   void         SwitchOffNearSideLeading()        { fMakeNearSideLeading = kFALSE ; }
144   
145   // Do decay-hadron correlation if it is pi0 trigger
146   Bool_t       IsPi0Trigger()              const { return fPi0Trigger            ; }
147   void         SwitchOnPi0TriggerDecayCorr()     { fPi0Trigger          = kTRUE  ; }
148   void         SwitchOffPi0TriggerDecayCorr()    { fPi0Trigger          = kFALSE ; }  
149
150   Bool_t       IsDecayTrigger()            const { return fDecayTrigger          ; }
151   void         SwitchOnDecayTriggerDecayCorr()   { fDecayTrigger        = kTRUE  ; }
152   void         SwitchOffDecayTriggerDecayCorr()  { fDecayTrigger        = kFALSE ; }  
153
154   Bool_t       IsHMPIDCorrelation()        const { return fHMPIDCorrelation      ; }
155   void         SwitchOnHMPIDCorrelation()        { fHMPIDCorrelation    = kTRUE  ; }
156   void         SwitchOffHMPIDCorrelation()       { fHMPIDCorrelation    = kFALSE ; }  
157   
158   void         SwitchOnFillBradHistograms()      { fFillBradHisto       = kTRUE  ; }
159   void         SwitchOffFillBradHistograms()     { fFillBradHisto       = kFALSE ; }  
160     
161   Bool_t       OnlyIsolated()              const { return fSelectIsolated        ; }
162   void         SelectIsolated(Bool_t s)          { fSelectIsolated   = s         ; }
163
164   void         SetPi0AODBranchName(TString n)    { fPi0AODBranchName = n         ; }
165   
166   void         SetNAssocPtBins(Int_t n) ;     
167   void         SetAssocPtBinLimit(Int_t ibin, Float_t pt) ;
168   
169   Bool_t       IsMixStoredInReaderOn()     const { return fUseMixStoredInReader  ; }
170   void         SwitchOnUseMixStoredInReader()    { fUseMixStoredInReader = kTRUE ; }
171   void         SwitchOffUseMixStoredInReader()   { fUseMixStoredInReader = kFALSE; }
172   
173   void         SetM02Cut(Float_t min=0, Float_t max=10)  { fM02MinCut   = min ; fM02MaxCut  = max ; }
174
175   
176  private:
177   
178   Float_t      fMinTriggerPt ;                 // Minimum trigger hadron pt
179   Float_t      fMaxAssocPt ;                   // Maximum associated hadron pt
180   Float_t      fMinAssocPt ;                   // Minimum associated hadron pt
181   Double_t     fDeltaPhiMaxCut ;               // Minimum Delta Phi Gamma-Hadron
182   Double_t     fDeltaPhiMinCut ;               // Maximum Delta Phi Gamma-Hadron
183   Bool_t       fSelectIsolated ;               // Select only trigger particles isolated
184   Bool_t       fMakeSeveralUE ;                // Do analysis for several underlying events contribution
185   Double_t     fUeDeltaPhiMaxCut ;             // Minimum Delta Phi Gamma-Underlying Hadron
186   Double_t     fUeDeltaPhiMinCut ;             // Maximum Delta Phi Gamma-Underlying Hadron
187   TString      fPi0AODBranchName;              // Name of AOD branch with pi0, not trigger
188   Bool_t       fNeutralCorr ;                  // switch the analysis with neutral particles
189   Bool_t       fPi0Trigger ;                   // switch the analysis with decay photon from pi0 trigger
190   Bool_t       fDecayTrigger ;                 // switch the analysis with decay photon from photon trigger
191   Bool_t       fMakeAbsoluteLeading ;          // requesting absolute leading triggers
192   Bool_t       fMakeNearSideLeading ;          // requesting near side leading (+-90º from trigger particle) triggers
193   Int_t        fLeadingTriggerIndex ;          // Store here per event the trigger index, to avoid too many loops
194   Bool_t       fHMPIDCorrelation    ;          // Correlate with particles on HMPID or its acceptance
195   Bool_t       fFillBradHisto ;                // DPhi histograms calculated differently
196   Int_t        fNAssocPtBins ;                 // Number of associated pT bins under study
197   Float_t      fAssocPtBinLimit[10] ;          // Associated pT under study
198   
199   TList **     fListMixTrackEvents ;           //![GetNCentrBin()*GetNZvertBin()*GetNRPBin()] Containers for tracks in stored events for mixing
200   TList **     fListMixCaloEvents ;            //![GetNCentrBin()*GetNZvertBin()*GetNRPBin()] Containers for calo clusters in stored events for mixing
201
202   Bool_t       fUseMixStoredInReader;          // Signal if in the current event the pool was filled
203   
204   Float_t      fM02MaxCut   ;                  // Study photon clusters with l0 smaller than cut
205   Float_t      fM02MinCut   ;                  // Study photon clusters with l0 larger than cut
206   
207   //Histograms
208
209   //leading particles 
210   TH1F *       fhPtLeading;                    //! pT distribution of leading particles
211   TH2F *       fhPtLeadingBin;                 //! pT distribution of leading particles, vs mixing bin
212   TH2F *       fhPhiLeading;                   //! phi distribution vs pT of leading particles
213   TH2F *       fhEtaLeading;                   //! eta distribution vs pT of leading particles
214   
215   TH2F *       fhPtLeadingCentrality;          //! pT distribution of leading particles vs centrality
216   TH2F *       fhPtLeadingEventPlane;          //! pT distribution of leading particles vs centrality
217   TH2F *       fhLeadingEventPlaneCentrality;  //! event plane vs centrality for leading particles
218   
219   TH1F *       fhPtLeadingMixed;               //! pT distribution of leading particles, used in mixing
220   TH2F *       fhPtLeadingMixedBin;            //! pT distribution of leading particles vs mixing bin
221   TH2F *       fhPhiLeadingMixed;              //! phi distribution vs pT of leading particles, used in mixing
222   TH2F *       fhEtaLeadingMixed;              //! eta distribution vs pT of leading particles, used in mixing  
223
224   //trigger-charged histograms
225   TH2F *       fhDeltaPhiDeltaEtaCharged ;     //! differences of eta and phi between trigger and charged hadrons
226   TH2F *       fhPhiCharged  ;                 //! Phi distribution of charged particles
227   TH2F *       fhEtaCharged  ;                 //! Eta distribution of charged particles
228   TH2F *       fhDeltaPhiCharged  ;            //! Difference of charged particle phi and trigger particle  phi as function of  trigger particle pT
229   TH2F *       fhDeltaEtaCharged  ;            //! Difference of charged particle eta and trigger particle  eta as function of  trigger particle pT
230   TH2F *       fhDeltaPhiChargedPt  ;          //! Difference of charged particle phi and trigger particle  phi as function of charged particle pT
231   TH2F *       fhDeltaPhiUeChargedPt ;         //! Difference of charged particle from underlying events phi and trigger particle  phi as function of charged particle pT
232   TH1F *       fhUePart;                       //! UE particles distribution vs pt trig
233   TH2F *       fhXECharged  ;                  //! Trigger particle -charged hadron momentum imbalance histogram
234   TH2F *       fhXEUeCharged  ;                //! Trigger particle -underlying charged hadron momentum imbalance histogram  
235   TH2F *       fhXEPosCharged  ;               //! Trigger particle -positive charged hadron momentum imbalance histogram
236   TH2F *       fhXENegCharged  ;               //! Trigger particle -negative charged hadron momentum imbalance histogram 
237   TH2F *       fhPtHbpXECharged  ;             //! Trigger particle -charged hadron momentum HBP histogram
238   TH2F *       fhPtHbpXEUeCharged  ;           //! Trigger particle -underlying charged hadron momentum HBP histogram  
239   TH2F *       fhZTCharged  ;                  //! Trigger particle -charged hadron momentum imbalance histogram
240   TH2F *       fhZTUeCharged  ;                //! Trigger particle -underlying charged hadron momentum imbalance histogram  
241   TH2F *       fhZTPosCharged  ;               //! Trigger particle -positive charged hadron momentum imbalance histogram
242   TH2F *       fhZTNegCharged  ;               //! Trigger particle -negative charged hadron momentum imbalance histogram 
243   TH2F *       fhPtHbpZTCharged  ;             //! Trigger particle -charged hadron momentum HBP histogram
244   TH2F *       fhPtHbpZTUeCharged  ;           //! Trigger particle -underlying charged hadron momentum HBP histogram  
245  
246   //if several UE calculation is on, most useful for jet-jet events contribution
247   TH2F *       fhDeltaPhiUeLeftCharged  ;      //! Difference of charged particle from underlying events phi and trigger particle  phi as function of charged particle pT
248   TH2F *       fhDeltaPhiUeRightCharged  ;     //! Difference of charged particle from underlying events phi and trigger particle  phi 
249   TH2F *       fhXEUeLeftCharged  ;            //! Trigger particle -underlying charged hadron momentum imbalance histogram 
250   TH2F *       fhXEUeRightCharged ;            //! Trigger particle -underlying charged hadron momentum imbalance histogram  
251   TH2F *       fhPtHbpXEUeLeftCharged  ;       //! Trigger particle -underlying charged hadron momentum HBP histogram 
252   TH2F *       fhPtHbpXEUeRightCharged  ;      //! Trigger particle -underlying charged hadron momentum HBP histogram  
253   TH2F *       fhZTUeLeftCharged  ;            //! Trigger particle -underlying charged hadron momentum imbalance histogram 
254   TH2F *       fhZTUeRightCharged ;            //! Trigger particle -underlying charged hadron momentum imbalance histogram  
255   TH2F *       fhPtHbpZTUeLeftCharged  ;       //! Trigger particle -underlying charged hadron momentum HBP histogram 
256   TH2F *       fhPtHbpZTUeRightCharged  ;      //! Trigger particle -underlying charged hadron momentum HBP histogram 
257   
258   //for pout and kt extraction
259   TH2F *       fhPtTrigPout  ;                 //! Pout =associated pt*sin(delta phi) distribution vs trigger pt 
260   TH2F *       fhPtTrigCharged ;               //! trigger and correlated particl pt, to be used for mean value for kt  
261   
262   //if different multiplicity analysis asked
263   TH2F **      fhTrigDeltaPhiCharged ;         //![GetMultiBin()] differences of phi between trigger and charged hadrons
264   TH2F **      fhTrigDeltaEtaCharged ;         //![GetMultiBin()] differences of eta between trigger and charged hadrons
265   TH2F **      fhTrigXECorr  ;                 //![GetMultiBin()] Trigger particle -charged hadron momentum imbalance histogram
266   TH2F **      fhTrigXEUeCorr  ;               //![GetMultiBin()] Trigger particle -UE charged hadron momentum imbalance histogram
267   TH2F **      fhTrigZTCorr  ;                 //![GetMultiBin()] Trigger particle -charged hadron momentum imbalance histogram
268   TH2F **      fhTrigZTUeCorr  ;               //![GetMultiBin()] Trigger particle -UE charged hadron momentum imbalance histogram
269   
270   TH2F *       fhAssocPtBkg;                   //! Trigger pT vs associated pT for background
271   TH2F **      fhDeltaPhiAssocPtBin;           //![fNAssocPtBins] Trigger pT vs dPhi for different associated pt bins
272   TH2F **      fhDeltaPhiAssocPtBinDEta08;     //![fNAssocPtBins] Trigger pT vs dPhi for different associated pt bins for Delta eta > 0.8
273   TH2F **      fhDeltaPhiAssocPtBinHMPID;      //![fNAssocPtBins] Trigger pT vs dPhi for different associated pt bins, track with HMPID  
274   TH2F **      fhDeltaPhiAssocPtBinHMPIDAcc;   //![fNAssocPtBins] Trigger pT vs dPhi for different associated pt bins, track with HMPIDAcc  
275   TH2F **      fhDeltaPhiBradAssocPtBin;       //![fNAssocPtBins] Trigger pT vs dPhi Brad (?) for different associated pt bins
276   TH2F *       fhDeltaPhiBrad;                 //! Trigger pT vs dPhi Brad (?) for different associated pt bins
277   TH2F **      fhXEAssocPtBin ;                //![fNAssocPtBins] Trigger pT vs xE for different associated pt bins
278   TH2F **      fhZTAssocPtBin ;                //![fNAssocPtBins] Trigger pT vs zT for different associated pt bins
279
280   //trigger-neutral histograms
281   TH2F *       fhDeltaPhiDeltaEtaNeutral ;     //! differences of eta and phi between trigger and neutral hadrons (pi0)
282   TH2F *       fhPhiNeutral   ;                //! Phi distribution of neutral particles  
283   TH2F *       fhEtaNeutral   ;                //! Eta distribution of neutral particles
284   TH2F *       fhDeltaPhiNeutral   ;           //! Difference of neutral particle phi and trigger particle  phi as function of  trigger particle pT
285   TH2F *       fhDeltaEtaNeutral  ;            //! Difference of neutral particle eta and trigger particle  eta as function of  trigger particle pT
286   TH2F *       fhDeltaPhiNeutralPt  ;          //! Difference of neutral particle phi and trigger particle  phi as function of neutral particle particle pT
287   TH2F *       fhDeltaPhiUeNeutralPt ;         //! Difference of neutral particle phi and trigger particle  phi as function of neutral particle particle pT  
288   TH2F *       fhXENeutral  ;                  //! Trigger particle - neutral hadron momentum imbalance histogram 
289   TH2F *       fhXEUeNeutral  ;                //! Trigger particle - neutral hadron momentum imbalance histogram 
290   TH2F *       fhPtHbpXENeutral  ;             //! Trigger particle - neutral particle momentum HBP histogram
291   TH2F *       fhPtHbpXEUeNeutral  ;           //! Trigger particle - underlying neutral hadron momentum HBP histogram  
292   TH2F *       fhZTNeutral  ;                  //! Trigger particle - neutral hadron momentum imbalance histogram 
293   TH2F *       fhZTUeNeutral  ;                //! Trigger particle - neutral hadron momentum imbalance histogram 
294   TH2F *       fhPtHbpZTNeutral  ;             //! Trigger particle - neutral particle momentum HBP histogram
295   TH2F *       fhPtHbpZTUeNeutral  ;           //! Trigger particle - underlying neutral hadron momentum HBP histogram  
296   
297   //if several UE calculation is on, most useful for jet-jet events contribution
298   TH2F *       fhDeltaPhiUeLeftNeutral  ;      //! Difference of charged particle from underlying events phi and trigger particle  phi as function of neutral particle pT
299   TH2F *       fhDeltaPhiUeRightNeutral  ;     //! Difference of charged particle from underlying events phi and trigger particle  phi 
300   TH2F *       fhXEUeLeftNeutral  ;            //! Trigger particle -underlying neutral hadron momentum imbalance histogram 
301   TH2F *       fhXEUeRightNeutral ;            //! Trigger particle -underlying neutral hadron momentum imbalance histogram 
302   TH2F *       fhPtHbpXEUeLeftNeutral  ;       //! Trigger particle -underlying neutral hadron momentum HBP histogram 
303   TH2F *       fhPtHbpXEUeRightNeutral  ;      //! Trigger particle -underlying neutral hadron momentum HBP histogram 
304   TH2F *       fhZTUeLeftNeutral  ;            //! Trigger particle -underlying neutral hadron momentum imbalance histogram 
305   TH2F *       fhZTUeRightNeutral ;            //! Trigger particle -underlying neutral hadron momentum imbalance histogram 
306   TH2F *       fhPtHbpZTUeLeftNeutral  ;       //! Trigger particle -underlying neutral hadron momentum HBP histogram 
307   TH2F *       fhPtHbpZTUeRightNeutral  ;      //! Trigger particle -underlying neutral hadron momentum HBP histogram 
308   
309   //for decay photon trigger correlation
310   TH2F *       fhPtPi0DecayRatio ;             //! for pi0 pt and ratio of decay photon pt
311   TH2F *       fhDeltaPhiDecayCharged  ;       //! Difference of charged particle phi and decay trigger
312   TH2F *       fhXEDecayCharged ;              //! Trigger particle (decay from pi0)-charged hadron momentum imbalance histogram    
313   TH2F *       fhZTDecayCharged ;              //! Trigger particle (decay from pi0)-charged hadron momentum imbalance histogram   
314
315   TH2F *       fhDeltaPhiDecayNeutral  ;       //! Difference of neutral particle phi and decay trigger
316   TH2F *       fhXEDecayNeutral ;              //! Trigger particle (decay from pi0)-neutral hadron momentum imbalance histogram  
317   TH2F *       fhZTDecayNeutral ;              //! Trigger particle (decay from pi0)-neutral hadron momentum imbalance histogram  
318
319   TH2F **      fhDeltaPhiDecayChargedAssocPtBin;//![fNAssocPtBins] Tagged as decay Trigger pT vs dPhi for different associated pt bins
320   TH2F **      fhXEDecayChargedAssocPtBin ;    //![fNAssocPtBins] Tagged as decay Trigger pT vs xE for different associated pt bins
321   TH2F **      fhZTDecayChargedAssocPtBin ;    //![fNAssocPtBins] Tagged as decay Trigger pT vs xE for different associated pt bins  
322   
323   //if the data is MC, fill MC information
324   TH2F *       fh2phiLeadingParticle;          //! #phi resolution for triggers
325   TH1F *       fhMCPtLeading;                  //! MC pure pT distribution of leading particles
326   TH2F *       fhMCPhiLeading;                 //! MC pure Phi distribution of leading particles
327   TH2F *       fhMCEtaLeading;                 //! MC pure Eta distribution of leading particles
328   TH2F *       fhMCEtaCharged;                 //! MC pure particles charged primary pt vs eta (both associated) 
329   TH2F *       fhMCPhiCharged;                 //! MC pure particles charged primary pt vs phi (both associated) 
330   TH2F *       fhMCDeltaEtaCharged;            //! MC pure particles charged trigger primary pt vs delta eta (associated-trigger) 
331   TH2F *       fhMCDeltaPhiCharged;            //! MC pure particles charged trigger primary pt vs delta phi (associated-trigger) 
332   TH2F *       fhMCDeltaPhiDeltaEtaCharged;    //! MC pure particles charged associated primary pt vs delta phi (associated-trigger), in away side 
333   TH2F *       fhMCDeltaPhiChargedPt;          //! MC pure particles charged delta phi vs delta eta (associated-trigger) 
334   TH2F *       fhMCPtXECharged;                //! MC pure particles charged trigger primary pt vs xE
335   TH2F *       fhMCPtXEUeCharged;              //! MC pure particles charged trigger primary pt vs xE (underlying event)
336   TH2F *       fhMCPtHbpXECharged;             //! MC pure particles charged trigger primary pt vs ln(1/xE)
337   TH2F *       fhMCPtHbpXEUeCharged;           //! MC pure particles charged trigger primary pt vs ln(1/xE) (underlying event)
338   TH1F *       fhMCUePart;                     //! MC pure UE particles distribution vs pt trig
339   TH2F *       fhMCPtZTCharged;                //! MC pure particles charged trigger primary pt vs zT
340   TH2F *       fhMCPtHbpZTCharged;             //! MC pure particles charged trigger primary pt vs ln(1/zT)
341   TH2F *       fhMCPtTrigPout ;                //! MC pure particles charged trigger primary pt vs pOut
342   TH2F *       fhMCPtAssocDeltaPhi  ;          //! MC pure particles charged associated primary pt vs delta phi (associated-trigger) 
343
344   // Mixing
345   TH1I *       fhNEventsTrigger;               //! number of analyzed triggered events
346   TH1F *       fhNtracksAll;                   //! total number of tracks 
347   TH1F *       fhNtracksTrigger;               //! total number of tracks in triggered events 
348   TH1F *       fhNtracksMB;                    //! total number of tracks in MB events
349   TH2F *       fhMixDeltaPhiCharged  ;         //! Difference of charged particle phi and trigger particle  phi as function of  trigger particle pT
350   TH2F *       fhMixDeltaPhiDeltaEtaCharged  ; //! Difference of charged particle phi and trigger particle  phi as function eta difference
351   TH2F *       fhMixXECharged;                 //! xE for mixed event
352   TH2F *       fhMixHbpXECharged;              //! ln(1/xE) for mixed event
353   TH2F **      fhMixDeltaPhiChargedAssocPtBin; //![fNAssocPtBins] Difference of charged particle phi and trigger particle  phi as function of  trigger particle pT, for different associated bins
354   TH2F **      fhMixDeltaPhiChargedAssocPtBinDEta08; //![fNAssocPtBins] Difference of charged particle phi and trigger particle  phi as function of  trigger particle pT, for different associated bins, delta eta > 0.8
355   TH2F **      fhMixDeltaPhiDeltaEtaChargedAssocPtBin; //![fNAssocPtBins] Difference of charged particle phi and trigger particle  phi  as function eta difference, for different associated bins
356
357   TH1I *       fhEventBin;                     //! Number of real  events in a particular bin (cen,vz,rp)
358   TH1I *       fhEventMixBin;                  //! Number of mixed events in a particular bin (cen,vz,rp)
359   
360   AliAnaParticleHadronCorrelation(              const AliAnaParticleHadronCorrelation & ph) ; // cpy ctor
361   AliAnaParticleHadronCorrelation & operator = (const AliAnaParticleHadronCorrelation & ph) ; // cpy assignment
362         
363   ClassDef(AliAnaParticleHadronCorrelation,21)
364 } ;
365  
366
367 #endif //ALIANAPARTICLEHADRONCORRELATION_H
368
369
370