]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGGA/CaloTrackCorrelations/AliAnaParticleHadronCorrelation.h
move selection of leading hadron in oposite side of trigger to a separate method
[u/mrichter/AliRoot.git] / PWGGA / CaloTrackCorrelations / AliAnaParticleHadronCorrelation.h
CommitLineData
045396c8 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 */
045396c8 5
6//_________________________________________________________________________
55c20a99 7// Class that contains the algorithm for the analysis of
8// particle - hadron correlations
9// Particle (for example direct gamma) must be found in a previous analysis
10//
11//-- Author: Gustavo Conesa (INFN-LNF) (LPSC-IN2P2-CNRS)
12//
045396c8 13// --- Analysis system ---
55c20a99 14
745913ae 15#include "AliAnaCaloTrackCorrBaseClass.h"
045396c8 16class AliAODPWG4ParticleCorrelation ;
17
745913ae 18class AliAnaParticleHadronCorrelation : public AliAnaCaloTrackCorrBaseClass {
045396c8 19
20 public:
c5693f62 21
029dea5a 22 AliAnaParticleHadronCorrelation() ; // default ctor
23 virtual ~AliAnaParticleHadronCorrelation() ; // virtual dtor
045396c8 24
25 // General methods
907b38cd 26
045396c8 27 TObjString * GetAnalysisCuts();
28
29 TList * GetCreateOutputObjects();
30
065234f0 31 void Init();
32
045396c8 33 void InitParameters();
31864468 34
35 void FillEventMixPool() ;
065234f0 36
045396c8 37 void MakeAnalysisFillHistograms() ;
38
39 void Print(const Option_t * opt) const;
40
41 // Main analysis methods
42
6b013448 43 Bool_t FindLeadingOppositeHadronInWindow(AliAODPWG4ParticleCorrelation * particle);
907b38cd 44
6b013448 45 Bool_t GetDecayPhotonMomentum (AliAODPWG4Particle* trigger, TLorentzVector & mom1, TLorentzVector & mom2);
045396c8 46
6b013448 47 Bool_t MakeChargedCorrelation (AliAODPWG4ParticleCorrelation * particle) ;
045396c8 48
6b013448 49 Bool_t MakeNeutralCorrelation (AliAODPWG4ParticleCorrelation * particle) ;
045396c8 50
6b013448 51 void MakeMCChargedCorrelation (AliAODPWG4ParticleCorrelation * particle) ;
52
53 void MakeChargedMixCorrelation(AliAODPWG4ParticleCorrelation * particle) ;
029dea5a 54
907b38cd 55 // Filling histogram methods
56
22ad7981 57 void FillChargedAngularCorrelationHistograms (Float_t ptAssoc, Float_t ptTrig, Int_t assocBin,
58 Float_t phiAssoc, Float_t phiTrig, Float_t & deltaPhi,
59 Float_t etaAssoc, Float_t etaTrig,
60 Bool_t decay, Float_t hmpidSignal, Int_t outTOF,
61 Int_t nTracks, Int_t mcTag);
907b38cd 62
029dea5a 63 void FillChargedEventMixPool();
64
22ad7981 65 Bool_t FillChargedMCCorrelationHistograms (Float_t mcAssocPt, Float_t mcAssocPhi, Float_t mcAssocEta,
66 Float_t mcTrigPt, Float_t mcTrigPhi, Float_t mcTrigEta );
907b38cd 67
68
22ad7981 69 void FillChargedMomentumImbalanceHistograms (Float_t ptTrig, Float_t ptAssoc,
70 Float_t xE, Float_t hbpXE,
71 Float_t zT, Float_t hbpZT,
727a309a 72 Float_t pout, Float_t deltaPhi, Int_t nTracks, Int_t charge,
22ad7981 73 Int_t assocBin, Bool_t decay,
74 Int_t outTOF, Int_t mcTag );
907b38cd 75
22ad7981 76 void FillChargedUnderlyingEventHistograms (Float_t ptTrig, Float_t ptAssoc,
77 Float_t deltaPhi, Int_t nTracks, Int_t outTOF);
907b38cd 78
22ad7981 79 void FillChargedUnderlyingEventSidesHistograms(Float_t ptTrig, Float_t ptAssoc,
80 Float_t deltaPhi);
907b38cd 81
22ad7981 82 void FillDecayPhotonCorrelationHistograms (Float_t ptAssoc, Float_t phiAssoc,
83 TLorentzVector mom1, TLorentzVector mom2,
84 Bool_t bChargedOrNeutral);
907b38cd 85
86
22ad7981 87 void FillNeutralAngularCorrelationHistograms (Float_t ptAssoc, Float_t ptTrig,
88 Float_t phiAssoc, Float_t phiTrig, Float_t & deltaPhi,
89 Float_t etaAssoc, Float_t etaTrig);
907b38cd 90
d07ffd54 91 void FillNeutralEventMixPool();
92
2bb7ac98 93
22ad7981 94 void FillNeutralUnderlyingEventSidesHistograms(Float_t ptTrig, Float_t ptAssoc,
95 Float_t xE, Float_t hbpXE,
96 Float_t zT, Float_t hbpZT,
97 Float_t deltaPhi);
b1f720a7 98
22ad7981 99 Int_t GetMCTagHistogramIndex(Int_t tag);
045396c8 100
f3c47a7f 101 Bool_t IsTriggerTheEventLeadingParticle();
065234f0 102
045396c8 103 // Parameter setter and getter
104
1f8591af 105 Float_t GetMinimumTriggerPt() const { return GetMinPt() ; }
106 Float_t GetMaximumTriggerPt() const { return GetMaxPt() ; }
107 void SetTriggerPtRange(Float_t min, Float_t max)
108 { SetMinPt(min), SetMaxPt(max) ; }
109
f7408d50 110
907b38cd 111 Float_t GetMaximumAssociatedPt() const { return fMaxAssocPt ; }
112 Float_t GetMinimumAssociatedPt() const { return fMinAssocPt ; }
f7408d50 113 void SetAssociatedPtRange(Float_t min, Float_t max)
114 { fMaxAssocPt = max ; fMinAssocPt = min ; }
115
907b38cd 116 Double_t GetDeltaPhiMaxCut() const { return fDeltaPhiMaxCut ; }
117 Double_t GetDeltaPhiMinCut() const { return fDeltaPhiMinCut ; }
f7408d50 118 void SetDeltaPhiCutRange(Double_t phimin, Double_t phimax)
119 { fDeltaPhiMaxCut = phimax ; fDeltaPhiMinCut = phimin ; }
66e64043 120
f7408d50 121 // Leading Hadron
122 Double_t GetLeadHadronPhiMaxCut() const { return fMaxLeadHadPhi ; }
123 Double_t GetLeadHadronPhiMinCut() const { return fMinLeadHadPhi ; }
124 void SetLeadHadronPhiCut(Float_t min, Float_t max)
125 { fMaxLeadHadPhi = max ; fMinLeadHadPhi = min ; }
126
127 Double_t GetLeadHadronPtMinCut() const { return fMinLeadHadPt ; }
128 Double_t GetLeadHadronPtMaxCut() const { return fMaxLeadHadPt ; }
129 void SetLeadHadronPtCut(Float_t min, Float_t max)
130 { fMaxLeadHadPt = max ; fMinLeadHadPt = min ; }
045396c8 131
f7408d50 132 Bool_t IsLeadHadronCutOn() const { return fSelectLeadingHadronAngle ; }
133 void SwitchOnLeadHadronSelection() { fSelectLeadingHadronAngle = kTRUE ; }
134 void SwitchOffLeadHadronSelection() { fSelectLeadingHadronAngle = kFALSE ; }
66e64043 135
f7408d50 136 // UE
66e64043 137
f7408d50 138 Double_t GetUeDeltaPhiMaxCut() const { return fUeDeltaPhiMaxCut ; }
139 Double_t GetUeDeltaPhiMinCut() const { return fUeDeltaPhiMinCut ; }
66e64043 140
045396c8 141 void SetUeDeltaPhiCutRange(Double_t uephimin, Double_t uephimax)
907b38cd 142 { fUeDeltaPhiMaxCut = uephimax ; fUeDeltaPhiMinCut = uephimin ; }
045396c8 143
907b38cd 144 Bool_t IsSeveralUEOn() const { return fMakeSeveralUE ; }
145 void SwitchOnSeveralUECalculation() { fMakeSeveralUE = kTRUE ; }
146 void SwitchOffSeveralUECalculation() { fMakeSeveralUE = kFALSE ; }
045396c8 147
148 // Do trigger-neutral correlation
907b38cd 149 Bool_t DoNeutralCorr() const { return fNeutralCorr ; }
150 void SwitchOnNeutralCorr() { fNeutralCorr = kTRUE ; }
151 void SwitchOffNeutralCorr() { fNeutralCorr = kFALSE ; }
045396c8 152
153 // Taking the absolute leading as the trigger or not
907b38cd 154 Bool_t DoAbsoluteLeading() const { return fMakeAbsoluteLeading ; }
155 void SwitchOnAbsoluteLeading() { fMakeAbsoluteLeading = kTRUE ; }
156 void SwitchOffAbsoluteLeading() { fMakeAbsoluteLeading = kFALSE ; }
045396c8 157
3f150b4b 158 // Taking the near side leading as the trigger or not
907b38cd 159 Bool_t DoNearSideLeading() const { return fMakeNearSideLeading ; }
160 void SwitchOnNearSideLeading() { fMakeNearSideLeading = kTRUE ; }
161 void SwitchOffNearSideLeading() { fMakeNearSideLeading = kFALSE ; }
3f150b4b 162
045396c8 163 // Do decay-hadron correlation if it is pi0 trigger
907b38cd 164 Bool_t IsPi0Trigger() const { return fPi0Trigger ; }
165 void SwitchOnPi0TriggerDecayCorr() { fPi0Trigger = kTRUE ; }
166 void SwitchOffPi0TriggerDecayCorr() { fPi0Trigger = kFALSE ; }
167
168 Bool_t IsDecayTrigger() const { return fDecayTrigger ; }
169 void SwitchOnDecayTriggerDecayCorr() { fDecayTrigger = kTRUE ; }
170 void SwitchOffDecayTriggerDecayCorr() { fDecayTrigger = kFALSE ; }
171
172 Bool_t IsHMPIDCorrelation() const { return fHMPIDCorrelation ; }
173 void SwitchOnHMPIDCorrelation() { fHMPIDCorrelation = kTRUE ; }
174 void SwitchOffHMPIDCorrelation() { fHMPIDCorrelation = kFALSE ; }
045396c8 175
907b38cd 176 void SwitchOnFillBradHistograms() { fFillBradHisto = kTRUE ; }
177 void SwitchOffFillBradHistograms() { fFillBradHisto = kFALSE ; }
178
179 Bool_t OnlyIsolated() const { return fSelectIsolated ; }
180 void SelectIsolated(Bool_t s) { fSelectIsolated = s ; }
045396c8 181
907b38cd 182 void SetPi0AODBranchName(TString n) { fPi0AODBranchName = n ; }
045396c8 183
05d0d05d 184 void SetNAssocPtBins(Int_t n) ;
185 void SetAssocPtBinLimit(Int_t ibin, Float_t pt) ;
283f989c 186
187 Bool_t IsMixStoredInReaderOn() const { return fUseMixStoredInReader ; }
188 void SwitchOnUseMixStoredInReader() { fUseMixStoredInReader = kTRUE ; }
189 void SwitchOffUseMixStoredInReader() { fUseMixStoredInReader = kFALSE; }
190
2bb7ac98 191 void SwitchOnFillNeutralInMixedEvent() { fFillNeutralEventMixPool = kTRUE ; }
192 void SwitchOffFillNeutralInMixedEvent(){ fFillNeutralEventMixPool = kFALSE ; }
193
e4c0a0eb 194 void SetM02Cut(Float_t min=0, Float_t max=10) { fM02MinCut = min ; fM02MaxCut = max ; }
195
2bb7ac98 196 void SwitchOnCorrelationVzBin() { fCorrelVzBin = kTRUE ; }
197 void SwitchOffCorrelationVzBin() { fCorrelVzBin = kFALSE ; }
e4c0a0eb 198
b1f720a7 199 void SwitchOnFillPileUpHistograms() { fFillPileUpHistograms = kTRUE ; }
560498d1 200 void SwitchOffFillPileUpHistograms() { fFillPileUpHistograms = kFALSE ; }
2b65bd0e 201
202 void SwitchOnFillTriggerAODWithReferences() { fFillAODWithReferences = kTRUE ; }
203 void SwitchOffFillTriggerAODWithReferences(){ fFillAODWithReferences = kFALSE ; }
204
f3c47a7f 205 void SwitchOnCheckNeutralClustersForLeading() { fCheckLeadingWithNeutralClusters = kTRUE ; }
206 void SwitchOffCheckNeutralClustersForLeading(){ fCheckLeadingWithNeutralClusters = kFALSE ; }
b1f720a7 207
045396c8 208 private:
2b65bd0e 209
210 Bool_t fFillAODWithReferences; // Add to the trigger particle AOD the reference to the tracks or neutrals in correlation.
f3c47a7f 211 Bool_t fCheckLeadingWithNeutralClusters;// Compare the trigger candidate to Leading pT with the clusters pT, by default only charged
66e64043 212 Float_t fMinTriggerPt ; // Minimum trigger hadron pt
213 Float_t fMaxAssocPt ; // Maximum associated hadron pt
214 Float_t fMinAssocPt ; // Minimum associated hadron pt
045396c8 215 Double_t fDeltaPhiMaxCut ; // Minimum Delta Phi Gamma-Hadron
216 Double_t fDeltaPhiMinCut ; // Maximum Delta Phi Gamma-Hadron
217 Bool_t fSelectIsolated ; // Select only trigger particles isolated
218 Bool_t fMakeSeveralUE ; // Do analysis for several underlying events contribution
219 Double_t fUeDeltaPhiMaxCut ; // Minimum Delta Phi Gamma-Underlying Hadron
220 Double_t fUeDeltaPhiMinCut ; // Maximum Delta Phi Gamma-Underlying Hadron
221 TString fPi0AODBranchName; // Name of AOD branch with pi0, not trigger
222 Bool_t fNeutralCorr ; // switch the analysis with neutral particles
223 Bool_t fPi0Trigger ; // switch the analysis with decay photon from pi0 trigger
907b38cd 224 Bool_t fDecayTrigger ; // switch the analysis with decay photon from photon trigger
3f150b4b 225 Bool_t fMakeAbsoluteLeading ; // requesting absolute leading triggers
226 Bool_t fMakeNearSideLeading ; // requesting near side leading (+-90º from trigger particle) triggers
045396c8 227 Int_t fLeadingTriggerIndex ; // Store here per event the trigger index, to avoid too many loops
907b38cd 228 Bool_t fHMPIDCorrelation ; // Correlate with particles on HMPID or its acceptance
229 Bool_t fFillBradHisto ; // DPhi histograms calculated differently
05d0d05d 230 Int_t fNAssocPtBins ; // Number of associated pT bins under study
f85f4afb 231 Float_t fAssocPtBinLimit[20] ; // Associated pT under study
7d306daf 232 Bool_t fCorrelVzBin ; // Fill one histogram per vz bin
045396c8 233
d07ffd54 234 TList ** fListMixTrackEvents ; //![GetNCentrBin()*GetNZvertBin()*GetNRPBin()] Containers for tracks in stored events for mixing
235 TList ** fListMixCaloEvents ; //![GetNCentrBin()*GetNZvertBin()*GetNRPBin()] Containers for calo clusters in stored events for mixing
236
283f989c 237 Bool_t fUseMixStoredInReader; // Signal if in the current event the pool was filled
2bb7ac98 238 Bool_t fFillNeutralEventMixPool; // Add clusters to pool if requested
283f989c 239
e4c0a0eb 240 Float_t fM02MaxCut ; // Study photon clusters with l0 smaller than cut
241 Float_t fM02MinCut ; // Study photon clusters with l0 larger than cut
242
b1f720a7 243 Bool_t fFillPileUpHistograms; // Fill pile-up related histograms
244
f7408d50 245 Bool_t fSelectLeadingHadronAngle; // Select events with leading particle within a range
246 Float_t fMinLeadHadPhi; // Minimum angle between the trigger and leading hadron
247 Float_t fMaxLeadHadPhi; // Maximum ange between the trigger and leading hadron
248 Float_t fMinLeadHadPt; // Minimum pT of leading hadron
249 Float_t fMaxLeadHadPt; // Maximum pT of leading hadron
250
045396c8 251 //Histograms
252
55c20a99 253 //trigger particles
26118504 254 TH1F * fhPtTriggerInput; //! pT distribution of trigger particles before selection
255 TH1F * fhPtTriggerSSCut; //! pT distribution of trigger particles after shower shape selection
256 TH1F * fhPtTriggerIsoCut; //! pT distribution of trigger particles after isolation cut selection
257 TH1F * fhPtTriggerFidCut; //! pT distribution of trigger particles after fiducial selection
55c20a99 258 TH1F * fhPtTrigger; //! pT distribution of trigger particles
259 TH1F * fhPtTriggerVtxBC0; //! pT distribution of trigger particles
260 TH1F * fhPtTriggerPileUp[7]; //! pT distribution of trigger particles
261 TH2F * fhPtTriggerVzBin; //! pT distribution of trigger particles vs vz bin
262 TH2F * fhPtTriggerBin; //! pT distribution of trigger particles, vs mixing bin
263 TH2F * fhPhiTrigger; //! phi distribution vs pT of trigger particles
264 TH2F * fhEtaTrigger; //! eta distribution vs pT of trigger particles
265
266 TH1F * fhPtTriggerMC[7]; //! pT distribution of trigger particles, check the origin of the cluster : "Photon","Pi0","Pi0Decay","EtaDecay","OtherDecay","Electron","Hadron"
267
268 TH2F * fhPtTriggerCentrality; //! pT distribution of trigger particles vs centrality
269 TH2F * fhPtTriggerEventPlane; //! pT distribution of trigger particles vs centrality
270 TH2F * fhTriggerEventPlaneCentrality; //! event plane vs centrality for trigger particles
271
272 TH1F * fhPtTriggerMixed; //! pT distribution of trigger particles, used in mixing
273 TH2F * fhPtTriggerMixedVzBin; //! pT distribution of trigger particles, used in mixing, vs vz bin
274 TH2F * fhPtTriggerMixedBin; //! pT distribution of trigger particles vs mixing bin
275 TH2F * fhPhiTriggerMixed; //! phi distribution vs pT of trigger particles, used in mixing
276 TH2F * fhEtaTriggerMixed; //! eta distribution vs pT of trigger particles, used in mixing
764ab1f4 277
55c20a99 278 // Leading hadron in the opposite side of the trigger
279 TH2F * fhPtLeadingOppositeHadron; //! pT trigger : pT distribution of leading hadron oposite to trigger
280 TH2F * fhPtDiffPhiLeadingOppositeHadron; //! pT trigger : difference phi distribution of leading hadron oposite and trigger
281 TH2F * fhPtDiffEtaLeadingOppositeHadron; //! pT trigger: difference eta distribution of leading hadron oposite and trigger
d0b625bc 282
045396c8 283 //trigger-charged histograms
284 TH2F * fhDeltaPhiDeltaEtaCharged ; //! differences of eta and phi between trigger and charged hadrons
285 TH2F * fhPhiCharged ; //! Phi distribution of charged particles
286 TH2F * fhEtaCharged ; //! Eta distribution of charged particles
287 TH2F * fhDeltaPhiCharged ; //! Difference of charged particle phi and trigger particle phi as function of trigger particle pT
288 TH2F * fhDeltaEtaCharged ; //! Difference of charged particle eta and trigger particle eta as function of trigger particle pT
289 TH2F * fhDeltaPhiChargedPt ; //! Difference of charged particle phi and trigger particle phi as function of charged particle pT
290 TH2F * fhDeltaPhiUeChargedPt ; //! Difference of charged particle from underlying events phi and trigger particle phi as function of charged particle pT
9623bf34 291 TH1F * fhUePart; //! UE particles distribution vs pt trig
3f150b4b 292 TH2F * fhXECharged ; //! Trigger particle -charged hadron momentum imbalance histogram
727a309a 293 TH2F * fhXECharged_Cone2 ; //! Trigger particle -charged hadron momentum imbalance histogram in cone2 (5pi/6-7pi/6)
3f150b4b 294 TH2F * fhXEUeCharged ; //! Trigger particle -underlying charged hadron momentum imbalance histogram
295 TH2F * fhXEPosCharged ; //! Trigger particle -positive charged hadron momentum imbalance histogram
296 TH2F * fhXENegCharged ; //! Trigger particle -negative charged hadron momentum imbalance histogram
297 TH2F * fhPtHbpXECharged ; //! Trigger particle -charged hadron momentum HBP histogram
727a309a 298 TH2F * fhPtHbpXECharged_Cone2 ; //! Trigger particle -charged hadron momentum HBP histogram in cone2 (5pi/6-7pi/6)
3f150b4b 299 TH2F * fhPtHbpXEUeCharged ; //! Trigger particle -underlying charged hadron momentum HBP histogram
300 TH2F * fhZTCharged ; //! Trigger particle -charged hadron momentum imbalance histogram
301 TH2F * fhZTUeCharged ; //! Trigger particle -underlying charged hadron momentum imbalance histogram
302 TH2F * fhZTPosCharged ; //! Trigger particle -positive charged hadron momentum imbalance histogram
303 TH2F * fhZTNegCharged ; //! Trigger particle -negative charged hadron momentum imbalance histogram
304 TH2F * fhPtHbpZTCharged ; //! Trigger particle -charged hadron momentum HBP histogram
305 TH2F * fhPtHbpZTUeCharged ; //! Trigger particle -underlying charged hadron momentum HBP histogram
2bb7ac98 306
b1f720a7 307 TH2F * fhXEChargedMC[7] ; //! Trigger particle -charged hadron momentum imbalance histogram, check the origin of the cluster : decay photon (pi0, eta, other), merged photon (pi0), hadron, rest of photons (prompt, FSR, ISR)
308 TH2F * fhDeltaPhiChargedMC[7] ; //! Trigger particle -charged hadron delta phi histogram, check the origin of the cluster : decay photon (pi0, eta, other), merged photon (pi0), hadron, rest of photons (prompt, FSR, ISR)
309
310 TH2F * fhDeltaPhiDeltaEtaChargedPtA3GeV;//! differences of eta and phi between trigger and charged hadrons, pTa > 3 GeV
311 TH2F * fhDeltaPhiChargedPtA3GeV ; //! Difference of charged particle phi and trigger particle phi as function of trigger particle pT, pTa > 3 GeV
312 TH2F * fhDeltaEtaChargedPtA3GeV ; //! Difference of charged particle eta and trigger particle eta as function of trigger particle pT, pTa > 3 GeV
313
17af6e24 314 // Events tagged as pileup by SDD,EMCal, or combination
315 TH2F * fhDeltaPhiChargedPileUp[7] ; //! Difference of charged particle phi and trigger particle phi as function of trigger particle pT
316 TH2F * fhDeltaEtaChargedPileUp[7] ; //! Difference of charged particle eta and trigger particle eta as function of trigger particle pT
fedea415 317 TH2F * fhDeltaPhiChargedPtA3GeVPileUp[7] ; //! Difference of charged particle phi and trigger particle phi as function of trigger particle pT, pTa > 3 GeV
318 TH2F * fhDeltaEtaChargedPtA3GeVPileUp[7] ; //! Difference of charged particle eta and trigger particle eta as function of trigger particle pT, pTa > 3 GeV
17af6e24 319 TH2F * fhXEChargedPileUp[7] ; //! Trigger particle -charged hadron momentum imbalance histogram
320 TH2F * fhXEUeChargedPileUp[7] ; //! Trigger particle -charged hadron momentum imbalance histogram
321 TH2F * fhZTChargedPileUp[7] ; //! Trigger particle -charged hadron momentum imbalance histogram
322 TH2F * fhZTUeChargedPileUp[7] ; //! Trigger particle -charged hadron momentum imbalance histogram
323 TH2F * fhPtTrigChargedPileUp[7] ; //! trigger and correlated particl pt, to be used for mean value for kt
fedea415 324
325 TH2F * fhDeltaPhiChargedOtherBC ; //! Difference of charged particle phi and trigger particle phi as function of trigger particle pT
326 TH2F * fhDeltaPhiChargedPtA3GeVOtherBC ; //! Difference of charged particle phi and trigger particle phi as function of trigger particle pT, pTa > 3 GeV
327 TH2F * fhXEChargedOtherBC ; //! Trigger particle -charged hadron momentum imbalance histogram
328 TH2F * fhXEUeChargedOtherBC ; //! Trigger particle -charged hadron momentum imbalance histogram
329 TH2F * fhZTChargedOtherBC ; //! Trigger particle -charged hadron momentum imbalance histogram
330 TH2F * fhZTUeChargedOtherBC ; //! Trigger particle -charged hadron momentum imbalance histogram
331 TH2F * fhPtTrigChargedOtherBC ; //! trigger and correlated particl pt, to be used for mean value for kt
332
2a9171b5 333 TH2F * fhDeltaPhiChargedBC0 ; //! Difference of charged particle phi and trigger particle phi as function of trigger particle pT
334 TH2F * fhDeltaPhiChargedPtA3GeVBC0 ; //! Difference of charged particle phi and trigger particle phi as function of trigger particle pT, pTa > 3 GeV
335 TH2F * fhXEChargedBC0 ; //! Trigger particle -charged hadron momentum imbalance histogram
336 TH2F * fhXEUeChargedBC0 ; //! Trigger particle -charged hadron momentum imbalance histogram
337 TH2F * fhZTChargedBC0 ; //! Trigger particle -charged hadron momentum imbalance histogram
338 TH2F * fhZTUeChargedBC0 ; //! Trigger particle -charged hadron momentum imbalance histogram
339 TH2F * fhPtTrigChargedBC0 ; //! trigger and correlated particl pt, to be used for mean value for kt
340
cc944149 341 TH2F * fhDeltaPhiChargedVtxBC0 ; //! Difference of charged particle phi and trigger particle phi as function of trigger particle pT
342 TH2F * fhDeltaPhiChargedPtA3GeVVtxBC0 ; //! Difference of charged particle phi and trigger particle phi as function of trigger particle pT, pTa > 3 GeV
343 TH2F * fhXEChargedVtxBC0 ; //! Trigger particle -charged hadron momentum imbalance histogram
344 TH2F * fhXEUeChargedVtxBC0 ; //! Trigger particle -charged hadron momentum imbalance histogram
345 TH2F * fhZTChargedVtxBC0 ; //! Trigger particle -charged hadron momentum imbalance histogram
346 TH2F * fhZTUeChargedVtxBC0 ; //! Trigger particle -charged hadron momentum imbalance histogram
347 TH2F * fhPtTrigChargedVtxBC0 ; //! trigger and correlated particl pt, to be used for mean value for kt
348
045396c8 349 //if several UE calculation is on, most useful for jet-jet events contribution
350 TH2F * fhDeltaPhiUeLeftCharged ; //! Difference of charged particle from underlying events phi and trigger particle phi as function of charged particle pT
351 TH2F * fhDeltaPhiUeRightCharged ; //! Difference of charged particle from underlying events phi and trigger particle phi
8cc41381 352 TH2F * fhDeltaPhiUeLeftUpCharged; //! Difference of charged particle from underlying events phi and trigger particle phi
353 TH2F * fhDeltaPhiUeRightUpCharged; //! Difference of charged particle from underlying events phi and trigger particle phi
354 TH2F * fhDeltaPhiUeLeftDownCharged; //! Difference of charged particle from underlying events phi and trigger particle phi
355 TH2F * fhDeltaPhiUeRightDownCharged; //! Difference of charged particle from underlying events phi and trigger particle phi
3f150b4b 356 TH2F * fhXEUeLeftCharged ; //! Trigger particle -underlying charged hadron momentum imbalance histogram
357 TH2F * fhXEUeRightCharged ; //! Trigger particle -underlying charged hadron momentum imbalance histogram
b1f720a7 358 TH2F * fhXEUeLeftUpCharged ; //! Trigger particle -underlying charged hadron momentum imbalance histogram
359 TH2F * fhXEUeRightUpCharged ; //! Trigger particle -underlying charged hadron momentum imbalance histogram
360 TH2F * fhXEUeLeftDownCharged ; //! Trigger particle -underlying charged hadron momentum imbalance histogram
361 TH2F * fhXEUeRightDownCharged ; //! Trigger particle -underlying charged hadron momentum imbalance histogram
3f150b4b 362 TH2F * fhPtHbpXEUeLeftCharged ; //! Trigger particle -underlying charged hadron momentum HBP histogram
363 TH2F * fhPtHbpXEUeRightCharged ; //! Trigger particle -underlying charged hadron momentum HBP histogram
364 TH2F * fhZTUeLeftCharged ; //! Trigger particle -underlying charged hadron momentum imbalance histogram
365 TH2F * fhZTUeRightCharged ; //! Trigger particle -underlying charged hadron momentum imbalance histogram
366 TH2F * fhPtHbpZTUeLeftCharged ; //! Trigger particle -underlying charged hadron momentum HBP histogram
367 TH2F * fhPtHbpZTUeRightCharged ; //! Trigger particle -underlying charged hadron momentum HBP histogram
368
045396c8 369 //for pout and kt extraction
05d0d05d 370 TH2F * fhPtTrigPout ; //! Pout =associated pt*sin(delta phi) distribution vs trigger pt
045396c8 371 TH2F * fhPtTrigCharged ; //! trigger and correlated particl pt, to be used for mean value for kt
372
373 //if different multiplicity analysis asked
05d0d05d 374 TH2F ** fhTrigDeltaPhiCharged ; //![GetMultiBin()] differences of phi between trigger and charged hadrons
375 TH2F ** fhTrigDeltaEtaCharged ; //![GetMultiBin()] differences of eta between trigger and charged hadrons
907b38cd 376 TH2F ** fhTrigXECorr ; //![GetMultiBin()] Trigger particle -charged hadron momentum imbalance histogram
377 TH2F ** fhTrigXEUeCorr ; //![GetMultiBin()] Trigger particle -UE charged hadron momentum imbalance histogram
378 TH2F ** fhTrigZTCorr ; //![GetMultiBin()] Trigger particle -charged hadron momentum imbalance histogram
379 TH2F ** fhTrigZTUeCorr ; //![GetMultiBin()] Trigger particle -UE charged hadron momentum imbalance histogram
3f150b4b 380
05d0d05d 381 TH2F * fhAssocPtBkg; //! Trigger pT vs associated pT for background
8cc41381 382 TH2F ** fhDeltaPhiDeltaEtaAssocPtBin; //![fNAssocPtBins*GetNZvertBin()] Difference of charged particle phi and trigger particle phi as function eta difference, for different associated bins
383 TH2F ** fhDeltaPhiAssocPtBin; //![fNAssocPtBins*GetNZvertBin()] Trigger pT vs dPhi for different associated pt bins
384 TH2F ** fhDeltaPhiAssocPtBinDEta08; //![fNAssocPtBins*GetNZvertBin()] Trigger pT vs dPhi for different associated pt bins for Delta eta > 0.8
385 TH2F ** fhDeltaPhiAssocPtBinDEta0 ; //![fNAssocPtBins*GetNZvertBin()] Trigger pT vs dPhi for different associated pt bins for Delta eta = 0
386 TH2F ** fhDeltaPhiAssocPtBinHMPID; //![fNAssocPtBins*GetNZvertBin()] Trigger pT vs dPhi for different associated pt bins, track with HMPID
2bb7ac98 387 TH2F ** fhDeltaPhiAssocPtBinHMPIDAcc; //![fNAssocPtBins*GetNZvertBin()] Trigger pT vs dPhi for different associated pt bins, track with HMPIDAcc
8cc41381 388 TH2F ** fhDeltaPhiBradAssocPtBin; //![fNAssocPtBins*GetNZvertBin()] Trigger pT vs dPhi Brad (?) for different associated pt bins
66e64043 389 TH2F * fhDeltaPhiBrad; //! Trigger pT vs dPhi Brad (?) for different associated pt bins
8cc41381 390 TH2F ** fhXEAssocPtBin ; //![fNAssocPtBins*GetNZvertBin()] Trigger pT vs xE for different associated pt bins
391 TH2F ** fhZTAssocPtBin ; //![fNAssocPtBins*GetNZvertBin()] Trigger pT vs zT for different associated pt bins
3f150b4b 392
045396c8 393 //trigger-neutral histograms
394 TH2F * fhDeltaPhiDeltaEtaNeutral ; //! differences of eta and phi between trigger and neutral hadrons (pi0)
395 TH2F * fhPhiNeutral ; //! Phi distribution of neutral particles
396 TH2F * fhEtaNeutral ; //! Eta distribution of neutral particles
397 TH2F * fhDeltaPhiNeutral ; //! Difference of neutral particle phi and trigger particle phi as function of trigger particle pT
398 TH2F * fhDeltaEtaNeutral ; //! Difference of neutral particle eta and trigger particle eta as function of trigger particle pT
399 TH2F * fhDeltaPhiNeutralPt ; //! Difference of neutral particle phi and trigger particle phi as function of neutral particle particle pT
400 TH2F * fhDeltaPhiUeNeutralPt ; //! Difference of neutral particle phi and trigger particle phi as function of neutral particle particle pT
3f150b4b 401 TH2F * fhXENeutral ; //! Trigger particle - neutral hadron momentum imbalance histogram
402 TH2F * fhXEUeNeutral ; //! Trigger particle - neutral hadron momentum imbalance histogram
907b38cd 403 TH2F * fhPtHbpXENeutral ; //! Trigger particle - neutral particle momentum HBP histogram
404 TH2F * fhPtHbpXEUeNeutral ; //! Trigger particle - underlying neutral hadron momentum HBP histogram
3f150b4b 405 TH2F * fhZTNeutral ; //! Trigger particle - neutral hadron momentum imbalance histogram
406 TH2F * fhZTUeNeutral ; //! Trigger particle - neutral hadron momentum imbalance histogram
907b38cd 407 TH2F * fhPtHbpZTNeutral ; //! Trigger particle - neutral particle momentum HBP histogram
408 TH2F * fhPtHbpZTUeNeutral ; //! Trigger particle - underlying neutral hadron momentum HBP histogram
045396c8 409
045396c8 410 //if several UE calculation is on, most useful for jet-jet events contribution
411 TH2F * fhDeltaPhiUeLeftNeutral ; //! Difference of charged particle from underlying events phi and trigger particle phi as function of neutral particle pT
412 TH2F * fhDeltaPhiUeRightNeutral ; //! Difference of charged particle from underlying events phi and trigger particle phi
3f150b4b 413 TH2F * fhXEUeLeftNeutral ; //! Trigger particle -underlying neutral hadron momentum imbalance histogram
414 TH2F * fhXEUeRightNeutral ; //! Trigger particle -underlying neutral hadron momentum imbalance histogram
415 TH2F * fhPtHbpXEUeLeftNeutral ; //! Trigger particle -underlying neutral hadron momentum HBP histogram
416 TH2F * fhPtHbpXEUeRightNeutral ; //! Trigger particle -underlying neutral hadron momentum HBP histogram
417 TH2F * fhZTUeLeftNeutral ; //! Trigger particle -underlying neutral hadron momentum imbalance histogram
418 TH2F * fhZTUeRightNeutral ; //! Trigger particle -underlying neutral hadron momentum imbalance histogram
419 TH2F * fhPtHbpZTUeLeftNeutral ; //! Trigger particle -underlying neutral hadron momentum HBP histogram
420 TH2F * fhPtHbpZTUeRightNeutral ; //! Trigger particle -underlying neutral hadron momentum HBP histogram
045396c8 421
422 //for decay photon trigger correlation
423 TH2F * fhPtPi0DecayRatio ; //! for pi0 pt and ratio of decay photon pt
424 TH2F * fhDeltaPhiDecayCharged ; //! Difference of charged particle phi and decay trigger
3f150b4b 425 TH2F * fhXEDecayCharged ; //! Trigger particle (decay from pi0)-charged hadron momentum imbalance histogram
907b38cd 426 TH2F * fhZTDecayCharged ; //! Trigger particle (decay from pi0)-charged hadron momentum imbalance histogram
427
045396c8 428 TH2F * fhDeltaPhiDecayNeutral ; //! Difference of neutral particle phi and decay trigger
3f150b4b 429 TH2F * fhXEDecayNeutral ; //! Trigger particle (decay from pi0)-neutral hadron momentum imbalance histogram
430 TH2F * fhZTDecayNeutral ; //! Trigger particle (decay from pi0)-neutral hadron momentum imbalance histogram
431
8cc41381 432 TH2F ** fhDeltaPhiDecayChargedAssocPtBin;//![fNAssocPtBins*GetNZvertBin()] Tagged as decay Trigger pT vs dPhi for different associated pt bins
433 TH2F ** fhXEDecayChargedAssocPtBin ; //![fNAssocPtBins*GetNZvertBin()] Tagged as decay Trigger pT vs xE for different associated pt bins
434 TH2F ** fhZTDecayChargedAssocPtBin ; //![fNAssocPtBins*GetNZvertBin()] Tagged as decay Trigger pT vs xE for different associated pt bins
907b38cd 435
045396c8 436 //if the data is MC, fill MC information
55c20a99 437 TH2F * fh2phiTriggerParticle; //! #phi resolution for triggers
438 TH1F * fhMCPtTrigger; //! MC pure pT distribution of leading particles
439 TH2F * fhMCPhiTrigger; //! MC pure Phi distribution of leading particles
440 TH2F * fhMCEtaTrigger; //! MC pure Eta distribution of leading particles
907b38cd 441 TH2F * fhMCEtaCharged; //! MC pure particles charged primary pt vs eta (both associated)
442 TH2F * fhMCPhiCharged; //! MC pure particles charged primary pt vs phi (both associated)
443 TH2F * fhMCDeltaEtaCharged; //! MC pure particles charged trigger primary pt vs delta eta (associated-trigger)
444 TH2F * fhMCDeltaPhiCharged; //! MC pure particles charged trigger primary pt vs delta phi (associated-trigger)
445 TH2F * fhMCDeltaPhiDeltaEtaCharged; //! MC pure particles charged associated primary pt vs delta phi (associated-trigger), in away side
446 TH2F * fhMCDeltaPhiChargedPt; //! MC pure particles charged delta phi vs delta eta (associated-trigger)
447 TH2F * fhMCPtXECharged; //! MC pure particles charged trigger primary pt vs xE
9623bf34 448 TH2F * fhMCPtXEUeCharged; //! MC pure particles charged trigger primary pt vs xE (underlying event)
c78eef61 449 TH2F * fhMCPtXEUeLeftCharged; //! MC pure particles charged trigger primary pt vs xE (underlying event,left cone)
450 TH2F * fhMCPtXEUeRightCharged; //! MC pure particles charged trigger primary pt vs xE (underlying event,right cone)
907b38cd 451 TH2F * fhMCPtHbpXECharged; //! MC pure particles charged trigger primary pt vs ln(1/xE)
9623bf34 452 TH2F * fhMCPtHbpXEUeCharged; //! MC pure particles charged trigger primary pt vs ln(1/xE) (underlying event)
c78eef61 453 TH2F * fhMCPtHbpXEUeLeftCharged; //! MC pure particles charged trigger primary pt vs ln(1/xE) (underlying event, left cone)
454 TH2F * fhMCPtHbpXEUeRightCharged; //! MC pure particles charged trigger primary pt vs ln(1/xE) (underlying event, right cone)
9623bf34 455 TH1F * fhMCUePart; //! MC pure UE particles distribution vs pt trig
907b38cd 456 TH2F * fhMCPtZTCharged; //! MC pure particles charged trigger primary pt vs zT
c78eef61 457 TH2F * fhMCPtZTUeCharged; //! MC pure particles charged trigger primary pt vs zT (underlying event)
458 TH2F * fhMCPtZTUeLeftCharged; //! MC pure particles charged trigger primary pt vs zT (underlying event, left cone)
459 TH2F * fhMCPtZTUeRightCharged; //! MC pure particles charged trigger primary pt vs zT (underlying event, right cone)
907b38cd 460 TH2F * fhMCPtHbpZTCharged; //! MC pure particles charged trigger primary pt vs ln(1/zT)
c78eef61 461 TH2F * fhMCPtHbpZTUeCharged; //! MC pure particles charged trigger primary pt vs ln(1/zT) (underlying event)
462 TH2F * fhMCPtHbpZTUeLeftCharged; //! MC pure particles charged trigger primary pt vs ln(1/zT) (underlying event, left cone)
463 TH2F * fhMCPtHbpZTUeRightCharged; //! MC pure particles charged trigger primary pt vs ln(1/zT) (underlying event, right cone)
907b38cd 464 TH2F * fhMCPtTrigPout ; //! MC pure particles charged trigger primary pt vs pOut
465 TH2F * fhMCPtAssocDeltaPhi ; //! MC pure particles charged associated primary pt vs delta phi (associated-trigger)
045396c8 466
029dea5a 467 // Mixing
468 TH1I * fhNEventsTrigger; //! number of analyzed triggered events
2e876d85 469 TH1F * fhNtracksMB; //! total number of tracks in MB events
2bb7ac98 470 TH1F * fhNclustersMB; //! total number of clusters in MB events
029dea5a 471 TH2F * fhMixDeltaPhiCharged ; //! Difference of charged particle phi and trigger particle phi as function of trigger particle pT
472 TH2F * fhMixDeltaPhiDeltaEtaCharged ; //! Difference of charged particle phi and trigger particle phi as function eta difference
08f220c8 473 TH2F * fhMixXECharged; //! xE for mixed event
18838011 474 TH2F * fhMixXEUeCharged; //! xE for mixed event in Ue region
08f220c8 475 TH2F * fhMixHbpXECharged; //! ln(1/xE) for mixed event
8cc41381 476 TH2F ** fhMixDeltaPhiChargedAssocPtBin; //![fNAssocPtBins*GetNZvertBin()] Difference of charged particle phi and trigger particle phi as function of trigger particle pT, for different associated bins
477 TH2F ** fhMixDeltaPhiChargedAssocPtBinDEta08; //![fNAssocPtBins*GetNZvertBin()] Difference of charged particle phi and trigger particle phi as function of trigger particle pT, for different associated bins, delta eta > 0.8
478 TH2F ** fhMixDeltaPhiChargedAssocPtBinDEta0; //![fNAssocPtBins*GetNZvertBin()] Difference of charged particle phi and trigger particle phi as function of trigger particle pT, for different associated bins, delta eta = 0
479 TH2F ** fhMixDeltaPhiDeltaEtaChargedAssocPtBin; //![fNAssocPtBins*GetNZvertBin()] Difference of charged particle phi and trigger particle phi as function eta difference, for different associated bins
029dea5a 480
2e876d85 481 TH1I * fhEventBin; //! Number of real events in a particular bin (cen,vz,rp)
482 TH1I * fhEventMixBin; //! Number of mixed events in a particular bin (cen,vz,rp)
483
3f150b4b 484 AliAnaParticleHadronCorrelation( const AliAnaParticleHadronCorrelation & ph) ; // cpy ctor
485 AliAnaParticleHadronCorrelation & operator = (const AliAnaParticleHadronCorrelation & ph) ; // cpy assignment
045396c8 486
2b65bd0e 487 ClassDef(AliAnaParticleHadronCorrelation,32)
045396c8 488} ;
489
490
491#endif //ALIANAPARTICLEHADRONCORRELATION_H
492
493
494