]>
Commit | Line | Data |
---|---|---|
1c5acb87 | 1 | #ifndef ALIANAPARTICLEJETFINDERCORRELATION_H |
2 | #define ALIANAPARTICLEJETFINDERCORRELATION_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | /* $Id: AliAnaParticleJetFinderCorrelation.h 21839 2007-10-29 13:49:42Z gustavo $ */ | |
6 | ||
7 | ||
8 | //_________________________________________________________________________ | |
9 | // Class that contains the algorithm for the analysis of particle (direct gamma) - jet | |
10 | // (standard jet found with JETAN) correlation | |
11 | // Particle and jet for correlation found by independent algorithms. | |
12 | // For Example direct isolated photon found in AliAnaGammaDirect and the jet with JETAN | |
13 | // | |
14 | //-- Author: Gustavo Conesa (INFN-LNF) | |
15 | ||
16 | // --- ROOT system --- | |
17 | class TH2F; | |
18 | ||
19 | //---- Analysis system ---- | |
1c5acb87 | 20 | #include "AliAnaPartCorrBaseClass.h" |
1c5acb87 | 21 | |
22 | class AliAnaParticleJetFinderCorrelation : public AliAnaPartCorrBaseClass { | |
23 | ||
78219bac | 24 | public: |
c5693f62 | 25 | AliAnaParticleJetFinderCorrelation() ; // default ctor |
26 | virtual ~AliAnaParticleJetFinderCorrelation() {;} // virtual dtor | |
78219bac | 27 | |
c5693f62 | 28 | // General methods |
477d6cee | 29 | |
c5693f62 | 30 | void InitParameters(); |
477d6cee | 31 | |
c5693f62 | 32 | TList * GetCreateOutputObjects(); |
33 | ||
34 | void MakeAnalysisFillAOD() ; | |
477d6cee | 35 | |
c5693f62 | 36 | void MakeAnalysisFillHistograms() ; |
477d6cee | 37 | |
c5693f62 | 38 | Int_t SelectJet(AliAODPWG4Particle * particle, const AliAODEvent * event) const ; |
39 | ||
40 | void Print(const Option_t * opt) const; | |
477d6cee | 41 | |
c5693f62 | 42 | // Settings |
477d6cee | 43 | |
c5693f62 | 44 | Bool_t OnlyIsolated() const { return fSelectIsolated ; } |
45 | void SelectIsolated(Bool_t select) { fSelectIsolated = select ; } | |
477d6cee | 46 | |
c5693f62 | 47 | Float_t GetConeSize() const { return fConeSize ; } |
48 | Float_t GetPtThresholdInCone() const { return fPtThresholdInCone ; } | |
49 | Double_t GetDeltaPhiMaxCut() const { return fDeltaPhiMaxCut ; } | |
50 | Double_t GetDeltaPhiMinCut() const { return fDeltaPhiMinCut ; } | |
51 | Double_t GetRatioMaxCut() const { return fRatioMaxCut ; } | |
52 | Double_t GetRatioMinCut() const { return fRatioMinCut ; } | |
53 | Bool_t AreJetRefTracks() const { return fUseJetRefTracks ; } | |
54 | Bool_t IsCorrelationMadeInHistoMaker() const { return fMakeCorrelationInHistoMaker ; } | |
477d6cee | 55 | |
c5693f62 | 56 | void SetConeSize(Float_t cone) { fConeSize = cone ; } |
57 | void SetPtThresholdInCone(Float_t pt) { fPtThresholdInCone = pt ; } | |
58 | void SetDeltaPhiCutRange(Double_t phimin, Double_t phimax) | |
59 | { fDeltaPhiMaxCut =phimax; fDeltaPhiMinCut =phimin ; } | |
60 | void SetRatioCutRange(Double_t ratiomin, Double_t ratiomax) | |
61 | { fRatioMaxCut =ratiomax; fRatioMinCut = ratiomin ; } | |
62 | void UseJetRefTracks(Bool_t use) { fUseJetRefTracks = use ; } | |
63 | void SetMakeCorrelationInHistoMaker(Bool_t make) { fMakeCorrelationInHistoMaker = make ; } | |
64 | ||
65 | private: | |
66 | ||
477d6cee | 67 | //selection parameters |
c5693f62 | 68 | Double_t fDeltaPhiMaxCut ; //! Minimum Delta Phi Gamma-Leading |
69 | Double_t fDeltaPhiMinCut ; //! Maximum Delta Phi Gamma-Leading | |
70 | Double_t fRatioMaxCut ; //! Jet/ particle Ratio cut maximum | |
71 | Double_t fRatioMinCut ; //! Jet/particle Ratio cut minimum | |
477d6cee | 72 | |
73 | Double_t fConeSize ; //! Jet cone size | |
74 | Double_t fPtThresholdInCone ; //! Jet pT threshold in jet cone | |
c5693f62 | 75 | Bool_t fUseJetRefTracks ; //! Use track references from JETAN not the AOD tracks |
477d6cee | 76 | Bool_t fMakeCorrelationInHistoMaker ; //!Make particle-jet correlation in histogram maker |
c5693f62 | 77 | Bool_t fSelectIsolated ; // Select only trigger particles isolated |
78 | ||
79 | // Histograms | |
80 | TH2F * fhDeltaEta; //! Difference of jet eta and trigger particle eta as function of trigger particle pT | |
81 | TH2F * fhDeltaPhi; //! Difference of jet phi and trigger particle phi as function of trigger particle pT | |
82 | TH2F * fhDeltaPt; //! Difference of jet pT and trigger particle pT as function of trigger particle pT | |
83 | TH2F * fhPtRatio; //! Ratio of jet pT and trigger particle pT as function of trigger particle pT | |
84 | TH2F * fhPt; //! jet pT vs trigger particle pT | |
477d6cee | 85 | |
c5693f62 | 86 | TH2F * fhFFz ; //! Accepted reconstructed jet fragmentation function, z=ptjet/pttrig |
87 | TH2F * fhFFxi; //! Accepted reconstructed jet fragmentation function, xsi = ln(pttrig/ptjet) | |
88 | TH2F * fhFFpt; //! Jet particle pt distribution in cone | |
89 | TH2F * fhNTracksInCone; //! jet multiplicity in cone | |
477d6cee | 90 | |
c5693f62 | 91 | AliAnaParticleJetFinderCorrelation(const AliAnaParticleJetFinderCorrelation & g) ; // cpy ctor |
92 | AliAnaParticleJetFinderCorrelation & operator = (const AliAnaParticleJetFinderCorrelation & g) ; // cpy assignment | |
477d6cee | 93 | |
94 | ClassDef(AliAnaParticleJetFinderCorrelation,2) | |
c5693f62 | 95 | |
1c5acb87 | 96 | } ; |
97 | ||
1c5acb87 | 98 | #endif //ALIANAPARTICLEJETFINDERCORRELATION_H |
99 | ||
100 | ||
101 |