CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions
Config._OrModifier Class Reference
Inheritance diagram for Config._OrModifier:
Config._BoolModifierBase

Public Member Functions

def __init__ (self, lhs, rhs)
 
- Public Member Functions inherited from Config._BoolModifierBase
def __and__ (self, other)
 
def __init__ (self, lhs, rhs=None)
 
def __invert__ (self)
 
def __or__ (self, other)
 
def makeProcessModifier (self, func)
 
def toModify (self, obj, func=None, kw)
 
def toReplaceWith (self, toObj, fromObj)
 

Private Member Functions

def _isChosen (self)
 

Detailed Description

A modifier which only applies if at least one of multiple Modifiers is chosen

Definition at line 1771 of file Config.py.

Constructor & Destructor Documentation

◆ __init__()

def Config._OrModifier.__init__ (   self,
  lhs,
  rhs 
)

Definition at line 1773 of file Config.py.

1773  def __init__(self, lhs, rhs):
1774  super(_OrModifier,self).__init__(lhs, rhs)
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

◆ _isChosen()

def Config._OrModifier._isChosen (   self)
private

Definition at line 1775 of file Config.py.

References Config._BoolModifierBase._lhs, and Config._BoolModifierBase._rhs.

Referenced by Config._BoolModifierBase.toModify(), Config.Modifier.toModify(), Config._BoolModifierBase.toReplaceWith(), and Config.Modifier.toReplaceWith().

1775  def _isChosen(self):
1776  return self._lhs._isChosen() or self._rhs._isChosen()
1777 
1778