ATLAS Offline Software
corr_HV_EMECPS.h
Go to the documentation of this file.
1 #ifndef CORR_HV_EMECPS_H
2 #define CORR_HV_EMECPS_H
3 #include "TH2D.h"
4 #include "TFile.h"
5 
15 
16  public:
20 
23  float getCorr(int run, float eta, float phi) const;
24 
25  private:
26 
27  // store HV corrections in 2D hist (phi-runnumber) for EMECA and EMECC separately
28  TH2D* m_HV[2]{};
29  TFile* m_file;
30 
31 };
32 #endif
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:64
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
corr_HV_EMECPS::m_file
TFile * m_file
Definition: corr_HV_EMECPS.h:29
corr_HV_EMECPS::m_HV
TH2D * m_HV[2]
Definition: corr_HV_EMECPS.h:28
run
Definition: run.py:1
TH2D
Definition: rootspy.cxx:430
corr_HV_EMECPS::corr_HV_EMECPS
corr_HV_EMECPS()
constructor (initialization done there reading a root file for the HV maps per period
Definition: corr_HV_EMECPS.cxx:16
corr_HV_EMECPS::~corr_HV_EMECPS
~corr_HV_EMECPS()
Definition: corr_HV_EMECPS.cxx:35
corr_HV_EMECPS::getCorr
float getCorr(int run, float eta, float phi) const
get correction factor to apply to raw EMECPS energy : corrected raw EMECPS energy = correction factor...
Definition: corr_HV_EMECPS.cxx:41
corr_HV_EMECPS
Correction for wrong HV EMEC presampler correction for 20.7 processed data (2015,2016)
Definition: corr_HV_EMECPS.h:14