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 */
6 //_________________________________________________________________________
7 // Example class on how to read AODCaloClusters, ESDCaloCells and AODTracks and how
8 // fill AODs with PWG4CaloTrackCorr analysis frame
9 // Select the type of detector information that you want to analyze, CTS (tracking), PHOS or EMCAL
10 // Select the PID custer type of the calorimeters
11 // Set min momentum of the cluster/tracks
12 // Fill few histograms
14 //-- Author: Gustavo Conesa (INFN-LNF)
19 #include "AliAnaCaloTrackCorrBaseClass.h"
21 class AliAnaChargedParticles : public AliAnaCaloTrackCorrBaseClass {
24 AliAnaChargedParticles() ; // default ctor
25 virtual ~AliAnaChargedParticles() { ; } //virtual dtor
27 TList * GetCreateOutputObjects();
31 void InitParameters();
33 void Print(const Option_t * opt) const;
35 void MakeAnalysisFillAOD() ;
37 void MakeAnalysisFillHistograms() ;
39 Int_t GetPdgOfSelectedCharged() const { return fPdg ; }
40 void SelectChargedWithPdg( Int_t pdg ) { fPdg = pdg ; }
44 Int_t fPdg ; //identified particle id
47 TH1F * fhNtracks; //! track multiplicity distribution
48 TH1F * fhPt; //! pT distribution
49 TH2F * fhPhiNeg; //! phi distribution vs pT, negative
50 TH2F * fhEtaNeg; //! eta distribution vs pT, negative
51 TH2F * fhPhiPos; //! phi distribution vs pT, positive
52 TH2F * fhEtaPos; //! eta distribution vs pT, positive
53 TH2F * fhEtaPhiPos; //! eta vs phi distribution of positive charge
54 TH2F * fhEtaPhiNeg; //! eta vs phi distribution of negative charge
57 TH1F * fhPtPion; //! pT distribution
58 TH2F * fhPhiPion; //! phi distribution vs pT
59 TH2F * fhEtaPion; //! eta distribution vs pT
61 TH1F * fhPtProton; //! pT distribution
62 TH2F * fhPhiProton; //! phi distribution vs pT
63 TH2F * fhEtaProton; //! eta distribution vs pT
65 TH1F * fhPtElectron; //! pT distribution
66 TH2F * fhPhiElectron; //! phi distribution vs pT
67 TH2F * fhEtaElectron; //! eta distribution vs pT
69 TH1F * fhPtKaon; //! pT distribution
70 TH2F * fhPhiKaon; //! phi distribution vs pT
71 TH2F * fhEtaKaon; //! eta distribution vs pT
73 TH1F * fhPtUnknown; //! pT distribution
74 TH2F * fhPhiUnknown; //! phi distribution vs pT
75 TH2F * fhEtaUnknown; //! eta distribution vs pT
77 AliAnaChargedParticles(const AliAnaChargedParticles & g) ; // cpy ctor
78 AliAnaChargedParticles & operator = (const AliAnaChargedParticles & g) ;//cpy assignment
80 ClassDef(AliAnaChargedParticles,3)
85 #endif //ALIANACHARGEDPARTICLES_H