ATLAS Offline Software
Loading...
Searching...
No Matches
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
4from AthenaCommon.Logging import logging
5evgenLog = logging.getLogger('EvgenConfig')
6
7class 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)")