Draft: Introduce config-flag 'Muon.enableAlignment'
Here my proposal to solve the issues @rlangenb is experiencing in !45539 (merged).
- Introduce a new-style config flag
Muon.enableAlignment
that auto-configures on the productionStep and the Overlay-flags. Use this to (conditionally) configure theMuonDetectorCondAlg
. The new flag actually obsoletes the parameterforceDisableAlignment
ofMuonGeoModelCfg
, this parameter should be removed. - Use this flag to (conditionally) set a dependency on the MuonDetectorManager CDO
- For the old-style config in InDetAlignFolder.py, use the somewhat ugly expression
if (DetFlags.Muon_on() and not conddb.isMC and not overlayFlags.isDataOverlay()):
instead of the new-style flag.