Skip to content

ATLASRECTS-5012 :Warning message when CaloMgr created too early

Retrieving the CaloMgr too early can trigger its creation before detector alignments are applied, leading to inconsistent results. See https://its.cern.ch/jira/browse/ATLASRECTS-5012 for details

This MR detects if CaloMgr is being created during initialization (i.e. too early) and makes an warning message if so. Hopefully this will help us catch any remaining places where this can occur, and prevent it happening again.

Tagging @christos

Originally this was an error message, and in this MR I fix the majority of the tests that failed as a result of the error (thus hopefully fixing instances of the problem). However, not all such cases can be fixed at present, see discussion below. In order to pass CI tests, jobs with this bug are still allowed to initialize.

Edited by Christos Anastopoulos

Merge request reports