CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
Config.ProcessFragment Class Reference
Inheritance diagram for Config.ProcessFragment:

Public Member Functions

def __delattr__
 
def __dir__
 
def __getattribute__
 
def __init__
 
def __setattr__
 

Private Attributes

 __process
 

Detailed Description

Definition at line 1537 of file Config.py.

Constructor & Destructor Documentation

def Config.ProcessFragment.__init__ (   self,
  process 
)

Definition at line 1538 of file Config.py.

1539  def __init__(self, process):
1540  if isinstance(process, Process):
1541  self.__process = process
1542  elif isinstance(process, str):
1543  self.__process = Process(process)
1544  #make sure we do not override the defaults
1545  del self.__process.options
1546  del self.__process.maxEvents
1547  del self.__process.maxLuminosityBlocks
1548  else:
raise TypeError('a ProcessFragment can only be constructed from an existig Process or from process name')

Member Function Documentation

def Config.ProcessFragment.__delattr__ (   self,
  name 
)

Definition at line 1561 of file Config.py.

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

1562  def __delattr__(self, name):
1563  if name == '_ProcessFragment__process':
1564  pass
1565  else:
1566  return delattr(self.__process, name)
1567 
def Config.ProcessFragment.__dir__ (   self)

Definition at line 1549 of file Config.py.

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

1550  def __dir__(self):
return [ x for x in dir(self.__process) if isinstance(getattr(self.__process, x), _ConfigureComponent) ]
def Config.ProcessFragment.__getattribute__ (   self,
  name 
)

Definition at line 1551 of file Config.py.

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

1552  def __getattribute__(self, name):
1553  if name == '_ProcessFragment__process':
1554  return object.__getattribute__(self, '_ProcessFragment__process')
1555  else:
return getattr(self.__process, name)
def Config.ProcessFragment.__setattr__ (   self,
  name,
  value 
)

Definition at line 1556 of file Config.py.

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

1557  def __setattr__(self, name, value):
1558  if name == '_ProcessFragment__process':
1559  object.__setattr__(self, name, value)
1560  else:
setattr(self.__process, name, value)

Member Data Documentation

Config.ProcessFragment.__process
private

Definition at line 1540 of file Config.py.

Referenced by Config.ProcessFragment.__delattr__(), Config.ProcessFragment.__dir__(), Config.ProcessForProcessAccelerator.__getattr__(), Config.ProcessFragment.__getattribute__(), Config.ProcessFragment.__setattr__(), Config.ProcessForProcessAccelerator.__setattr__(), and Config.SubProcess.process().