1 #ifndef ALIANALYSISETRECONSTRUCTEDPHOS_H
2 #define ALIANALYSISETRECONSTRUCTEDPHOS_H
3 //_________________________________________________________________________
4 // Utility Class for transverse energy studies
5 // Base class for ESD analysis, for PHOS
6 // - reconstruction output
9 //*-- Authors: Oystein Djuvsland (Bergen), David Silvermyr (ORNL)
10 //_________________________________________________________________________
12 #include "AliAnalysisEtReconstructed.h"
15 class AliAnalysisEtReconstructedPhos : public AliAnalysisEtReconstructed
20 AliAnalysisEtReconstructedPhos();
21 virtual ~AliAnalysisEtReconstructedPhos();
25 void CreateHistograms();
27 void SetChargedContributionParameters(Double_t par[3])
29 fChargedContributionCorrectionParameters[0] = par[0];
30 fChargedContributionCorrectionParameters[1] = par[1];
31 fChargedContributionCorrectionParameters[2] = par[2];
33 void SetNeutralContributionParameters(Double_t par[3])
35 fNeutralContributionCorrectionParameters[0] = par[0];
36 fNeutralContributionCorrectionParameters[1] = par[1];
37 fNeutralContributionCorrectionParameters[2] = par[2];
39 void SetRemovedGammaContributionParameters(Double_t par[3])
41 fRemovedGammaContributionCorrectionParameters[0] = par[0];
42 fRemovedGammaContributionCorrectionParameters[1] = par[1];
43 fRemovedGammaContributionCorrectionParameters[2] = par[2];
45 void SetSecondaryContributionParameters(Double_t par[3])
47 fSecondaryContributionCorrectionParameters[0] = par[0];
48 fSecondaryContributionCorrectionParameters[1] = par[1];
49 fSecondaryContributionCorrectionParameters[2] = par[2];
55 virtual bool TrackHitsCalorimeter(AliVParticle *track, Double_t magField);
58 virtual Double_t GetCorrectionModification(const AliESDCaloCluster& cluster,Int_t nonLinCorr, Int_t effCorr, Int_t cent);//nonLinCorr 0 = nominal 1 = high -1 = low, effCorr 0 = nominal 1 = high -1 = low
62 Double_t fChargedContributionCorrectionParameters[3]; // Parametrization of the charged contribution as function of cluster multiplicity
63 Double_t fNeutralContributionCorrectionParameters[3]; // Parametrization of the neutral contribution as function of cluster multiplicity
64 Double_t fRemovedGammaContributionCorrectionParameters[3]; // Parametrization of the negative contribution from removed gammas as function of cluster multiplicity
66 Double_t fSecondaryContributionCorrectionParameters[3]; // Parametrization of the positive contribution of secondary particles
69 ClassDef(AliAnalysisEtReconstructedPhos, 1);
72 #endif // ALIANALYSISETRECONSTRUCTEDPHOS_H