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 1399 of file Config.py.

Constructor & Destructor Documentation

◆ __init__()

def Config.ProcessFragment.__init__ (   self,
  process 
)

Definition at line 1400 of file Config.py.

1400  def __init__(self, process):
1401  if isinstance(process, Process):
1402  self.__process = process
1403  elif isinstance(process, str):
1404  self.__process = Process(process)
1405  #make sure we do not override the defaults
1406  del self.__process.options
1407  del self.__process.maxEvents
1408  del self.__process.maxLuminosityBlocks
1409  else:
1410  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 1423 of file Config.py.

1423  def __delattr__(self, name):
1424  if name == '_ProcessFragment__process':
1425  pass
1426  else:
1427  return delattr(self.__process, name)
1428 
1429 

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

◆ __dir__()

def Config.ProcessFragment.__dir__ (   self)

Definition at line 1411 of file Config.py.

1411  def __dir__(self):
1412  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 1413 of file Config.py.

1413  def __getattribute__(self, name):
1414  if name == '_ProcessFragment__process':
1415  return object.__getattribute__(self, '_ProcessFragment__process')
1416  else:
1417  return getattr(self.__process, name)

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

◆ __setattr__()

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

Definition at line 1418 of file Config.py.

1418  def __setattr__(self, name, value):
1419  if name == '_ProcessFragment__process':
1420  object.__setattr__(self, name, value)
1421  else:
1422  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