totEt cuts into their own proper class
[u/mrichter/AliRoot.git] / PWG4 / totEt / AliAnalysisEtMonteCarloPhos.cxx
CommitLineData
cf6522d1 1//_________________________________________________________________________
2// Utility Class for transverse energy studies
3// Base class for MC analysis, for PHOS
4// - MC output
5// implementation file
6//
7//*-- Authors: Oystein Djuvsland (Bergen), David Silvermyr (ORNL)
8//_________________________________________________________________________
2fbf38ac 9#include "AliAnalysisEtMonteCarloPhos.h"
10#include "AliAnalysisEtCuts.h"
11#include "AliESDtrack.h"
12
13AliAnalysisEtMonteCarloPhos::AliAnalysisEtMonteCarloPhos()
14{
15 fHistogramNameSuffix = TString("PhosMC");
16}
17
cf6522d1 18AliAnalysisEtMonteCarloPhos::~AliAnalysisEtMonteCarloPhos()
19{
20}
21
2fbf38ac 22
23void AliAnalysisEtMonteCarloPhos::Init()
cf6522d1 24{ // Init
4998becf 25 AliAnalysisEtMonteCarlo::Init();
2fbf38ac 26
4998becf 27 fDetectorRadius = fCuts->GetGeometryPhosDetectorRadius();
28 fEtaCutAcc = fCuts->GetGeometryPhosEtaAccCut();
29 fPhiCutAccMax = fCuts->GetGeometryPhosPhiAccMaxCut() * TMath::Pi()/180.;
30 fPhiCutAccMin = fCuts->GetGeometryPhosPhiAccMinCut() * TMath::Pi()/180.;
31 fClusterEnergyCut = fCuts->GetReconstructedPhosClusterEnergyCut();
32 fSingleCellEnergyCut = fCuts->GetReconstructedPhosSingleCellEnergyCut();
2fbf38ac 33
34}