Skip to content
Snippets Groups Projects

Fix ThinningSvc to retrieve OutputStream from the correct sequence.

Merged Peter Van Gemmeren requested to merge gemmeren/athena:Athena_ThiningSvc_StreamFix into master
1 file
+ 8
1
Compare changes
  • Side-by-side
  • Inline
@@ -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"):
Loading