4 from AthenaConfiguration.AccumulatorCache
import AccumulatorCache
8 from AtlasGeoModel.GeometryDBConfig
import InDetGeometryDBSvcCfg
11 from AtlasGeoModel.GeoModelConfig
import GeoModelCfg
13 geoModelSvc = acc.getPrimary()
15 from AthenaConfiguration.ComponentFactory
import CompFactory
16 trtDetectorTool = CompFactory.TRT_DetectorTool()
17 trtDetectorTool.GeometryDBSvc = db.getPrimary()
18 trtDetectorTool.useDynamicAlignFolders = flags.GeoModel.Align.Dynamic
20 from AthenaConfiguration.Enums
import Project, ProductionStep
21 if (flags.Common.Project
is not Project.AthSimulation
22 and flags.Common.ProductionStep
not in [ProductionStep.Simulation, ProductionStep.FastChain]):
23 trtDetectorTool.DoXenonArgonMixture =
False
24 trtDetectorTool.DoKryptonMixture =
False
26 from TRT_ConditionsServices.TRT_ConditionsServicesConfig
import TRT_StrawStatusSummaryToolCfg
28 geoModelSvc.DetectorTools += [ trtDetectorTool ]
34 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
36 if flags.GeoModel.Align.LegacyConditionsAccess:
37 from IOVDbSvc.IOVDbSvcConfig
import addFoldersSplitOnline
39 if flags.GeoModel.Align.Dynamic:
45 from TRT_ConditionsAlgs.TRT_ConditionsAlgsConfig
import TRTAlignCondAlgCfg
65 from TRT_ConditionsAlgs.TRT_ConditionsAlgsConfig
import TRTAlignCondAlgCfg