2 from AthenaConfiguration.AccumulatorCache
import AccumulatorCache
6 from AtlasGeoModel.GeometryDBConfig
import InDetGeometryDBSvcCfg
9 from AtlasGeoModel.GeoModelConfig
import GeoModelCfg
11 geoModelSvc = acc.getPrimary()
13 from AthenaConfiguration.ComponentFactory
import CompFactory
14 sctDetectorTool = CompFactory.SCT_DetectorTool()
15 sctDetectorTool.GeometryDBSvc = db.getPrimary()
16 sctDetectorTool.useDynamicAlignFolders = flags.GeoModel.Align.Dynamic
17 sctDetectorTool.Alignable =
True
18 sctDetectorTool.DetectorName =
"SCT"
19 geoModelSvc.DetectorTools += [ sctDetectorTool ]
25 if flags.GeoModel.Align.LegacyConditionsAccess:
26 from IOVDbSvc.IOVDbSvcConfig
import addFoldersSplitOnline
29 from SCT_ConditionsAlgorithms.SCT_ConditionsAlgorithmsConfig
import SCT_AlignCondAlgCfg
46 from SCT_ConditionsAlgorithms.SCT_ConditionsAlgorithmsConfig
import SCT_DetectorElementCondAlgCfg