Skip to content

Fix for MuonLayerHoughTool crash when running with VERBOSE output

Edward Moyse requested to merge emoyse/athena:22.0-fix-MuonLayerHoughTool into 22.0

Whilst debugging Muon CA/old-config differences, I ran into a crash in MuonLayerHoughTool with VERBOSE output.

This is because after debug.release(), calling get() returns nullptr. So I just reordered this code a little to avoid the crash. This should have no impact on production output.

Tested with q445 and MuonConfig and MuonCombinedConfig unit tests.

Merge request reports