Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CalibFormats
HcalObjects
src
HcalCalibrations.cc
Go to the documentation of this file.
1
#include "
CalibFormats/HcalObjects/interface/HcalCalibrations.h
"
2
#include <cstdlib>
3
12
HcalCalibrations::HcalCalibrations
(
const
float
fGain [4],
const
float
fPedestal [4],
13
const
float
fRespCorr,
const
float
fTimeCorr,
14
const
float
fLUTCorr ) {
15
for
(
size_t
iCap = 0; iCap < 4; ++iCap) {
16
mRespCorrGain
[iCap] = fGain [iCap] * fRespCorr;
17
mPedestal
[iCap] = fPedestal [iCap];
18
}
19
mRespCorr
= fRespCorr;
20
mTimeCorr
= fTimeCorr;
21
mLUTCorr
= fLUTCorr;
22
}
HcalCalibrations.h
HcalCalibrations::mTimeCorr
double mTimeCorr
Definition:
HcalCalibrations.h:31
HcalCalibrations::HcalCalibrations
HcalCalibrations()
Definition:
HcalCalibrations.h:13
HcalCalibrations::mRespCorr
double mRespCorr
Definition:
HcalCalibrations.h:30
HcalCalibrations::mLUTCorr
double mLUTCorr
Definition:
HcalCalibrations.h:32
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.5