]>
Commit | Line | Data |
---|---|---|
2fbf38ac | 1 | #ifndef ALIANALYSISETRECONSTRUCTED_H |
2 | #define ALIANALYSISETRECONSTRUCTED_H | |
f61cec2f | 3 | //_________________________________________________________________________ |
cf6522d1 | 4 | // Utility Class for transverse energy studies |
5 | // Base class for ESD analysis | |
6 | // - reconstruction output | |
7 | // | |
8 | //*-- Authors: Oystein Djuvsland (Bergen), David Silvermyr (ORNL) | |
9 | //_________________________________________________________________________ | |
2fbf38ac | 10 | |
11 | #include "AliAnalysisEt.h" | |
4d376d01 | 12 | class TH2F; |
09fcb185 | 13 | class TH3F; |
4d376d01 | 14 | class TH2D; |
ef647350 | 15 | class TH2I; |
2fbf38ac | 16 | class AliVParticle; |
ba136eb4 | 17 | class AliESDEvent; |
964c8159 | 18 | class AliAnalysisHadEtCorrections; |
2fbf38ac | 19 | |
20 | class AliAnalysisEtReconstructed : public AliAnalysisEt | |
21 | { | |
22 | ||
23 | public: | |
ef647350 | 24 | |
2fbf38ac | 25 | AliAnalysisEtReconstructed(); |
cf6522d1 | 26 | virtual ~AliAnalysisEtReconstructed(); |
27 | ||
2fbf38ac | 28 | virtual Int_t AnalyseEvent(AliVEvent* event); |
29 | ||
30 | virtual void Init(); | |
87efb15c | 31 | |
32 | /** Fill the objects you want to output, classes which add new histograms should overload this. */ | |
33 | virtual void FillOutputList(TList *list); | |
ef647350 | 34 | void SetCorrections(AliAnalysisHadEtCorrections *corr) { |
35 | fCorrections = corr; | |
36 | } | |
87efb15c | 37 | |
38 | /** Create the histograms, must be overloaded if you want to add your own */ | |
39 | virtual void CreateHistograms(); | |
2fbf38ac | 40 | |
ef647350 | 41 | void SetEMinCorrection(const Double_t factor) { fEMinCorrection = factor; } |
42 | ||
2fbf38ac | 43 | protected: |
44 | ||
45 | bool CheckGoodVertex(AliVParticle *track); | |
46 | virtual bool TrackHitsCalorimeter(AliVParticle *track, Double_t magField); | |
964c8159 | 47 | |
48 | AliAnalysisHadEtCorrections *fCorrections;//corrections needed for hadronic et | |
2fbf38ac | 49 | |
87efb15c | 50 | Double_t fPidCut; // cut on the pid probability |
ef647350 | 51 | |
52 | TH2F *fHistChargedPionEnergyDeposit; /** Energy deposited in calorimeter by charged pions */ | |
53 | TH2F *fHistProtonEnergyDeposit; /** Energy deposited in calorimeter by protons */ | |
54 | TH2F *fHistAntiProtonEnergyDeposit; /** Energy deposited in calorimeter by anti-protons */ | |
55 | TH2F *fHistChargedKaonEnergyDeposit; /** Energy deposited in calorimeter by charged kaons */ | |
ce546038 | 56 | TH2F *fHistMuonEnergyDeposit; /** Energy deposited in calorimeter by muons */ |
e9da35da | 57 | |
3825c7d6 | 58 | TH1F *fHistRemovedEnergy; // removed energy |
ef647350 | 59 | |
3825c7d6 | 60 | Double_t fGeomCorrection; // geometry correction |
61 | Double_t fEMinCorrection; // Emin correction | |
87efb15c | 62 | |
ef647350 | 63 | Double_t fRecEffCorrection; // Eff correction |
ef647350 | 64 | |
ef647350 | 65 | TH2D *fClusterPosition; // Position of clusters |
fa8489d6 | 66 | TH1F *fClusterEnergy; // Distribution of cluster energies |
67 | TH1F *fClusterEt; // Distribution of cluster energies | |
87efb15c | 68 | |
4d376d01 | 69 | TH2D *fHistChargedEnergyRemoved; // Charged energy removed |
70 | TH2D *fHistNeutralEnergyRemoved; // Neutral energy removed | |
71 | TH2D *fHistGammaEnergyAdded; // gamma energy added | |
09fcb185 | 72 | |
73 | TH3F *fHistMatchedTracksEvspTvsMult; | |
ef647350 | 74 | |
75 | private: | |
76 | ||
87efb15c | 77 | AliAnalysisEtReconstructed(const AliAnalysisEtReconstructed& g); |
78 | AliAnalysisEtReconstructed & operator=(const AliAnalysisEtReconstructed&); | |
ef647350 | 79 | |
80 | ||
ba136eb4 | 81 | |
16abb579 | 82 | ClassDef(AliAnalysisEtReconstructed, 1); |
2fbf38ac | 83 | }; |
84 | ||
85 | #endif // ALIANALYSISETRECONSTRUCTED_H |