Definition at line 13 of file HcalZSAlgoEnergy.cc.
References HcalQIECoder::charge(), CastorSimpleReconstructor_cfi::firstSample, HcalDbService::getHcalCoder(), HcalDbService::getHcalShape(), HcalDbService::getPedestal(), HcalPedestal::getValue(), createfilelist::int, PFRecoTauDiscriminationByIsolation_cfi::offset, and slope.
19 float pedsum = 0, pedave = 0,
offset = 0,
slope = 0;
21 for (
int j = 0; j < 4; j++) {
static const double slope[3]
float getValue(int fCapId) const
get value for capId = 0..3
const HcalQIECoder * getHcalCoder(const HcalGenericDetId &fId) const
const HcalQIEShape * getHcalShape(const HcalGenericDetId &fId) const
const HcalPedestal * getPedestal(const HcalGenericDetId &fId) const
float charge(const HcalQIEShape &fShape, unsigned fAdc, unsigned fCapId) const
ADC [0..127] + capid [0..3] -> fC conversion.