CMS 3D CMS Logo

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

Public Member Functions

def __init__ (self, lhs)
 
- 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 a Modifier is not chosen

Definition at line 1811 of file Config.py.

Constructor & Destructor Documentation

◆ __init__()

def Config._InvertModifier.__init__ (   self,
  lhs 
)

Definition at line 1813 of file Config.py.

1813  def __init__(self, lhs):
1814  super(_InvertModifier,self).__init__(lhs)
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._InvertModifier._isChosen (   self,
  bool 
)
private

Definition at line 1815 of file Config.py.

References Config._BoolModifierBase._lhs.

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

1815  def _isChosen(self) -> bool:
1816  return not self._lhs._isChosen()
1817