Commit 94256bb2 authored by John Chapman's avatar John Chapman
Browse files

Update the syntax of postInclude.HijingPars.py so that it works again in master

Also add postInclude.McEventCollection.py to allow all versions of the McEventCollection
to easily be written out - useful for debugging.
parent 4477a8d6
#########################################################
#########################################################
from AthenaCommon.AlgSequence import AthSequencer
## configure Athena for POOL persistency
streamAlgs = ['StreamHITS']
streamSeq = AthSequencer("AthOutSeq")
for stream in streamAlgs:
sSoutStream = getattr(streamSeq, stream, None)
if sSoutStream is not None:
sSoutStream.ItemList += [ "McEventCollection#*" ]
......@@ -10,7 +10,7 @@
# is called.
#
#########################################################
from AthenaCommon.AlgSequence import AlgSequence
from AthenaCommon.AlgSequence import AlgSequence, AthSequencer
topSequence = AlgSequence()
from AthenaCommon.DetFlags import DetFlags
......@@ -37,7 +37,7 @@ else:
## configure Athena for POOL persistency
streamAlgs = ['StreamHITS','StreamRDO','StreamESD','StreamAOD']
streamSeq = AlgSequence("Streams")
streamSeq = AthSequencer("AthOutSeq")
for stream in streamAlgs:
sSoutStream = getattr(streamSeq, stream, None)
tSoutStream = getattr(topSequence, stream, None)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment