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

Constructor & Destructor Documentation

◆ __init__()

def Config.ProcessFragment.__init__ (   self,
  process 
)

Definition at line 1632 of file Config.py.

1632  def __init__(self, process):
1633  if isinstance(process, Process):
1634  self.__process = process
1635  elif isinstance(process, str):
1636  self.__process = Process(process)
1637  #make sure we do not override the defaults
1638  del self.__process.options
1639  del self.__process.maxEvents
1640  del self.__process.maxLuminosityBlocks
1641  else:
1642  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 1655 of file Config.py.

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

1655  def __delattr__(self, name):
1656  if name == '_ProcessFragment__process':
1657  pass
1658  else:
1659  return delattr(self.__process, name)
1660 
1661 

◆ __dir__()

def Config.ProcessFragment.__dir__ (   self)

Definition at line 1643 of file Config.py.

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

1643  def __dir__(self):
1644  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 1645 of file Config.py.

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

1645  def __getattribute__(self, name):
1646  if name == '_ProcessFragment__process':
1647  return object.__getattribute__(self, '_ProcessFragment__process')
1648  else:
1649  return getattr(self.__process, name)

◆ __setattr__()

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

Definition at line 1650 of file Config.py.

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

Referenced by GenObject.GenObject.setValue().

1650  def __setattr__(self, name, value):
1651  if name == '_ProcessFragment__process':
1652  object.__setattr__(self, name, value)
1653  else:
1654  setattr(self.__process, name, value)

Member Data Documentation

◆ __process

Config.ProcessFragment.__process
private