coverity fix
[u/mrichter/AliRoot.git] / PWG4 / totEt / AliAnalysisEtReconstructedEmcal.cxx
CommitLineData
cf6522d1 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//_________________________________________________________________________
2fbf38ac 9#include "AliAnalysisEtReconstructedEmcal.h"
10#include "AliAnalysisEtCuts.h"
11#include "AliESDtrack.h"
12
16abb579 13using namespace std;
14
15ClassImp(AliAnalysisEtReconstructedEmcal);
16
17
2fbf38ac 18AliAnalysisEtReconstructedEmcal::AliAnalysisEtReconstructedEmcal() :
19AliAnalysisEtReconstructed()
20{
21 fHistogramNameSuffix = TString("EmcalRec");
22}
23
cf6522d1 24AliAnalysisEtReconstructedEmcal::~AliAnalysisEtReconstructedEmcal()
25{
26}
27
2fbf38ac 28
29void AliAnalysisEtReconstructedEmcal::Init()
cf6522d1 30{ // Init
4998becf 31 AliAnalysisEtReconstructed::Init();
2fbf38ac 32
4998becf 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();
6deef1fa 41 fTrackDistanceCut = fCuts->GetEmcalTrackDistanceCut();
42
43 fDetector = fCuts->GetDetectorEmcal();
2fbf38ac 44
45}
46
47bool AliAnalysisEtReconstructedEmcal::TrackHitsCalorimeter(AliVParticle* track, Double_t magField)
48{
49 return AliAnalysisEtReconstructed::TrackHitsCalorimeter(track, magField);
50}