CMS 3D CMS Logo

HcalCalibrations.cc
Go to the documentation of this file.
2 #include <cstdlib>
3 
10 HcalCalibrations::HcalCalibrations (const float fGain [4], const float fPedestal [4], const float fEffectivePedestal[4],
11  const float fRespCorr, const float fTimeCorr,
12  const float fLUTCorr ) {
13  for (size_t iCap = 0; iCap < 4; ++iCap) {
14  mRespCorrGain [iCap] = fGain [iCap] * fRespCorr;
15  mPedestal [iCap] = fPedestal [iCap];
16  mEffectivePedestal [iCap] = fEffectivePedestal [iCap];
17  }
18  mRespCorr = fRespCorr;
19  mTimeCorr = fTimeCorr;
20  mLUTCorr = fLUTCorr;
21 }
double mEffectivePedestal[4]
double mRespCorrGain[4]