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
10
HcalCalibrations::HcalCalibrations
(
const
float
fGain [4],
const
float
fPedestal [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
}
17
mRespCorr
= fRespCorr;
18
mTimeCorr
= fTimeCorr;
19
mLUTCorr
= fLUTCorr;
20
}
HcalCalibrations.h
HcalCalibrations::mTimeCorr
double mTimeCorr
Definition:
HcalCalibrations.h:29
HcalCalibrations::HcalCalibrations
HcalCalibrations()
Definition:
HcalCalibrations.h:11
HcalCalibrations::mRespCorr
double mRespCorr
Definition:
HcalCalibrations.h:28
HcalCalibrations::mLUTCorr
double mLUTCorr
Definition:
HcalCalibrations.h:30
HcalCalibrations::mRespCorrGain
double mRespCorrGain[4]
Definition:
HcalCalibrations.h:26
HcalCalibrations::mPedestal
double mPedestal[4]
Definition:
HcalCalibrations.h:27
Generated for CMSSW Reference Manual by
1.8.5