Skip to content
Snippets Groups Projects
Commit f2e4810a authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'config/out' into 'master'

OutputStreamCfg: add ability to input MetadataItemList

See merge request atlas/athena!37552
parents c2300f44 bada41ad
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,8 @@ from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator, Confi
from AthenaConfiguration.ComponentFactory import CompFactory
from AthenaCommon.Logging import logging
def OutputStreamCfg(configFlags, streamName, ItemList=[], disableEventTag=False ,
trigNavThinningSvc = None):
def OutputStreamCfg(configFlags, streamName, ItemList=[], MetadataItemList=[],
disableEventTag=False, trigNavThinningSvc=None):
MakeEventStreamInfo=CompFactory.MakeEventStreamInfo
AthenaOutputStream=CompFactory.AthenaOutputStream
AthenaOutputStreamTool=CompFactory.AthenaOutputStreamTool
......@@ -42,13 +42,14 @@ def OutputStreamCfg(configFlags, streamName, ItemList=[], disableEventTag=False
outputAlgName,
WritingTool = writingTool,
ItemList = [ "xAOD::EventInfo#EventInfo", "xAOD::EventAuxInfo#EventInfoAux." ]+ItemList,
MetadataItemList = MetadataItemList,
OutputFile = fileName,
HelperTools = [ streamInfoTool, tct ],
)
outputStream.ExtraOutputs += [("DataHeader", "StoreGateSvc+" + streamName)]
result.addService(StoreGateSvc("MetaDataStore"))
outputStream.MetadataStore = result.getService("MetaDataStore")
outputStream.MetadataItemList = [
outputStream.MetadataItemList += [
"EventStreamInfo#Stream" + streamName,
"IOVMetaDataContainer#*",
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment