diff --git a/SimCalorimetry/HcalTrigPrimAlgos/src/HcalTriggerPrimitiveAlgo.cc b/SimCalorimetry/HcalTrigPrimAlgos/src/HcalTriggerPrimitiveAlgo.cc index 8648c370ca5d4..3480ea4c2a5d2 100644 --- a/SimCalorimetry/HcalTrigPrimAlgos/src/HcalTriggerPrimitiveAlgo.cc +++ b/SimCalorimetry/HcalTrigPrimAlgos/src/HcalTriggerPrimitiveAlgo.cc @@ -526,7 +526,7 @@ HcalTriggerPrimitiveAlgo::validChannel(const QIE10DataFrame& digi, int ts) const if (digi[ts].adc() < adc_threshold) return true; - return (1ul << (digi[ts].le_tdc() - 1)) & tdc_mask; + return (1ul << digi[ts].le_tdc()) & tdc_mask; } void HcalTriggerPrimitiveAlgo::analyzeHF2017(