]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG4/AliAnaParticleHadronCorrelation.h
Correcting the expected string to VZERO, it was V0, for accessing survey objects...
[u/mrichter/AliRoot.git] / PWG4 / 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 /* $Id:  $ */
6
7 //_________________________________________________________________________
8 // Class that contains the algorithm for the analysis of particle - hadron correlations
9 // Particle (for example direct gamma) must be found in a previous analysis 
10 //-- Author: Gustavo Conesa (INFN-LNF)
11
12 // --- ROOT system ---
13 class TH2F;
14
15 // --- Analysis system ---
16 #include "AliAnaPartCorrBaseClass.h"
17
18 class AliAnaParticleHadronCorrelation : public AliAnaPartCorrBaseClass {
19
20 public: 
21   
22   AliAnaParticleHadronCorrelation() ; // default ctor
23   AliAnaParticleHadronCorrelation(const AliAnaParticleHadronCorrelation & ph) ; // cpy ctor
24   AliAnaParticleHadronCorrelation & operator = (const AliAnaParticleHadronCorrelation & ph) ;//cpy assignment
25   virtual ~AliAnaParticleHadronCorrelation() {;} //virtual dtor
26
27   TList * GetCreateOutputObjects();
28
29   Double_t GetDeltaPhiMaxCut() const {return fDeltaPhiMaxCut ; }
30   Double_t GetDeltaPhiMinCut() const {return fDeltaPhiMinCut ; }
31   void SetDeltaPhiCutRange(Double_t phimin, Double_t phimax)
32   {fDeltaPhiMaxCut =phimax;  fDeltaPhiMinCut =phimin;}
33
34   void InitParameters();
35
36   void Print(const Option_t * opt) const;
37  
38   void MakeChargedCorrelation(AliAODParticleCorrelation * aodParticle,TSeqCollection* pl, const Bool_t bFillHisto) ;
39   void MakeNeutralCorrelation(AliAODParticleCorrelation * aodParticle,TSeqCollection* pl, const Bool_t bFillHisto)  ;
40
41   void MakeAnalysisFillAOD()  ;
42   
43   void MakeAnalysisFillHistograms() ; 
44
45   Bool_t SelectCluster(AliAODCaloCluster * calo, Double_t *vertex, TLorentzVector & mom, Int_t & pdg);
46
47   private:
48   
49   Double_t   fDeltaPhiMaxCut ;      // Minimum Delta Phi Gamma-Hadron
50   Double_t   fDeltaPhiMinCut ;      //  Maximum Delta Phi Gamma-Hadron
51
52   //Histograms
53   TH2F * fhPhiCharged  ; //! Phi distribution of selected charged particles
54   TH2F * fhPhiNeutral   ;  //! Phi distribution of selected neutral particles
55   TH2F * fhEtaCharged  ; //! Eta distribution of selected charged particles
56   TH2F * fhEtaNeutral   ; //! Eta distribution of selected neutral particles
57   TH2F * fhDeltaPhiCharged  ;  //! Difference of charged particle phi and trigger particle  phi as function of  trigger particle pT
58   TH2F * fhDeltaPhiNeutral   ;  //! Difference of neutral particle phi and trigger particle  phi as function of  trigger particle pT
59   TH2F * fhDeltaEtaCharged  ;  //! Difference of charged particle eta and trigger particle  eta as function of  trigger particle pT
60   TH2F * fhDeltaEtaNeutral  ;  //! Difference of neutral particle eta and trigger particle  eta as function of  trigger particle pT
61   TH2F * fhDeltaPhiChargedPt  ;  //! Difference of charged particle phi and trigger particle  phi as function of charged particle pT
62   TH2F * fhDeltaPhiNeutralPt  ;  //! Difference of neutral particle phi and trigger particle  phi as function of neutral particle particle pT
63
64   TH2F * fhPtImbalanceNeutral  ; //! Trigger particle - neutral hadron momentum imbalance histogram 
65   TH2F * fhPtImbalanceCharged  ; //! Trigger particle -charged hadron momentim imbalance histogram
66   
67   ClassDef(AliAnaParticleHadronCorrelation,1)
68 } ;
69  
70
71 #endif //AliAnaParticleHadronCorrelation_H
72
73
74