1 #ifndef HCAL_CALIBRATIONS_H 2 #define HCAL_CALIBRATIONS_H 12 :
mRespCorrGain{0,0,0,0},
mPedestal{0,0,0,0},
mEffectivePedestal{0,0,0,0},
16 const float fEffectivePedestal[4],
const float fRespCorr,
17 const float fTimeCorr,
const float fLUTCorr)
18 :
mRespCorrGain{0,0,0,0},
mPedestal{0,0,0,0},
mEffectivePedestal{0,0,0,0},
20 for (
auto iCap = 0; iCap < 4; ++iCap) {
constexpr double rawgain(int fCapId) const
get raw gain for capid=0..3
constexpr HcalCalibrations(const float fGain[4], const float fPedestal[4], const float fEffectivePedestal[4], const float fRespCorr, const float fTimeCorr, const float fLUTCorr)
constexpr double effpedestal(int fCapId) const
get effective pedestal for capid=0..3
double mEffectivePedestal[4]
constexpr HcalCalibrations()
constexpr double pedestal(int fCapId) const
get pedestal for capid=0..3
constexpr double LUTrespcorrgain(int fCapId) const
get LUT corrected and response corrected gain for capid=0..3
constexpr double timecorr() const
get time correction factor
constexpr double respcorr() const
get response correction factor
constexpr double respcorrgain(int fCapId) const
get response corrected gain for capid=0..3