Fix for MuonLayerHoughTool crash when running with VERBOSE output
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.