diff --git a/Database/AthenaPOOL/OutputStreamAthenaPool/python/MultipleStreamManager.py b/Database/AthenaPOOL/OutputStreamAthenaPool/python/MultipleStreamManager.py index 3554264b329a40b25e9be8d46494aa1ff39d7620..a3eb13675a7520078198f7ab23a77f61a89f61c9 100644 --- a/Database/AthenaPOOL/OutputStreamAthenaPool/python/MultipleStreamManager.py +++ b/Database/AthenaPOOL/OutputStreamAthenaPool/python/MultipleStreamManager.py @@ -1,4 +1,4 @@ -# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration +# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration ######################################################## ## AugmentedStreams & MultipleStreamManager classes ## @@ -284,12 +284,14 @@ class AugmentedByteStream( AugmentedStreamBase ): self.bsCopyTool.ByteStreamOutputSvc=self.bsOutputSvc self.bsCopyTool.ByteStreamInputSvc=svcMgr.ByteStreamInputSvc - # create AthenaOutputStream for BS Copy and add it to topSequence + # create AthenaOutputStream for BS Copy from AthenaServices.AthenaServicesConf import AthenaOutputStream self.Stream = AthenaOutputStream( StreamName, WritingTool=self.bsCopyTool ) - #topSequence += self.Stream #<-- coherent with asAlg=False in OutputStreamAthenaPool.py - theApp.addOutputStream( self.Stream ) + # add the stream to the output sequence + from AthenaCommon.AlgSequence import AthSequencer + outSequence = AthSequencer("AthOutSeq") + outSequence += self.Stream return def SetOutputFileName(self, name):