]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG4/totEt/AliAnalysisEtReconstructed.h
add option to make a summary tree; get collision geometry info for Hijing events...
[u/mrichter/AliRoot.git] / PWG4 / totEt / AliAnalysisEtReconstructed.h
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
7 //
8 //*-- Authors: Oystein Djuvsland (Bergen), David Silvermyr (ORNL)
9 //_________________________________________________________________________
10
11 #include "AliAnalysisEt.h"
12
13 class AliVParticle;
14 class AliESDEvent;
15
16 class AliAnalysisEtReconstructed : public AliAnalysisEt
17 {
18
19 public:
20    
21     AliAnalysisEtReconstructed();
22     virtual ~AliAnalysisEtReconstructed();
23
24     virtual Int_t AnalyseEvent(AliVEvent* event);
25
26     virtual void Init();
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();
33     
34 protected:
35
36     bool CheckGoodVertex(AliVParticle *track);
37     virtual bool TrackHitsCalorimeter(AliVParticle *track, Double_t magField);
38
39     Double_t fTrackDistanceCut; // cut on track distance    
40     Double_t fPidCut; // cut on the pid probability
41     
42     Char_t fClusterType; // selection on cluster type
43         
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 */
49     
50   private:
51     
52     AliAnalysisEtReconstructed(const AliAnalysisEtReconstructed& g);
53     AliAnalysisEtReconstructed & operator=(const AliAnalysisEtReconstructed&);
54     
55     Double_t CalcTrackClusterDistance(const Float_t pos[3],Int_t *trkMatchId, const AliESDEvent *event);
56
57 };
58
59 #endif // ALIANALYSISETRECONSTRUCTED_H