]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGGA/CaloTrackCorrelations/AliAnaChargedParticles.h
Update Cuts
[u/mrichter/AliRoot.git] / PWGGA / CaloTrackCorrelations / AliAnaChargedParticles.h
CommitLineData
477d6cee 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 */
477d6cee 5
6//_________________________________________________________________________
34c16486 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.
477d6cee 11//
12//-- Author: Gustavo Conesa (INFN-LNF)
34c16486 13
7cd4e982 14// Root system
477d6cee 15class TH2F;
05d0d05d 16
7cd4e982 17// Analysis system
745913ae 18#include "AliAnaCaloTrackCorrBaseClass.h"
477d6cee 19
745913ae 20class AliAnaChargedParticles : public AliAnaCaloTrackCorrBaseClass {
477d6cee 21
22 public:
477d6cee 23 AliAnaChargedParticles() ; // default ctor
05d0d05d 24 virtual ~AliAnaChargedParticles() { ; } //virtual dtor
78219bac 25
477d6cee 26 TList * GetCreateOutputObjects();
27
05d0d05d 28 void Init();
477d6cee 29
05d0d05d 30 void InitParameters();
477d6cee 31
05d0d05d 32 void Print(const Option_t * opt) const;
477d6cee 33
05d0d05d 34 void MakeAnalysisFillAOD() ;
477d6cee 35
05d0d05d 36 void MakeAnalysisFillHistograms() ;
477d6cee 37
05d0d05d 38 Int_t GetPdgOfSelectedCharged() const { return fPdg ; }
39 void SelectChargedWithPdg( Int_t pdg ) { fPdg = pdg ; }
40
477d6cee 41 private:
42
43 Int_t fPdg ; //identified particle id
05d0d05d 44
477d6cee 45 //Histograms
05d0d05d 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
5025c139 54
477d6cee 55 //MC
05d0d05d 56 TH1F * fhPtPion; //! pT distribution
57 TH2F * fhPhiPion; //! phi distribution vs pT
58 TH2F * fhEtaPion; //! eta distribution vs pT
477d6cee 59
05d0d05d 60 TH1F * fhPtProton; //! pT distribution
61 TH2F * fhPhiProton; //! phi distribution vs pT
62 TH2F * fhEtaProton; //! eta distribution vs pT
477d6cee 63
05d0d05d 64 TH1F * fhPtElectron; //! pT distribution
477d6cee 65 TH2F * fhPhiElectron; //! phi distribution vs pT
66 TH2F * fhEtaElectron; //! eta distribution vs pT
67
05d0d05d 68 TH1F * fhPtKaon; //! pT distribution
69 TH2F * fhPhiKaon; //! phi distribution vs pT
70 TH2F * fhEtaKaon; //! eta distribution vs pT
477d6cee 71
05d0d05d 72 TH1F * fhPtUnknown; //! pT distribution
73 TH2F * fhPhiUnknown; //! phi distribution vs pT
74 TH2F * fhEtaUnknown; //! eta distribution vs pT
477d6cee 75
34c16486 76 AliAnaChargedParticles( const AliAnaChargedParticles & ch) ; // cpy ctor
77 AliAnaChargedParticles & operator = (const AliAnaChargedParticles & ch) ; // cpy assignment
c5693f62 78
05d0d05d 79 ClassDef(AliAnaChargedParticles,3)
80
81} ;
477d6cee 82
83
84#endif //ALIANACHARGEDPARTICLES_H
85
86
87