From 8909d464a16ff426bd7c9247b299f9784109a414 Mon Sep 17 00:00:00 2001 From: Taeun_Kwon Date: Fri, 22 Apr 2022 11:02:53 -0500 Subject: [PATCH] TP bug fix --- .../HcalTrigPrimAlgos/src/HcalTriggerPrimitiveAlgo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SimCalorimetry/HcalTrigPrimAlgos/src/HcalTriggerPrimitiveAlgo.cc b/SimCalorimetry/HcalTrigPrimAlgos/src/HcalTriggerPrimitiveAlgo.cc index 812f0ed3efa95..ba1ee8b22968c 100644 --- a/SimCalorimetry/HcalTrigPrimAlgos/src/HcalTriggerPrimitiveAlgo.cc +++ b/SimCalorimetry/HcalTrigPrimAlgos/src/HcalTriggerPrimitiveAlgo.cc @@ -446,7 +446,7 @@ void HcalTriggerPrimitiveAlgo::analyzeQIE11(IntegerCaloSamples& samples, unsigned int sample = samples[ibin + i]; if (fix_saturation_ && (sample_saturation.size() > ibin + i)) - check_sat = (sample_saturation[ibin + i] | (sample > QIE11_MAX_LINEARIZATION_ET)); + check_sat = (check_sat | sample_saturation[ibin + i] | (sample > QIE11_MAX_LINEARIZATION_ET)); if (sample > QIE11_MAX_LINEARIZATION_ET) sample = QIE11_MAX_LINEARIZATION_ET;