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