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