18def SCT_AlignmentCfg(flags):
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"))
28 else:
29 acc.merge(addFoldersSplitOnline(flags, "INDET", "/Indet/Onl/Align", "/Indet/Align"))
30 else:
31 from SCT_ConditionsAlgorithms.SCT_ConditionsAlgorithmsConfig import SCT_AlignCondAlgCfg
32 acc.merge(SCT_AlignCondAlgCfg(flags))
33 return acc
34
35
36@AccumulatorCache