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

Constructor & Destructor Documentation

◆ __init__()

def Config.ProcessFragment.__init__ (   self,
  process 
)

Definition at line 1628 of file Config.py.

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

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

1651  def __delattr__(self, name):
1652  if name == '_ProcessFragment__process':
1653  pass
1654  else:
1655  return delattr(self.__process, name)
1656 
1657 

◆ __dir__()

def Config.ProcessFragment.__dir__ (   self)

Definition at line 1639 of file Config.py.

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

1639  def __dir__(self):
1640  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 1641 of file Config.py.

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

1641  def __getattribute__(self, name):
1642  if name == '_ProcessFragment__process':
1643  return object.__getattribute__(self, '_ProcessFragment__process')
1644  else:
1645  return getattr(self.__process, name)

◆ __setattr__()

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

Definition at line 1646 of file Config.py.

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

Referenced by GenObject.GenObject.setValue().

1646  def __setattr__(self, name, value):
1647  if name == '_ProcessFragment__process':
1648  object.__setattr__(self, name, value)
1649  else:
1650  setattr(self.__process, name, value)

Member Data Documentation

◆ __process

Config.ProcessFragment.__process
private