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__
 
def __dir__ (self)
 
def __getattribute__
 
def __init__
 
def __setattr__
 

Private Attributes

 __process
 

Detailed Description

Definition at line 1639 of file Config.py.

Constructor & Destructor Documentation

◆ __init__()

def Config.ProcessFragment.__init__ (   self,
  process 
)

Definition at line 1640 of file Config.py.

1640  def __init__(self, process: Union[Process,str]):
1641  if isinstance(process, Process):
1642  self.__process = process
1643  elif isinstance(process, str):
1644  self.__process = Process(process)
1645  #make sure we do not override the defaults
1646  del self.__process.options
1647  del self.__process.maxEvents
1648  del self.__process.maxLuminosityBlocks
1649  else:
1650  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 1663 of file Config.py.

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

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

◆ __dir__()

def Config.ProcessFragment.__dir__ (   self)

Definition at line 1651 of file Config.py.

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

1651  def __dir__(self):
1652  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 1653 of file Config.py.

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

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

◆ __setattr__()

def Config.ProcessFragment.__setattr__ (   self,
  name 
)

Definition at line 1658 of file Config.py.

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

Referenced by GenObject.GenObject.setValue().

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

Member Data Documentation

◆ __process

Config.ProcessFragment.__process
private