ATLAS Offline Software
EvgenCAConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 
3 # Get logger
4 from AthenaCommon.Logging import logging
5 evgenLog = logging.getLogger('EvgenConfig')
6 
7 class EvgenConfig():
8  """The CA-based EvgenConfig class that holds the configuration for a sample to be generated"""
9 
10  __slots__ = ()
11 
12  def __init__(self, flags):
13  self.generators = []
14  self.keywords = []
15  self.contact = []
16  self.nEventsPerJob = None
17 
18  def setupFlags(self, flags):
19  raise RuntimeError("setupFlags method needs to be implemented in Sample(EvgenConfig)")
20 
21  def setupProcess(self, flags):
22  raise RuntimeError("setupProcess method needs to be implemented in Sample(EvgenConfig)")
python.EvgenCAConfig.EvgenConfig.__init__
def __init__(self, flags)
Definition: EvgenCAConfig.py:12
python.EvgenCAConfig.EvgenConfig.nEventsPerJob
nEventsPerJob
Definition: EvgenCAConfig.py:16
python.EvgenCAConfig.EvgenConfig.setupFlags
def setupFlags(self, flags)
Definition: EvgenCAConfig.py:18
python.EvgenCAConfig.EvgenConfig.generators
generators
Definition: EvgenCAConfig.py:13
python.EvgenCAConfig.EvgenConfig.setupProcess
def setupProcess(self, flags)
Definition: EvgenCAConfig.py:21
python.EvgenCAConfig.EvgenConfig.keywords
keywords
Definition: EvgenCAConfig.py:14
python.EvgenCAConfig.EvgenConfig
Definition: EvgenCAConfig.py:7
python.EvgenCAConfig.EvgenConfig.contact
contact
Definition: EvgenCAConfig.py:15