Skip to content
Snippets Groups Projects
Commit 015f2a2a authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'Athena_ThiningSvc_StreamFix' into 'master'

Fix ThinningSvc to retrieve OutputStream from the correct sequence.

See merge request atlas/athena!23872
parents d92c6e8e 503d13a6
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ class ThinningSvc( _ThinningSvc ):
if not isinstance(handle, ThinningSvc):
return
from AthenaCommon.AlgSequence import AlgSequence
from AthenaCommon.AlgSequence import AlgSequence,AthSequencer
## get a handle on the ToolSvc
from AthenaCommon.AppMgr import ToolSvc as toolSvc
from AthenaCommon.AppMgr import ServiceMgr as svcMgr
......@@ -142,6 +142,13 @@ class ThinningSvc( _ThinningSvc ):
_doScheduleTool(o, streams)):
outstreams.append (o)
pass
## then loop over OutputStream sequence
for o in AthSequencer("AthOutSeq"):
if (isinstance(o, AthenaOutputStream) and
hasattr(o, 'HelperTools') and
_doScheduleTool(o, streams)):
outstreams.append (o)
pass
## then loop over OutStream sequence
if AlgSequence.configurables.has_key('Streams'):
for o in AlgSequence("Streams"):
......
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