]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG4/totEt/AliAnalysisEtReconstructedEmcal.cxx
fix warnings
[u/mrichter/AliRoot.git] / PWG4 / totEt / AliAnalysisEtReconstructedEmcal.cxx
1 //_________________________________________________________________________
2 //  Utility Class for transverse energy studies
3 //  Base class for ESD analysis, for EMCAL
4 //  - reconstruction output
5 //  implementation file 
6 //
7 //*-- Authors: Oystein Djuvsland (Bergen), David Silvermyr (ORNL)
8 //_________________________________________________________________________
9 #include "AliAnalysisEtReconstructedEmcal.h"
10 #include "AliAnalysisEtCuts.h"
11 #include "AliESDtrack.h"
12
13 using namespace std;
14
15 ClassImp(AliAnalysisEtReconstructedEmcal);
16
17
18 AliAnalysisEtReconstructedEmcal::AliAnalysisEtReconstructedEmcal() :
19 AliAnalysisEtReconstructed()
20 {
21    fHistogramNameSuffix = TString("EmcalRec");    
22 }
23
24 AliAnalysisEtReconstructedEmcal::~AliAnalysisEtReconstructedEmcal() 
25 {
26 }
27
28
29 void AliAnalysisEtReconstructedEmcal::Init()
30 { // Init
31   AliAnalysisEtReconstructed::Init();
32     
33   fDetectorRadius = fCuts->GetGeometryEmcalDetectorRadius();
34   fEtaCutAcc = fCuts->GetGeometryEmcalEtaAccCut();
35   fPhiCutAccMax = fCuts->GetGeometryEmcalPhiAccMaxCut() * TMath::Pi()/180.;
36   fPhiCutAccMin = fCuts->GetGeometryEmcalPhiAccMinCut() * TMath::Pi()/180.;
37   fClusterEnergyCut = fCuts->GetReconstructedEmcalClusterEnergyCut();
38   fSingleCellEnergyCut = fCuts->GetReconstructedEmcalSingleCellEnergyCut();
39
40   fClusterType = fCuts->GetReconstructedEmcalClusterType();
41   fTrackDistanceCut = fCuts->GetEmcalTrackDistanceCut();
42   
43   fDetector = fCuts->GetDetectorEmcal();
44          
45 }
46
47 bool AliAnalysisEtReconstructedEmcal::TrackHitsCalorimeter(AliVParticle* track, Double_t magField)
48 {
49   return  AliAnalysisEtReconstructed::TrackHitsCalorimeter(track, magField);
50 }