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

Constructor & Destructor Documentation

◆ __init__()

def Config.ProcessFragment.__init__ (   self,
  process 
)

Definition at line 1593 of file Config.py.

1593  def __init__(self, process):
1594  if isinstance(process, Process):
1595  self.__process = process
1596  elif isinstance(process, str):
1597  self.__process = Process(process)
1598  #make sure we do not override the defaults
1599  del self.__process.options
1600  del self.__process.maxEvents
1601  del self.__process.maxLuminosityBlocks
1602  else:
1603  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 1616 of file Config.py.

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

1616  def __delattr__(self, name):
1617  if name == '_ProcessFragment__process':
1618  pass
1619  else:
1620  return delattr(self.__process, name)
1621 
1622 

◆ __dir__()

def Config.ProcessFragment.__dir__ (   self)

Definition at line 1604 of file Config.py.

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

1604  def __dir__(self):
1605  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 1606 of file Config.py.

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

1606  def __getattribute__(self, name):
1607  if name == '_ProcessFragment__process':
1608  return object.__getattribute__(self, '_ProcessFragment__process')
1609  else:
1610  return getattr(self.__process, name)

◆ __setattr__()

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

Definition at line 1611 of file Config.py.

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

Referenced by GenObject.GenObject.setValue().

1611  def __setattr__(self, name, value):
1612  if name == '_ProcessFragment__process':
1613  object.__setattr__(self, name, value)
1614  else:
1615  setattr(self.__process, name, value)

Member Data Documentation

◆ __process

Config.ProcessFragment.__process
private