Skip to content

Commit

Permalink
Modify comment for integer math
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-Krohn committed Jul 21, 2022
1 parent 939ecf8 commit 8414339
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -453,7 +453,7 @@ void HcalTriggerPrimitiveAlgo::analyzeQIE11(IntegerCaloSamples& samples,
if (sample > QIE11_MAX_LINEARIZATION_ET)
sample = QIE11_MAX_LINEARIZATION_ET;

// Usually use a segmentation factor of 1.0 but for ieta >= 21 use 0.5
// Usually use a segmentation factor of 1.0 but for ieta >= 21 use 2
int segmentationFactor = 1;
if (ids.size() == 2) {
segmentationFactor = 2;
Expand Down Expand Up @@ -488,7 +488,7 @@ void HcalTriggerPrimitiveAlgo::analyzeQIE11(IntegerCaloSamples& samples,
if (sampleTSminus1 > QIE11_MAX_LINEARIZATION_ET)
sampleTSminus1 = QIE11_MAX_LINEARIZATION_ET;

// Usually use a segmentation factor of 1.0 but for ieta >= 21 use 0.5
// Usually use a segmentation factor of 1.0 but for ieta >= 21 use 2
int segmentationFactor = 1;
if (ids.size() == 2) {
segmentationFactor = 2;
Expand Down

0 comments on commit 8414339

Please sign in to comment.