]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG4/PartCorrDep/AliAnaChargedParticles.h
debug jets above 10 GeV
[u/mrichter/AliRoot.git] / PWG4 / PartCorrDep / AliAnaChargedParticles.h
1 #ifndef ALIANACHARGEDPARTICLES_H
2 #define ALIANACHARGEDPARTICLES_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 // Example class on how to read AODCaloClusters, ESDCaloCells and AODTracks and how 
9 // fill AODs with PWG4PartCorr analysis frame
10 // Select the type of detector information that you want to analyze, CTS (tracking), PHOS or EMCAL
11 // Select the PID custer type of the calorimeters
12 // Set min momentum of the cluster/tracks
13 // Fill few histograms
14 //
15 //-- Author: Gustavo Conesa (INFN-LNF)
16 // Root system
17 class TH2F; 
18
19 // Analysis system
20 #include "AliAnaPartCorrBaseClass.h"
21  
22 class AliAnaChargedParticles : public AliAnaPartCorrBaseClass {
23   
24  public: 
25   
26   AliAnaChargedParticles() ; // default ctor
27   AliAnaChargedParticles(const AliAnaChargedParticles & g) ; // cpy ctor
28   AliAnaChargedParticles & operator = (const AliAnaChargedParticles & g) ;//cpy assignment
29   virtual ~AliAnaChargedParticles() {;} //virtual dtor
30   
31   TList * GetCreateOutputObjects();
32   
33   void Init();
34   void InitParameters();
35   
36   void Print(const Option_t * opt) const;
37   
38   void MakeAnalysisFillAOD()  ;
39   
40   void MakeAnalysisFillHistograms() ; 
41   
42   Int_t GetPdgOfSelectedCharged() const {return fPdg ;}
43   void SelectChargedWithPdg( Int_t pdg ) {fPdg = pdg; }
44   
45   //void Terminate();
46   
47  private:
48   
49   Int_t  fPdg ; //identified particle id
50   //Histograms 
51   TH1F * fhPt; //! pT distribution
52   TH2F * fhPhi; //! phi distribution vs pT
53   TH2F * fhEta; //! eta distribution vs pT
54   
55   //MC
56   TH1F * fhPtPion; //! pT distribution
57   TH2F * fhPhiPion; //! phi distribution vs pT
58   TH2F * fhEtaPion; //! eta distribution vs pT
59   
60   TH1F * fhPtProton; //! pT distribution
61   TH2F * fhPhiProton; //! phi distribution vs pT
62   TH2F * fhEtaProton; //! eta distribution vs pT
63   
64   TH1F * fhPtElectron; //! pT distribution
65   TH2F * fhPhiElectron; //! phi distribution vs pT
66   TH2F * fhEtaElectron; //! eta distribution vs pT
67   
68   TH1F * fhPtKaon; //! pT distribution
69   TH2F * fhPhiKaon; //! phi distribution vs pT
70   TH2F * fhEtaKaon; //! eta distribution vs pT
71   
72   TH1F * fhPtUnknown; //! pT distribution
73   TH2F * fhPhiUnknown; //! phi distribution vs pT
74   TH2F * fhEtaUnknown; //! eta distribution vs pT
75   
76   ClassDef(AliAnaChargedParticles,1)
77     } ;
78
79
80 #endif //ALIANACHARGEDPARTICLES_H
81
82
83