Skip to content

Fix FPE ATLASRECTS-6404

This FPE is triggered when we divide by zero which happens when a cluster energy is changed from zero to a negative number. The calculated ratio is used to record the fraction of energy removed, and thus when the original cluster energy is zero (due to previous charged shower removal) we can approximate the ratio by using a very small number in the denominator instead of zero. I also fixed a typo in a DEBUG statement which was spotted whilst debugging.

Merge request reports