1 #ifndef SimCalorimetry_HcalTPGAlgos_interface_HcalFeatureHFEMBit_h_included 2 #define SimCalorimetry_HcalTPGAlgos_interface_HcalFeatureHFEMBit_h_included 1 23 int idx)
const override;
27 int idx)
const override;
30 float getE(
const T&
f,
int idx)
const;
49 auto ped = calibrations.effpedestal(f[idx].capid());
50 auto corr = calibrations.respcorrgain(f[idx].capid());
52 return (samples[idx] - ped) *
corr;
~HcalFeatureHFEMBit() override
void adc2fC(const HBHEDataFrame &df, CaloSamples &lf) const override
float getE(const T &f, int idx) const
const HcalDbService & conditions_
bool fineGrainbit(const QIE10DataFrame &short1, const QIE10DataFrame &short2, const QIE10DataFrame &long1, const QIE10DataFrame &long2, bool validShort1, bool validShort2, bool validLong1, bool validLong2, int idx) const override
const HcalQIECoder * getHcalCoder(const HcalGenericDetId &fId) const
const HcalQIEShape * getHcalShape(const HcalGenericDetId &fId) const
double ShortLongCutOffset_
const HcalCalibrations & getHcalCalibrations(const HcalGenericDetId &fId) const
double ShortLongCutSlope_
HcalFeatureHFEMBit(double ShortMinE, double LongMinE, double ShortLongCutSlope, double ShortLongCutOffset, const HcalDbService &conditions)