ATLAS Offline Software
corr_pileupShift.h
Go to the documentation of this file.
1 #ifndef CORR_PILEUPHIFT_H
2 #define CORR_PILEUPHIFT_H
3 #include "TH1D.h"
4 #include "TFile.h"
5 
6 
14 
15  public:
19 
22  float getCorr(int layer, int run, float mu, float eta) const;
23 
24  private:
25 
26  // run range to apply the correction: 2016 data 296939 to 311563
28 
29  // store corrections/mu vs eta per layer
30  TH1D* m_haverage[4]{};
31  TFile* m_file;
32 
33 };
34 #endif
corr_pileupShift::m_runMax
int m_runMax
Definition: corr_pileupShift.h:27
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
corr_pileupShift
Correction for pileup induced energy shit as function of mu per layer for 2016 data.
Definition: corr_pileupShift.h:13
corr_pileupShift::getCorr
float getCorr(int layer, int run, float mu, float eta) const
get shift to subtract to raw layer energy : corrected layer energy = raw energy - shift
Definition: corr_pileupShift.cxx:37
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
run
Definition: run.py:1
corr_pileupShift::~corr_pileupShift
~corr_pileupShift()
Definition: corr_pileupShift.cxx:31
corr_pileupShift::corr_pileupShift
corr_pileupShift()
constructor (initialization done there reading a root file for the HV maps per period
Definition: corr_pileupShift.cxx:9
corr_pileupShift::m_runMin
int m_runMin
Definition: corr_pileupShift.h:27
corr_pileupShift::m_haverage
TH1D * m_haverage[4]
Definition: corr_pileupShift.h:30
CaloNoise_fillDB.mu
mu
Definition: CaloNoise_fillDB.py:53
corr_pileupShift::m_file
TFile * m_file
Definition: corr_pileupShift.h:31