Commit 8603b911 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'BeamSpotConditions_master_fix_for_express_processing' into 'master'

Fix BeamSpotCondAlg new config for express processing.

See merge request atlas/athena!47428
parents 4d0bc37e c3f61539
......@@ -8,9 +8,13 @@ def BeamSpotCondAlgCfg(flags, name="BeamSpotCondAlg", **kwargs):
"""Configure the BeamSpotCondAlg."""
acc = ComponentAccumulator()
from IOVDbSvc.IOVDbSvcConfig import addFoldersSplitOnline
acc.merge(addFoldersSplitOnline(flags, "INDET", "/Indet/Onl/Beampos",
"/Indet/Beampos", className="AthenaAttributeList"))
from IOVDbSvc.IOVDbSvcConfig import addFoldersSplitOnline,addFolders
if flags.Common.doExpressProcessing :
acc.merge(addFolders(flags, "/Indet/Onl/Beampos<key>/Indet/Beampos</key>","INDET_ONL",
className="AthenaAttributeList"))
else :
acc.merge(addFoldersSplitOnline(flags, "INDET","/Indet/Onl/Beampos",
"/Indet/Beampos", className="AthenaAttributeList"))
BeamSpotCondAlg = CompFactory.BeamSpotCondAlg
acc.addCondAlgo(BeamSpotCondAlg(name, **kwargs))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment