10 double ShortLongCutSlope,
11 double ShortLongCutOffset,
13 : conditions_(conditions) {
24 float shortE =
getE(shortDigi, idx);
25 float longE =
getE(longDigi, idx);
46 shortE +=
getE(short1, idx);
48 shortE +=
getE(short2, idx);
49 if (validShort1 and validShort2)
54 longE +=
getE(long1, idx);
56 longE +=
getE(long2, idx);
57 if (validLong1 and validLong2)
~HcalFeatureHFEMBit() 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
double ShortLongCutOffset_
double ShortLongCutSlope_
HcalFeatureHFEMBit(double ShortMinE, double LongMinE, double ShortLongCutSlope, double ShortLongCutOffset, const HcalDbService &conditions)