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