Skip to content
Snippets Groups Projects
Commit 503d13a6 authored by Peter van Gemmeren's avatar Peter van Gemmeren
Browse files

Fix ThinningSvc to retrieve OutputStream from the correct sequence.

parent 7d9f3dab
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