ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
python.TriggerConfigAccessBase.ConfigLoader Class Reference
Inheritance diagram for python.TriggerConfigAccessBase.ConfigLoader:
Collaboration diagram for python.TriggerConfigAccessBase.ConfigLoader:

Public Member Functions

def __init__ (self, configType)
 
def confirmConfigType (self, config)
 

Public Attributes

 configType
 

Detailed Description

ConfigLoader derived classes hold the information of the configuration source
and define the method to load the configuration


Definition at line 44 of file TriggerConfigAccessBase.py.

Constructor & Destructor Documentation

◆ __init__()

def python.TriggerConfigAccessBase.ConfigLoader.__init__ (   self,
  configType 
)

Definition at line 49 of file TriggerConfigAccessBase.py.

49  def __init__(self,configType):
50  self.configType = configType

Member Function Documentation

◆ confirmConfigType()

def python.TriggerConfigAccessBase.ConfigLoader.confirmConfigType (   self,
  config 
)
checks that the in-file specification of the configuration type matches the expected type

Definition at line 51 of file TriggerConfigAccessBase.py.

51  def confirmConfigType(self,config):
52  """
53  checks that the in-file specification of the configuration type matches the expected type
54  """
55  if config['filetype'] != self.configType:
56  raise RuntimeError("Can not load file with filetype '%s' when expecting '%s'" % (config['filetype'], self.configType.filetype))
57 

Member Data Documentation

◆ configType

python.TriggerConfigAccessBase.ConfigLoader.configType

Definition at line 50 of file TriggerConfigAccessBase.py.


The documentation for this class was generated from the following file:
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18