1 #ifndef ALIANALYSISETRECONSTRUCTED_H
2 #define ALIANALYSISETRECONSTRUCTED_H
3 //_________________________________________________________________________
4 // Utility Class for transverse energy studies
5 // Base class for ESD analysis
6 // - reconstruction output
8 //*-- Authors: Oystein Djuvsland (Bergen), David Silvermyr (ORNL)
9 //_________________________________________________________________________
11 #include "AliAnalysisEt.h"
16 class AliAnalysisEtReconstructed : public AliAnalysisEt
21 AliAnalysisEtReconstructed();
22 virtual ~AliAnalysisEtReconstructed();
24 virtual Int_t AnalyseEvent(AliVEvent* event);
28 /** Fill the objects you want to output, classes which add new histograms should overload this. */
29 virtual void FillOutputList(TList *list);
31 /** Create the histograms, must be overloaded if you want to add your own */
32 virtual void CreateHistograms();
36 bool CheckGoodVertex(AliVParticle *track);
37 virtual bool TrackHitsCalorimeter(AliVParticle *track, Double_t magField);
39 Double_t fTrackDistanceCut; // cut on track distance
40 Double_t fPidCut; // cut on the pid probability
42 Char_t fClusterType; // selection on cluster type
44 TH2F *fHistChargedPionEnergyDeposit; /** Energy deposited in calorimeter by charged pions */
45 TH2F *fHistProtonEnergyDeposit; /** Energy deposited in calorimeter by protons */
46 TH2F *fHistAntiProtonEnergyDeposit; /** Energy deposited in calorimeter by anti-protons */
47 TH2F *fHistChargedKaonEnergyDeposit; /** Energy deposited in calorimeter by charged kaons */
48 TH2F *fHistMuonEnergyDeposit; /** Energy deposited in calorimeter by muons */
52 AliAnalysisEtReconstructed(const AliAnalysisEtReconstructed& g);
53 AliAnalysisEtReconstructed & operator=(const AliAnalysisEtReconstructed&);
55 Double_t CalcTrackClusterDistance(const Float_t pos[3],Int_t *trkMatchId, const AliESDEvent *event);
59 #endif // ALIANALYSISETRECONSTRUCTED_H