Skip to content

fix for ATLASRECTS-7771

Petr Balek requested to merge pbalek/athena:fix-ATLASRECTS-7771 into 23.0

Fixes division by zero in HIJetCellSubtractorTool. Occasionaly, the variable E_unsubtr was zero and thus sig from HIJetSubtractorToolBase::setSubtractedEtaPhi was infinity. Now, the variable is set to zero, and the relevant condition in setSubtractedEtaPhi won't pass, as it wouldn't pass if E_unsubtr were small.

Also fixes possible problem with large eta, although that shouldn't happen.

Closes ATLASRECTS-7771

Tagging @stapiaar @mrybar

Merge request reports

Loading