]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG4/PartCorrDep/AliAnaChargedParticles.h
fixing coding violations
[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 */
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)
7cd4e982 16// Root system
477d6cee 17class TH2F;
05d0d05d 18
7cd4e982 19// Analysis system
477d6cee 20#include "AliAnaPartCorrBaseClass.h"
21
22class AliAnaChargedParticles : public AliAnaPartCorrBaseClass {
23
24 public:
477d6cee 25 AliAnaChargedParticles() ; // default ctor
05d0d05d 26 virtual ~AliAnaChargedParticles() { ; } //virtual dtor
78219bac 27 private:
477d6cee 28 AliAnaChargedParticles(const AliAnaChargedParticles & g) ; // cpy ctor
29 AliAnaChargedParticles & operator = (const AliAnaChargedParticles & g) ;//cpy assignment
78219bac 30
31 public:
32
477d6cee 33 TList * GetCreateOutputObjects();
34
05d0d05d 35 void Init();
477d6cee 36
05d0d05d 37 void InitParameters();
477d6cee 38
05d0d05d 39 void Print(const Option_t * opt) const;
477d6cee 40
05d0d05d 41 void MakeAnalysisFillAOD() ;
477d6cee 42
05d0d05d 43 void MakeAnalysisFillHistograms() ;
477d6cee 44
05d0d05d 45 Int_t GetPdgOfSelectedCharged() const { return fPdg ; }
46 void SelectChargedWithPdg( Int_t pdg ) { fPdg = pdg ; }
47
477d6cee 48 private:
49
50 Int_t fPdg ; //identified particle id
05d0d05d 51
477d6cee 52 //Histograms
05d0d05d 53 TH1F * fhNtracks; //! track multiplicity distribution
54 TH1F * fhPt; //! pT distribution
55 TH2F * fhPhiNeg; //! phi distribution vs pT, negative
56 TH2F * fhEtaNeg; //! eta distribution vs pT, negative
57 TH2F * fhPhiPos; //! phi distribution vs pT, positive
58 TH2F * fhEtaPos; //! eta distribution vs pT, positive
59 TH2F * fhEtaPhiPos; //! eta vs phi distribution of positive charge
60 TH2F * fhEtaPhiNeg; //! eta vs phi distribution of negative charge
5025c139 61
477d6cee 62 //MC
05d0d05d 63 TH1F * fhPtPion; //! pT distribution
64 TH2F * fhPhiPion; //! phi distribution vs pT
65 TH2F * fhEtaPion; //! eta distribution vs pT
477d6cee 66
05d0d05d 67 TH1F * fhPtProton; //! pT distribution
68 TH2F * fhPhiProton; //! phi distribution vs pT
69 TH2F * fhEtaProton; //! eta distribution vs pT
477d6cee 70
05d0d05d 71 TH1F * fhPtElectron; //! pT distribution
477d6cee 72 TH2F * fhPhiElectron; //! phi distribution vs pT
73 TH2F * fhEtaElectron; //! eta distribution vs pT
74
05d0d05d 75 TH1F * fhPtKaon; //! pT distribution
76 TH2F * fhPhiKaon; //! phi distribution vs pT
77 TH2F * fhEtaKaon; //! eta distribution vs pT
477d6cee 78
05d0d05d 79 TH1F * fhPtUnknown; //! pT distribution
80 TH2F * fhPhiUnknown; //! phi distribution vs pT
81 TH2F * fhEtaUnknown; //! eta distribution vs pT
477d6cee 82
05d0d05d 83 ClassDef(AliAnaChargedParticles,3)
84
85} ;
477d6cee 86
87
88#endif //ALIANACHARGEDPARTICLES_H
89
90
91