ATLAS Offline Software
StdEvgenSetup.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 
3 
4 
5 include("EvgenProdTools/StdJOSetup.py")
6 
7 
8 evgenLog = logging.getLogger("Evgen")
9 
10 
11 import AthenaCommon.AtlasUnixGeneratorJob
12 
13 
15 if "evgenConfig" not in dir():
16  if "EvgenConfig" not in dir():
18  pass
19  evgenConfig = EvgenConfig()
20 #
21 if "StreamEVGEN" not in dir():
22  from AthenaPoolCnvSvc.WriteAthenaPool import AthenaPoolOutputStream
23  streamEVGEN = AthenaPoolOutputStream("StreamEVGEN")
24  StreamEVGEN = streamEVGEN # compatibility alias, breaking convention!
python.Include.include
include
Definition: Include.py:318
beamspotman.dir
string dir
Definition: beamspotman.py:623
StdEvgenSetup.EvgenConfig
Provide a bit of compatibility with Generate_trf JOs via dummy evgenConfig and StreamEVGEN objects.
Definition: StdEvgenSetup.py:17
pickleTool.object
object
Definition: pickleTool.py:30
python.CreateOutputStreams.AthenaPoolOutputStream
def AthenaPoolOutputStream
backward compat
Definition: CreateOutputStreams.py:144