o First Version of TRDnSigma implementation (Xianguo) o still requires some catching...
[u/mrichter/AliRoot.git] / PWGLF / totEt / AliAnalysisEmEtReconstructed.h
CommitLineData
2e12941b 1#ifndef ALIANALYSISEMETRECONSTRUCTED_H
2#define ALIANALYSISEMETRECONSTRUCTED_H
3//_________________________________________________________________________
4// Utility Class for transverse energy studies
5// Base class for MC analysis
6// - MC output
7//
8//*-- Author: Marcelo G. Munhoz (USP)
9//_________________________________________________________________________
10
11#include "AliAnalysisEtReconstructed.h"
12class TParticle;
13class TParticlePDG;
14class AliESDEvent;
15class AliESDtrack;
16class AliEMCALTrack;
17class TVector3;
18class AliEMCALGeometry;
19class AliExternalTrackParam;
20class AliStack;
21
22class AliAnalysisEmEtReconstructed : public AliAnalysisEtReconstructed
23{
24
25public:
26
27 AliAnalysisEmEtReconstructed();
28 virtual ~AliAnalysisEmEtReconstructed();
29
30 virtual Int_t AnalyseEvent(AliVEvent* event);
31
32 virtual void Init();
33 virtual void ResetEventValues();
34 virtual void CreateHistograms();
35 virtual void FillOutputList(TList* list);
36
37protected:
38
2e12941b 39 Double_t GetTrackPID(const AliESDtrack *track) const;
40
2e12941b 41
42protected:
43
9931205a 44 Double_t fResCut;//track matching residual cut
2e12941b 45
9931205a 46 Double_t fAllRectotETDep;//total ET deposited - all particles
47 Double_t fElectronMatchtotETDep;// total Et deposited - matched electrons
48 Double_t fNeutralRectotET;// total ET - neutral particles
49 Double_t fTotEMRectotET;// total electromagnetic ET
50 Double_t fMuonMatchtotETDep, fPionMatchtotETDep, fKaonMatchtotETDep, fProtonMatchtotETDep;// total ET deposited - hadrons
51 Double_t fTotChargedMatchtotETDep;// total Et deposited - matched chagred particles
52 Double_t fTotalRectotETDep;// total ET deposited
2e12941b 53
c40cbde5 54 AliESDEvent *fESD;//!// ESD object
55/* AliEMCALGeometry *fGeoUt;//!// EMCal geometry object */
2e12941b 56
57 // *******************
58 // all ET
59 // *******************
c40cbde5 60 THnSparseF* fHistAllRecETDep;//!// ET deposited - all particles
61 THnSparseF* fHistAllRec;//!// mutliplicity - all particles
62 TH1F *fHistAllRectotETDep;//!// total ET deposited - all particles
2e12941b 63
64 // *******************
65 // electron ET reconstructed in EMCal
66 // *******************
c40cbde5 67 THnSparseF* fHistElectronRecETDep;//!// Et deposited - matched electrons
68 THnSparseF* fHistElectronRec;//!// multiplicity - matched electrons
69 TH1F *fHistElectronMatchtotETDep;//!// total Et deposited - matched electrons
2e12941b 70
c40cbde5 71 TH2F *fHistElectronRecdEdxP;//!// electron dEdx vs p
2e12941b 72
73 // *******************
74 // Neutral ET reconstructed in EMCal
75 // *******************
c40cbde5 76 TH1F *fHistNeutralRectotET;//!// total ET - neutral particles
2e12941b 77
78 // *******************
79 // total EM ET reconstructed in EMCal
80 // *******************
c40cbde5 81 TH1F *fHistTotEMRectotET;//!// total electromagnetic ET
2e12941b 82
83 // *******************
84 // muon ET (+ and -)
85 // *******************
c40cbde5 86 THnSparseF* fHistMuonRecETDep;//!// Et deposited
87 THnSparseF* fHistMuonRec;//!// multiplicity
88 TH1F *fHistMuonMatchtotETDep;//!// total Et deposited
2e12941b 89
c40cbde5 90 TH2F *fHistMuonRecdEdxP;//!// dEdx vs p
2e12941b 91
92 // *******************
93 // pion ET (+ and -)
94 // *******************
c40cbde5 95 THnSparseF* fHistPionRecETDep;//!// Et deposited
96 THnSparseF* fHistPionRec;//!// multiplicity
97 TH1F *fHistPionMatchtotETDep;//!// total Et deposited
2e12941b 98
c40cbde5 99 TH2F *fHistPionRecdEdxP;//!// dEdx vs p
2e12941b 100
101 // *******************
102 // charged kaon (+ and -) ET
103 // *******************
c40cbde5 104 THnSparseF* fHistKaonRecETDep;//!// Et deposited
105 THnSparseF* fHistKaonRec;//!// multiplicity
106 TH1F *fHistKaonMatchtotETDep;//!// total Et deposited
2e12941b 107
c40cbde5 108 TH2F *fHistKaonRecdEdxP;//!// dEdx vs p
2e12941b 109
110 // *******************
111 // proton (anti) ET
112 // *******************
c40cbde5 113 THnSparseF* fHistProtonRecETDep;//!// Et deposited
114 THnSparseF* fHistProtonRec;//!// multiplicity
115 TH1F *fHistProtonMatchtotETDep;//!// total Et deposited
2e12941b 116
c40cbde5 117 TH2F *fHistProtonRecdEdxP;//!// dEdx vs p
2e12941b 118
119 // *******************
120 // total charged ET
121 // *******************
c40cbde5 122 TH1F *fHistTotChargedMatchtotETDep;//!// total Et deposited - all charged particles
2e12941b 123
124 // *******************
125 // total ET
126 // *******************
c40cbde5 127 TH1F *fHistTotalRectotETDep;//!// total Et deposited - all particles
2e12941b 128
129 //few checks
c40cbde5 130 TH2F *fHistDeltaRZ;//!// track-cluster matching residual
2e12941b 131
132 private:
133 //Declare it private to avoid compilation warning
134 AliAnalysisEmEtReconstructed & operator = (const AliAnalysisEmEtReconstructed & g) ;//cpy assignment
135 AliAnalysisEmEtReconstructed(const AliAnalysisEmEtReconstructed & g) ; // cpy ctor
136 ClassDef(AliAnalysisEmEtReconstructed, 1);
137};
138
139#endif // ALIANALYSISEMETRECONSTRUCTED