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