1 #ifndef ALIANAGAMMACORRELATION_H
2 #define ALIANAGAMMACORRELATION_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:
10 * Revision 1.2 2007/08/17 12:40:04 schutz
11 * New analysis classes by Gustavo Conesa
13 * Revision 1.1.2.1 2007/07/26 10:32:09 schutz
14 * new analysis classes in the the new analysis framework
19 //_________________________________________________________________________
20 // Base class for gamma correlations
21 //*-- Author: Gustavo Conesa (INFN-LNF)
23 // --- ROOT system ---
24 #include <TParticle.h>
25 #include <TClonesArray.h>
30 class AliNeutralMesonSelection ;
32 class AliAnaGammaCorrelation : public TObject {
36 AliAnaGammaCorrelation() ; // default ctor
37 AliAnaGammaCorrelation(const AliAnaGammaCorrelation & g) ; // cpy ctor
38 AliAnaGammaCorrelation & operator = (const AliAnaGammaCorrelation & g) ;//cpy assignment
39 virtual ~AliAnaGammaCorrelation() ; //virtual dtor
41 enum Corrtype {kParton, kHadron, kJetLeadCone, kJetFinder};
45 AliNeutralMesonSelection * GetNeutralMesonSelection()
46 { return fNeutralMesonSelection ; }
47 void SetNeutralMesonSelection(AliNeutralMesonSelection * nms)
48 { fNeutralMesonSelection = nms ; }
50 TList * GetOutputContainer() const {return fOutputContainer ;}
51 void SetOutputContainer(TList * oc) {fOutputContainer = oc ;}
53 void InitParameters();
55 Int_t GetCorrelationType() const { return fCorrelationType ; }
56 void SetCorrelationType(Int_t ana ){ fCorrelationType = ana ; }
58 void Print(const Option_t * opt) const;
60 Bool_t AreJetsOnlyInCTS() const {return fJetsOnlyInCTS ; }
61 void SetJetsOnlyInCTS(Bool_t opt){fJetsOnlyInCTS = opt; }
63 virtual TList * GetCreateOutputObjects() {return fOutputContainer ;}
64 virtual void MakeGammaCorrelation(TParticle * , TClonesArray *, TClonesArray *) {;}
66 //Gamma hadron correlations methods: kHadron
67 Float_t GetMinPtHadron() const {return fMinPtHadron ; }
68 void SetMinPtHadron(Float_t pt){fMinPtHadron = pt; };
70 Double_t GetDeltaPhiMaxCut() const {return fDeltaPhiMaxCut ; }
71 Double_t GetDeltaPhiMinCut() const {return fDeltaPhiMinCut ; }
72 void SetDeltaPhiCutRange(Double_t phimin, Double_t phimax)
73 {fDeltaPhiMaxCut =phimax; fDeltaPhiMinCut =phimin;}
75 Double_t GetRatioMaxCut() const {return fRatioMaxCut ; }
76 Double_t GetRatioMinCut() const {return fRatioMinCut ; }
77 void SetRatioCutRange(Double_t ratiomin, Double_t ratiomax)
78 {fRatioMaxCut = ratiomax; fRatioMinCut = ratiomin;}
82 TList * fOutputContainer; //Histograms container
83 AliNeutralMesonSelection * fNeutralMesonSelection ; //! Pointer to pair selection for pi0 identification.
85 Int_t fCorrelationType; //Type of correlation analysis
86 Bool_t fJetsOnlyInCTS ; // Jets measured only in TPC+ITS.
89 //Gamma hadron correlations data members kGammaHadron
90 Double_t fMinPtHadron; // Minimum pt of hadron (kHadron)
91 Double_t fDeltaPhiMaxCut ; // Minimum Delta Phi Gamma-Hadron/jet in leading cone
92 Double_t fDeltaPhiMinCut ; // Maximum Delta Phi Gamma-Hadron/ jet in leading cone
93 Double_t fRatioMaxCut ; // Leading particle/gamma Ratio cut maximum (kLeadJetCone)
94 Double_t fRatioMinCut ; // Leading particle/gamma Ratio cut minimum (kLeadJetCone)
96 ClassDef(AliAnaGammaCorrelation,1)
100 #endif //ALIANAGAMMACORRELATION_H