]>
Commit | Line | Data |
---|---|---|
2fbf38ac | 1 | #ifndef ALIANALYSISETRECONSTRUCTED_H |
2 | #define ALIANALYSISETRECONSTRUCTED_H | |
cf6522d1 | 3 | //_________________________________________________________________________ |
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" | |
12 | ||
13 | class AliVParticle; | |
ba136eb4 | 14 | class AliESDEvent; |
964c8159 | 15 | class AliAnalysisHadEtCorrections; |
2fbf38ac | 16 | |
17 | class AliAnalysisEtReconstructed : public AliAnalysisEt | |
18 | { | |
19 | ||
20 | public: | |
21 | ||
22 | AliAnalysisEtReconstructed(); | |
cf6522d1 | 23 | virtual ~AliAnalysisEtReconstructed(); |
24 | ||
2fbf38ac | 25 | virtual Int_t AnalyseEvent(AliVEvent* event); |
26 | ||
27 | virtual void Init(); | |
87efb15c | 28 | |
29 | /** Fill the objects you want to output, classes which add new histograms should overload this. */ | |
30 | virtual void FillOutputList(TList *list); | |
964c8159 | 31 | void SetCorrections(AliAnalysisHadEtCorrections *corr){fCorrections = corr;} |
87efb15c | 32 | |
33 | /** Create the histograms, must be overloaded if you want to add your own */ | |
34 | virtual void CreateHistograms(); | |
2fbf38ac | 35 | |
36 | protected: | |
37 | ||
38 | bool CheckGoodVertex(AliVParticle *track); | |
39 | virtual bool TrackHitsCalorimeter(AliVParticle *track, Double_t magField); | |
964c8159 | 40 | |
41 | AliAnalysisHadEtCorrections *fCorrections;//corrections needed for hadronic et | |
2fbf38ac | 42 | |
cf6522d1 | 43 | Double_t fTrackDistanceCut; // cut on track distance |
87efb15c | 44 | Double_t fPidCut; // cut on the pid probability |
45 | ||
cf6522d1 | 46 | Char_t fClusterType; // selection on cluster type |
ce546038 | 47 | |
48 | TH2F *fHistChargedPionEnergyDeposit; /** Energy deposited in calorimeter by charged pions */ | |
49 | TH2F *fHistProtonEnergyDeposit; /** Energy deposited in calorimeter by protons */ | |
50 | TH2F *fHistAntiProtonEnergyDeposit; /** Energy deposited in calorimeter by anti-protons */ | |
51 | TH2F *fHistChargedKaonEnergyDeposit; /** Energy deposited in calorimeter by charged kaons */ | |
52 | TH2F *fHistMuonEnergyDeposit; /** Energy deposited in calorimeter by muons */ | |
87efb15c | 53 | |
54 | private: | |
55 | ||
56 | AliAnalysisEtReconstructed(const AliAnalysisEtReconstructed& g); | |
57 | AliAnalysisEtReconstructed & operator=(const AliAnalysisEtReconstructed&); | |
58 | ||
ce546038 | 59 | Double_t CalcTrackClusterDistance(const Float_t pos[3],Int_t *trkMatchId, const AliESDEvent *event); |
ba136eb4 | 60 | |
16abb579 | 61 | ClassDef(AliAnalysisEtReconstructed, 1); |
2fbf38ac | 62 | }; |
63 | ||
64 | #endif // ALIANALYSISETRECONSTRUCTED_H |