Skip to content
Snippets Groups Projects
Commit 1504b51b authored by Melissa Yexley's avatar Melissa Yexley
Browse files

Adding in OutputStreamSequencerSvc so that the output vp1 files end up in the desired location

parent eb463f6d
No related branches found
No related tags found
No related merge requests found
......@@ -222,6 +222,11 @@ acc.addService(svc, create=True)
from AthenaServices.OutputStreamSequencerSvcConfig import OutputStreamSequencerSvcCfg
acc.merge(OutputStreamSequencerSvcCfg(flags,incidentName="EndEvent"))
# This creates an ESD file per event which is renamed and moved to the desired output
# dir in the VP1 Event Prod alg
from AthenaServices.OutputStreamSequencerSvcConfig import OutputStreamSequencerSvcCfg
acc.merge(OutputStreamSequencerSvcCfg(flags,incidentName="EndEvent"))
StreamESD = acc.getEventAlgo("OutputStreamESD")
vp1Alg = CompFactory.VP1EventProd(name="VP1EventProd", InputPoolFile = StreamESD.OutputFile)
acc.addEventAlgo(vp1Alg)
......
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