Skip to content

Draft: Introduce config-flag 'Muon.enableAlignment'

Walter Lampl requested to merge wlampl/athena:fromRobert into master

Here my proposal to solve the issues @rlangenb is experiencing in !45539 (merged).

  1. Introduce a new-style config flag Muon.enableAlignment that auto-configures on the productionStep and the Overlay-flags. Use this to (conditionally) configure the MuonDetectorCondAlg. The new flag actually obsoletes the parameter forceDisableAlignment of MuonGeoModelCfg, this parameter should be removed.
  2. Use this flag to (conditionally) set a dependency on the MuonDetectorManager CDO
  3. 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.

Merge request reports