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 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
27 if flags.GeoModel.Align.LegacyConditionsAccess:
28 from IOVDbSvc.IOVDbSvcConfig
import addFoldersSplitOnline
29 if flags.GeoModel.Align.Dynamic:
31 [
"/Indet/Onl/AlignL1/ID",
"/Indet/Onl/AlignL2/SCT"],
32 [
"/Indet/AlignL1/ID",
"/Indet/AlignL2/SCT"]))
37 from SCT_ConditionsAlgorithms.SCT_ConditionsAlgorithmsConfig
import SCT_AlignCondAlgCfg
55 from SCT_ConditionsAlgorithms.SCT_ConditionsAlgorithmsConfig
import SCT_DetectorElementCondAlgCfg