6 from AtlasGeoModel.GeoModelConfig
import GeoModelCfg
7 acc = GeoModelCfg(flags)
8 geoModelSvc = acc.getPrimary()
10 from AthenaConfiguration.ComponentFactory
import CompFactory
11 sctDetectorTool = CompFactory.SCT_DetectorTool()
12 sctDetectorTool.useDynamicAlignFolders = flags.GeoModel.Align.Dynamic
13 sctDetectorTool.Alignable =
True
14 geoModelSvc.DetectorTools += [ sctDetectorTool ]
19 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
20 acc = ComponentAccumulator()
21 if flags.GeoModel.Align.LegacyConditionsAccess:
22 from IOVDbSvc.IOVDbSvcConfig
import addFoldersSplitOnline
23 if flags.GeoModel.Align.Dynamic:
24 acc.merge(addFoldersSplitOnline(flags,
"INDET",
25 [
"/Indet/Onl/AlignL1/ID",
"/Indet/Onl/AlignL2/SCT"],
26 [
"/Indet/AlignL1/ID",
"/Indet/AlignL2/SCT"]))
27 acc.merge(addFoldersSplitOnline(flags,
"INDET",
"/Indet/Onl/AlignL3",
"/Indet/AlignL3"))
29 acc.merge(addFoldersSplitOnline(flags,
"INDET",
"/Indet/Onl/Align",
"/Indet/Align"))
31 from SCT_ConditionsAlgorithms.SCT_ConditionsAlgorithmsConfig
import SCT_AlignCondAlgCfg
32 acc.merge(SCT_AlignCondAlgCfg(flags))