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

Constructor & Destructor Documentation

◆ __init__()

def Config.ProcessFragment.__init__ (   self,
  process 
)

Definition at line 1639 of file Config.py.

1639  def __init__(self, process):
1640  if isinstance(process, Process):
1641  self.__process = process
1642  elif isinstance(process, str):
1643  self.__process = Process(process)
1644  #make sure we do not override the defaults
1645  del self.__process.options
1646  del self.__process.maxEvents
1647  del self.__process.maxLuminosityBlocks
1648  else:
1649  raise TypeError('a ProcessFragment can only be constructed from an existig Process or from process name')
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ __delattr__()

def Config.ProcessFragment.__delattr__ (   self,
  name 
)

Definition at line 1662 of file Config.py.

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

1662  def __delattr__(self, name):
1663  if name == '_ProcessFragment__process':
1664  pass
1665  else:
1666  return delattr(self.__process, name)
1667 
1668 

◆ __dir__()

def Config.ProcessFragment.__dir__ (   self)

Definition at line 1650 of file Config.py.

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

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

◆ __getattribute__()

def Config.ProcessFragment.__getattribute__ (   self,
  name 
)

Definition at line 1652 of file Config.py.

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

1652  def __getattribute__(self, name):
1653  if name == '_ProcessFragment__process':
1654  return object.__getattribute__(self, '_ProcessFragment__process')
1655  else:
1656  return getattr(self.__process, name)

◆ __setattr__()

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

Definition at line 1657 of file Config.py.

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

Referenced by GenObject.GenObject.setValue().

1657  def __setattr__(self, name, value):
1658  if name == '_ProcessFragment__process':
1659  object.__setattr__(self, name, value)
1660  else:
1661  setattr(self.__process, name, value)

Member Data Documentation

◆ __process

Config.ProcessFragment.__process
private