ATLAS Offline Software
Loading...
Searching...
No Matches
postJO.PoolOutput.py
Go to the documentation of this file.
1# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
3from AthenaCommon.AppMgr import theApp
4stream = theApp.getOutputStream( "StreamEVGEN" )
5if stream is None:
6 from AthenaPoolCnvSvc.WriteAthenaPool import AthenaPoolOutputStream
7 stream = AthenaPoolOutputStream("StreamEVGEN")
8stream.OutputFile = "evgen.pool.root"
9if "OUTFILE" in dir():
10 stream.OutputFile = OUTFILE
11stream.ItemList += ["EventInfo#*", "McEventCollection#*"]