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 */
7 /* History of cvs commits:
14 //_________________________________________________________________________
15 // Class that contains the algorithm for the analysis of particle - hadron correlations
16 // Particle (for example direct gamma) must be found in a previous analysis
17 //-- Author: Gustavo Conesa (INFN-LNF)
19 // --- ROOT system ---
22 // --- Analysis system ---
23 #include "AliAnaBaseClass.h"
25 class AliAnaParticleHadronCorrelation : public AliAnaBaseClass {
29 AliAnaParticleHadronCorrelation() ; // default ctor
30 AliAnaParticleHadronCorrelation(const AliAnaParticleHadronCorrelation & ph) ; // cpy ctor
31 AliAnaParticleHadronCorrelation & operator = (const AliAnaParticleHadronCorrelation & ph) ;//cpy assignment
32 virtual ~AliAnaParticleHadronCorrelation() {;} //virtual dtor
34 TList * GetCreateOutputObjects();
36 Double_t GetDeltaPhiMaxCut() const {return fDeltaPhiMaxCut ; }
37 Double_t GetDeltaPhiMinCut() const {return fDeltaPhiMinCut ; }
38 void SetDeltaPhiCutRange(Double_t phimin, Double_t phimax)
39 {fDeltaPhiMaxCut =phimax; fDeltaPhiMinCut =phimin;}
41 void InitParameters();
43 void Print(const Option_t * opt) const;
45 void MakeChargedCorrelation(AliAODParticleCorrelation * aodParticle,TSeqCollection* pl, const Bool_t bFillHisto) ;
46 void MakeNeutralCorrelation(AliAODParticleCorrelation * aodParticle,TSeqCollection* pl, const Bool_t bFillHisto) ;
48 void MakeAnalysisFillAOD() ;
50 void MakeAnalysisFillHistograms() ;
52 Bool_t SelectCluster(AliAODCaloCluster * calo, Double_t *vertex, TLorentzVector & mom, Int_t & pdg);
56 Double_t fDeltaPhiMaxCut ; // Minimum Delta Phi Gamma-Hadron
57 Double_t fDeltaPhiMinCut ; // Maximum Delta Phi Gamma-Hadron
60 TH2F * fhPhiCharged ; //! Phi distribution of selected charged particles
61 TH2F * fhPhiNeutral ; //! Phi distribution of selected neutral particles
62 TH2F * fhEtaCharged ; //! Eta distribution of selected charged particles
63 TH2F * fhEtaNeutral ; //! Eta distribution of selected neutral particles
64 TH2F * fhDeltaPhiCharged ; //! Difference of charged particle phi and trigger particle phi as function of trigger particle pT
65 TH2F * fhDeltaPhiNeutral ; //! Difference of neutral particle phi and trigger particle phi as function of trigger particle pT
66 TH2F * fhDeltaEtaCharged ; //! Difference of charged particle eta and trigger particle eta as function of trigger particle pT
67 TH2F * fhDeltaEtaNeutral ; //! Difference of neutral particle eta and trigger particle eta as function of trigger particle pT
68 TH2F * fhDeltaPhiChargedPt ; //! Difference of charged particle phi and trigger particle phi as function of charged particle pT
69 TH2F * fhDeltaPhiNeutralPt ; //! Difference of neutral particle phi and trigger particle phi as function of neutral particle particle pT
71 TH2F * fhPtImbalanceNeutral ; //! Trigger particle - neutral hadron momentum imbalance histogram
72 TH2F * fhPtImbalanceCharged ; //! Trigger particle -charged hadron momentim imbalance histogram
74 ClassDef(AliAnaParticleHadronCorrelation,1)
78 #endif //AliAnaParticleHadronCorrelation_H