7def BeamSpotCondAlgCfg(flags, name="BeamSpotCondAlg", **kwargs):
8 """Configure the BeamSpotCondAlg."""
9 acc = ComponentAccumulator()
10
11 from IOVDbSvc.IOVDbSvcConfig import addFoldersSplitOnline,addFolders
12 if flags.Common.doExpressProcessing :
13 acc.merge(addFolders(flags, "/Indet/Onl/Beampos<key>/Indet/Beampos</key>","INDET_ONL",
14 className="AthenaAttributeList"))
15 else :
16 acc.merge(addFoldersSplitOnline(flags, "INDET","/Indet/Onl/Beampos",
17 "/Indet/Beampos", className="AthenaAttributeList",
18 extensible=flags.Trigger.doHLT and flags.Trigger.Online.isPartition))
19
20 BeamSpotCondAlg = CompFactory.BeamSpotCondAlg
22
23 return acc