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

Constructor & Destructor Documentation

◆ __init__()

def Config.ProcessFragment.__init__ (   self,
  process 
)

Definition at line 1591 of file Config.py.

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

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

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

◆ __dir__()

def Config.ProcessFragment.__dir__ (   self)

Definition at line 1602 of file Config.py.

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

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

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

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

◆ __setattr__()

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

Definition at line 1609 of file Config.py.

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

Referenced by GenObject.GenObject.setValue().

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

Member Data Documentation

◆ __process

Config.ProcessFragment.__process
private