]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGGA/CaloTrackCorrelations/AliAnaChargedParticles.h
Add histogram NLM vs fraction E gen /reco, other fixes
[u/mrichter/AliRoot.git] / PWGGA / CaloTrackCorrelations / 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
6 //_________________________________________________________________________
7 //
8 // Class for track selection and identification (not done now)
9 // Tracks from the CTS are kept in the AOD.
10 // Few histograms produced.
11 //
12 //-- Author: Gustavo Conesa (INFN-LNF)
13
14 // Root system
15 class TH2F; 
16
17 // Analysis system
18 #include "AliAnaCaloTrackCorrBaseClass.h"
19  
20 class AliAnaChargedParticles : public AliAnaCaloTrackCorrBaseClass {
21   
22  public: 
23   AliAnaChargedParticles() ; // default ctor
24   virtual ~AliAnaChargedParticles() { ; } //virtual dtor
25
26   TList * GetCreateOutputObjects();
27   
28   void    Init();
29   
30   void    InitParameters();
31   
32   void    Print(const Option_t * opt) const;
33   
34   void    MakeAnalysisFillAOD()  ;
35   
36   void    MakeAnalysisFillHistograms() ; 
37   
38   Int_t   GetPdgOfSelectedCharged()  const  { return fPdg ; }
39   void    SelectChargedWithPdg( Int_t pdg ) { fPdg = pdg  ; }
40     
41  private:
42   
43   Int_t  fPdg ; //identified particle id
44   
45   //Histograms 
46   TH1F * fhNtracks;     //! track multiplicity distribution
47   TH1F * fhPt;          //! pT distribution
48   TH2F * fhPhiNeg;      //! phi distribution vs pT, negative
49   TH2F * fhEtaNeg;      //! eta distribution vs pT, negative
50   TH2F * fhPhiPos;      //! phi distribution vs pT, positive
51   TH2F * fhEtaPos;      //! eta distribution vs pT, positive
52   TH2F * fhEtaPhiPos;   //! eta vs phi distribution of positive charge  
53   TH2F * fhEtaPhiNeg;   //! eta vs phi distribution of negative charge  
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   AliAnaChargedParticles(              const AliAnaChargedParticles & ch) ; // cpy ctor
77   AliAnaChargedParticles & operator = (const AliAnaChargedParticles & ch) ; // cpy assignment
78   
79   ClassDef(AliAnaChargedParticles,3)
80
81 } ;
82
83
84 #endif //ALIANACHARGEDPARTICLES_H
85
86
87