Skip to content

Commit

Permalink
Merge pull request #37658 from TaeunKwon/TP_bugfix
Browse files Browse the repository at this point in the history
HCAL: HCAL TP bug fix for PFA2 scheme
  • Loading branch information
cmsbuild authored Apr 26, 2022
2 parents 146950e + 8909d46 commit d40dbd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d40dbd8

Please sign in to comment.