CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
Config.ProcessFragment Class Reference
Inheritance diagram for Config.ProcessFragment:

Public Member Functions

def __delattr__ (self, name)
 
def __dir__ (self)
 
def __getattribute__ (self, name)
 
def __init__ (self, process)
 
def __setattr__ (self, name, value)
 

Private Attributes

 __process
 

Detailed Description

Definition at line 1403 of file Config.py.

Constructor & Destructor Documentation

◆ __init__()

def Config.ProcessFragment.__init__ (   self,
  process 
)

Definition at line 1404 of file Config.py.

1404  def __init__(self, process):
1405  if isinstance(process, Process):
1406  self.__process = process
1407  elif isinstance(process, str):
1408  self.__process = Process(process)
1409  #make sure we do not override the defaults
1410  del self.__process.options
1411  del self.__process.maxEvents
1412  del self.__process.maxLuminosityBlocks
1413  else:
1414  raise TypeError('a ProcessFragment can only be constructed from an existig Process or from process name')

Member Function Documentation

◆ __delattr__()

def Config.ProcessFragment.__delattr__ (   self,
  name 
)

Definition at line 1427 of file Config.py.

1427  def __delattr__(self, name):
1428  if name == '_ProcessFragment__process':
1429  pass
1430  else:
1431  return delattr(self.__process, name)
1432 
1433 

References Config.Process.__process, and Config.ProcessFragment.__process.

◆ __dir__()

def Config.ProcessFragment.__dir__ (   self)

Definition at line 1415 of file Config.py.

1415  def __dir__(self):
1416  return [ x for x in dir(self.__process) if isinstance(getattr(self.__process, x), _ConfigureComponent) ]

References Config.Process.__process, Config.ProcessFragment.__process, and DeadROC_duringRun.dir.

◆ __getattribute__()

def Config.ProcessFragment.__getattribute__ (   self,
  name 
)

Definition at line 1417 of file Config.py.

1417  def __getattribute__(self, name):
1418  if name == '_ProcessFragment__process':
1419  return object.__getattribute__(self, '_ProcessFragment__process')
1420  else:
1421  return getattr(self.__process, name)

References Config.Process.__process, and Config.ProcessFragment.__process.

◆ __setattr__()

def Config.ProcessFragment.__setattr__ (   self,
  name,
  value 
)

Definition at line 1422 of file Config.py.

1422  def __setattr__(self, name, value):
1423  if name == '_ProcessFragment__process':
1424  object.__setattr__(self, name, value)
1425  else:
1426  setattr(self.__process, name, value)

References Config.Process.__process, and Config.ProcessFragment.__process.

Referenced by GenObject.GenObject.setValue().

Member Data Documentation

◆ __process

Config.ProcessFragment.__process
private
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23