File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
L1Trigger/L1TCaloLayer1/src Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -197,8 +197,9 @@ bool L1TCaloLayer1FetchLUTs(
197197 calibratedECalInput *= ecalSF.at (phiBin * ecalScaleETBins.size () * 28 + etBin * 28 + etaBin);
198198 if (useLSB)
199199 calibratedECalInput /= caloLSB;
200- if (ecalInput < ecalZSF.size () / 28 - 1 )
200+ if (ecalInput < ecalZSF.size () / 28 - 1 )
201201 calibratedECalInput *= ecalZSF.at (ecalInput * 28 + etaBin);
202+
202203 value = calibratedECalInput;
203204 if (fwVersion > 2 ) {
204205 // Saturate if either decompressed value is over 127.5 GeV or input saturated
@@ -263,8 +264,8 @@ bool L1TCaloLayer1FetchLUTs(
263264 if (useCalib)
264265 calibratedHcalInput *= hcalSF.at (phiBin * hcalScaleETBins.size () * 28 + etBin * 28 + etaBin);
265266 if (useLSB)
266- calibratedHcalInput /= caloLSB;
267- if (hcalInput < hcalZSF.size () / 28 - 1 )
267+ calibratedHcalInput /= caloLSB;
268+ if (hcalInput < hcalZSF.size () / 28 - 1 )
268269 calibratedHcalInput *= hcalZSF.at (hcalInput * 28 + etaBin);
269270 value = calibratedHcalInput;
270271 if (fwVersion > 2 ) {
You can’t perform that action at this time.
0 commit comments