1 #ifndef SimCalorimetry_HcalTPGAlgos_interface_HcalFeatureHFEMBit_h_included
2 #define SimCalorimetry_HcalTPGAlgos_interface_HcalFeatureHFEMBit_h_included 1
12 double ShortLongCutSlope,
13 double ShortLongCutOffset,
26 int idx)
const override;
31 float getE(
const T&
f,
int idx)
const;
48 auto ped = calibrations.effpedestal(f[idx].capid());
49 auto corr = calibrations.respcorrgain(f[idx].capid());
51 return (samples[idx] - ped) *
corr;
~HcalFeatureHFEMBit() override
uint16_t *__restrict__ id
void adc2fC(const HBHEDataFrame &df, CaloSamples &lf) const override
float getE(const T &f, int idx) const
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 HcalDbService & conditions_
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)