]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGLF/totEt/AliAnalysisEtReconstructedPhos.h
ALIROOT-5420 Missing include
[u/mrichter/AliRoot.git] / PWGLF / totEt / AliAnalysisEtReconstructedPhos.h
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
7 //  implementation file
8 //
9 //*-- Authors: Oystein Djuvsland (Bergen), David Silvermyr (ORNL)
10 //_________________________________________________________________________
11
12 #include "AliAnalysisEtReconstructed.h"
13
14
15 class AliAnalysisEtReconstructedPhos : public AliAnalysisEtReconstructed
16 {
17
18 public:
19
20     AliAnalysisEtReconstructedPhos();
21     virtual ~AliAnalysisEtReconstructedPhos();
22
23     virtual void Init();
24
25     void CreateHistograms();
26
27     void SetChargedContributionParameters(Double_t par[3])
28     {
29         fChargedContributionCorrectionParameters[0] = par[0];
30         fChargedContributionCorrectionParameters[1] = par[1];
31         fChargedContributionCorrectionParameters[2] = par[2];
32     }
33     void SetNeutralContributionParameters(Double_t par[3])
34     {
35         fNeutralContributionCorrectionParameters[0] = par[0];
36         fNeutralContributionCorrectionParameters[1] = par[1];
37         fNeutralContributionCorrectionParameters[2] = par[2];
38     }
39     void SetRemovedGammaContributionParameters(Double_t par[3])
40     {
41         fRemovedGammaContributionCorrectionParameters[0] = par[0];
42         fRemovedGammaContributionCorrectionParameters[1] = par[1];
43         fRemovedGammaContributionCorrectionParameters[2] = par[2];
44     }
45     void SetSecondaryContributionParameters(Double_t par[3])
46     {
47         fSecondaryContributionCorrectionParameters[0] = par[0];
48         fSecondaryContributionCorrectionParameters[1] = par[1];
49         fSecondaryContributionCorrectionParameters[2] = par[2];
50     }
51     
52
53 protected:
54
55     virtual bool TrackHitsCalorimeter(AliVParticle *track, Double_t magField);
56
57
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
59     
60 private:
61
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
65
66     Double_t fSecondaryContributionCorrectionParameters[3]; // Parametrization of the positive contribution of secondary particles
67
68
69     ClassDef(AliAnalysisEtReconstructedPhos, 1);
70 };
71
72 #endif // ALIANALYSISETRECONSTRUCTEDPHOS_H