ATLAS Offline Software
Loading...
Searching...
No Matches
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
5include("EvgenProdTools/StdJOSetup.py")
6
7
8evgenLog = logging.getLogger("Evgen")
9
10
11import AthenaCommon.AtlasUnixGeneratorJob
12
13
15if "evgenConfig" not in dir():
16 if "EvgenConfig" not in dir():
18 pass
19 evgenConfig = EvgenConfig()
20#
21if "StreamEVGEN" not in dir():
22 from AthenaPoolCnvSvc.WriteAthenaPool import AthenaPoolOutputStream
23 streamEVGEN = AthenaPoolOutputStream("StreamEVGEN")
24 StreamEVGEN = streamEVGEN # compatibility alias, breaking convention!
Provide a bit of compatibility with Generate_trf JOs via dummy evgenConfig and StreamEVGEN objects.