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