ATLAS Offline Software
Static Public Attributes | Private Member Functions | List of all members
python.ConcurrencyFlags.NumConcurrentEvents Class Reference
Inheritance diagram for python.ConcurrencyFlags.NumConcurrentEvents:
Collaboration diagram for python.ConcurrencyFlags.NumConcurrentEvents:

Static Public Attributes

bool statusOn = True
 
list allowedTypes = ['int']
 
int StoredValue = 0
 

Private Member Functions

def _do_action (self)
 

Detailed Description

Flag to indicate number of concurrent events, possibly per worker"

Definition at line 73 of file ConcurrencyFlags.py.

Member Function Documentation

◆ _do_action()

def python.ConcurrencyFlags.NumConcurrentEvents._do_action (   self)
private

Definition at line 80 of file ConcurrencyFlags.py.

80  def _do_action(self):
81  try:
82  import GaudiHive # noqa: F401
83  except ImportError:
84  from AthenaCommon.Logging import log
85  log.fatal("GaudiHive not in release - can't use --concurrent-events parameter")
86  import sys
87  from AthenaCommon import ExitCodes
88  sys.exit(ExitCodes.IMPORT_ERROR)
89 
90  if (self.get_Value() < 0):
91  from AthenaCommon.Logging import log
92  log.fatal("Number of concurrent events [%s] cannot be negative",self.get_Value())
93  import sys
94  from AthenaCommon import ExitCodes
95  sys.exit(ExitCodes.CONFIGURATION_ERROR)
96 
97  return
98 
99 

Member Data Documentation

◆ allowedTypes

list python.ConcurrencyFlags.NumConcurrentEvents.allowedTypes = ['int']
static

Definition at line 77 of file ConcurrencyFlags.py.

◆ statusOn

bool python.ConcurrencyFlags.NumConcurrentEvents.statusOn = True
static

Definition at line 76 of file ConcurrencyFlags.py.

◆ StoredValue

int python.ConcurrencyFlags.NumConcurrentEvents.StoredValue = 0
static

Definition at line 78 of file ConcurrencyFlags.py.


The documentation for this class was generated from the following file: