TrigPSC+TrigServices: reverse order of start/prepareForRun
Two changes that are related to the HLT and only affect online running or athenaHLT.py:
Call the start
method of components after
HltEventLoopMgr::prepareForRun
. This will allow the EventLoopMgr to
setup anything that may be required by those start methods. This is a big change in terms of execution order, so could potentially cause problems and we should keep a close eye also on our ART tests after this has been merged.
This change then allows to set a valid EventContext
that is available during the execution of a component's start
method. While this in principle should not be necessary, some algorithms (e.g. AtlasFieldMapCondAlg) use this to preload conditions data. Fixes ATR-21331.