Skip to content

Commit

Permalink
Merge pull request #36528 from Michael-Krohn/adjust-HCAL-TPsum
Browse files Browse the repository at this point in the history
HCAL: Remove 4th depth from trigger primitive sum over depths, for |ieta| = 16
  • Loading branch information
cmsbuild committed Dec 17, 2021
2 parents e9844d2 + 6299f09 commit df30374
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CalibCalorimetry/HcalTPGAlgos/src/HcaluLUTTPGCoder.cc
Expand Up @@ -544,6 +544,12 @@ void HcaluLUTTPGCoder::update(const HcalDbService& conditions) {
else if (adc >= mipMax)
lut[adc] |= QIE11_LUT_MSB1;
}

//Zeroing the 4th depth in the trigger towers where |ieta| = 16 to match the behavior in the uHTR firmware in Run3, where the 4th depth is not included in the sum over depths when constructing the TP energy for this tower.
if (abs(cell.ieta()) == 16 && cell.depth() == 4 &&
topo_->triggerMode() >= HcalTopologyMode::TriggerMode_2021) {
lut[adc] = 0;
}
}
}
} else if (subdet == HcalForward) {
Expand Down

0 comments on commit df30374

Please sign in to comment.