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"
15 class AliAnalysisHadEtCorrections;
17 class AliAnalysisEtReconstructed : public AliAnalysisEt
22 AliAnalysisEtReconstructed();
23 virtual ~AliAnalysisEtReconstructed();
25 virtual Int_t AnalyseEvent(AliVEvent* event);
29 /** Fill the objects you want to output, classes which add new histograms should overload this. */
30 virtual void FillOutputList(TList *list);
31 void SetCorrections(AliAnalysisHadEtCorrections *corr){fCorrections = corr;}
33 /** Create the histograms, must be overloaded if you want to add your own */
34 virtual void CreateHistograms();
38 bool CheckGoodVertex(AliVParticle *track);
39 virtual bool TrackHitsCalorimeter(AliVParticle *track, Double_t magField);
41 AliAnalysisHadEtCorrections *fCorrections;//corrections needed for hadronic et
43 Double_t fPidCut; // cut on the pid probability
45 Char_t fClusterType; // selection on cluster type
47 TH2F *fHistChargedPionEnergyDeposit; /** Energy deposited in calorimeter by charged pions */
48 TH2F *fHistProtonEnergyDeposit; /** Energy deposited in calorimeter by protons */
49 TH2F *fHistAntiProtonEnergyDeposit; /** Energy deposited in calorimeter by anti-protons */
50 TH2F *fHistChargedKaonEnergyDeposit; /** Energy deposited in calorimeter by charged kaons */
51 TH2F *fHistMuonEnergyDeposit; /** Energy deposited in calorimeter by muons */
53 TH1F *fHistRemovedEnergy; // removed energy
55 Double_t fGeomCorrection; // geometry correction
56 Double_t fEMinCorrection; // Emin correction
60 AliAnalysisEtReconstructed(const AliAnalysisEtReconstructed& g);
61 AliAnalysisEtReconstructed & operator=(const AliAnalysisEtReconstructed&);
63 Double_t CalcTrackClusterDistance(const Float_t pos[3],Int_t *trkMatchId, const AliESDEvent *event);
65 ClassDef(AliAnalysisEtReconstructed, 1);
68 #endif // ALIANALYSISETRECONSTRUCTED_H