]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG4/totEt/AliAnalysisEtReconstructedPhos.cxx
- added tree for study of energy deposit of charged particles
[u/mrichter/AliRoot.git] / PWG4 / totEt / AliAnalysisEtReconstructedPhos.cxx
CommitLineData
cf6522d1 1//_________________________________________________________________________
2// Utility Class for transverse energy studies
3// Base class for ESD analysis, for PHOS
4// - reconstruction output
5// implementation file
6//
7//*-- Authors: Oystein Djuvsland (Bergen), David Silvermyr (ORNL)
8//_________________________________________________________________________
2fbf38ac 9#include "AliAnalysisEtReconstructedPhos.h"
10#include "AliAnalysisEtCuts.h"
11#include "AliESDtrack.h"
12
16abb579 13using namespace std;
14
15ClassImp(AliAnalysisEtReconstructedPhos);
16
17
2fbf38ac 18AliAnalysisEtReconstructedPhos::AliAnalysisEtReconstructedPhos() :
19AliAnalysisEtReconstructed()
20{
21 fHistogramNameSuffix = TString("PhosRec");
22}
23
cf6522d1 24AliAnalysisEtReconstructedPhos::~AliAnalysisEtReconstructedPhos()
25{
26}
2fbf38ac 27
28void AliAnalysisEtReconstructedPhos::Init()
cf6522d1 29{ // Init
4998becf 30 AliAnalysisEtReconstructed::Init();
2fbf38ac 31
4998becf 32 fDetectorRadius = fCuts->GetGeometryPhosDetectorRadius();
33 fEtaCutAcc = fCuts->GetGeometryPhosEtaAccCut();
34 fPhiCutAccMax = fCuts->GetGeometryPhosPhiAccMaxCut() * TMath::Pi()/180.;
35 fPhiCutAccMin = fCuts->GetGeometryPhosPhiAccMinCut() * TMath::Pi()/180.;
36 fClusterEnergyCut = fCuts->GetReconstructedPhosClusterEnergyCut();
37 fSingleCellEnergyCut = fCuts->GetReconstructedPhosSingleCellEnergyCut();
8ea99ab0 38
4998becf 39 fClusterType = fCuts->GetReconstructedPhosClusterType();
40 fTrackDistanceCut = fCuts->GetReconstructedPhosTrackDistanceCut();
41
2fbf38ac 42}
43
44bool AliAnalysisEtReconstructedPhos::TrackHitsCalorimeter(AliVParticle* track, Double_t magField)
45{
46 return AliAnalysisEtReconstructed::TrackHitsCalorimeter(track, magField);
47}
48