Main Page
Namespaces
Classes
Package Documentation
CalibFormats
HcalObjects
src
HcalCalibrations.cc
Go to the documentation of this file.
1
#include "
CalibFormats/HcalObjects/interface/HcalCalibrations.h
"
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
}
HcalCalibrations.h
HcalCalibrations::mTimeCorr
double mTimeCorr
Definition:
HcalCalibrations.h:32
HcalCalibrations::mEffectivePedestal
double mEffectivePedestal[4]
Definition:
HcalCalibrations.h:30
HcalCalibrations::HcalCalibrations
HcalCalibrations()
Definition:
HcalCalibrations.h:11
HcalCalibrations::mRespCorr
double mRespCorr
Definition:
HcalCalibrations.h:31
HcalCalibrations::mLUTCorr
double mLUTCorr
Definition:
HcalCalibrations.h:33
HcalCalibrations::mRespCorrGain
double mRespCorrGain[4]
Definition:
HcalCalibrations.h:28
HcalCalibrations::mPedestal
double mPedestal[4]
Definition:
HcalCalibrations.h:29
Generated for CMSSW Reference Manual by
1.8.11