23def SCT_AlignmentCfg(flags):
24 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
25 acc = ComponentAccumulator()
26 if flags.GeoModel.Align.LegacyConditionsAccess:
27 from IOVDbSvc.IOVDbSvcConfig import addFoldersSplitOnline
28 if flags.GeoModel.Align.Dynamic:
29 acc.merge(addFoldersSplitOnline(flags, "INDET",
30 ["/Indet/Onl/AlignL1/ID", "/Indet/Onl/AlignL2/SCT"],
31 ["/Indet/AlignL1/ID", "/Indet/AlignL2/SCT"]))
32 acc.merge(addFoldersSplitOnline(flags, "INDET", "/Indet/Onl/AlignL3", "/Indet/AlignL3"))
33 else:
34 acc.merge(addFoldersSplitOnline(flags, "INDET", "/Indet/Onl/Align", "/Indet/Align"))
35 else:
36 from SCT_ConditionsAlgorithms.SCT_ConditionsAlgorithmsConfig import SCT_AlignCondAlgCfg
37 acc.merge(SCT_AlignCondAlgCfg(flags))
38 return acc
39
40
41@AccumulatorCache