From b1a664cb5da4c7e9087cc7f1cccde357a4e9c663 Mon Sep 17 00:00:00 2001 From: Walter Lampl Date: Thu, 2 Jul 2020 18:47:46 +0200 Subject: [PATCH] CreateOutputStreams.py: Minor fix to avoid per-event message --- .../OutputStreamAthenaPool/python/CreateOutputStreams.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Database/AthenaPOOL/OutputStreamAthenaPool/python/CreateOutputStreams.py b/Database/AthenaPOOL/OutputStreamAthenaPool/python/CreateOutputStreams.py index 4e2bb65fb70..0434b3db229 100644 --- a/Database/AthenaPOOL/OutputStreamAthenaPool/python/CreateOutputStreams.py +++ b/Database/AthenaPOOL/OutputStreamAthenaPool/python/CreateOutputStreams.py @@ -48,9 +48,12 @@ def createOutputStream( streamName, fileName = "", asAlg = False, noTag = False, # Tell tool to pick it up outputStream.WritingTool.AttributeListKey=key # build eventinfo attribute list - from .OutputStreamAthenaPoolConf import EventInfoAttListTool, EventInfoTagBuilder - svcMgr.ToolSvc += EventInfoAttListTool() + from .OutputStreamAthenaPoolConf import EventInfoAttListTool, EventInfoTagBuilder EventInfoTagBuilder = EventInfoTagBuilder(AttributeList=key, EventInfoKey=eventInfoKey, FilterString=decisionFilter) + from AthenaCommon.GlobalFlags import globalflags + if globalflags.InputFormat() == 'bytestream': + #No event-tag input in bytestream + EventInfoTagBuilder.PropagateInput=False topSequence += EventInfoTagBuilder # decide where to put outputstream in sequencing -- GitLab