CMS 3D CMS Logo

List of all members | Public Member Functions | Static Private Member Functions
Types.VEventID Class Reference
Inheritance diagram for Types.VEventID:
Mixins._ValidatingParameterListBase Mixins._ValidatingListBase Mixins._ParameterTypeBase

Public Member Functions

def __init__ (self, arg, args)
 
def configValueForItem (self, item, options)
 
def insertInto (self, parameterSet, myname)
 
def pythonValueForItem (self, item, options)
 
- Public Member Functions inherited from Mixins._ValidatingParameterListBase
def __init__ (self, arg, args)
 
def __repr__ (self)
 
def configValue (self, options=PrintOptions())
 
def configValueForItem (self, item, options)
 
def dumpPython (self, options=PrintOptions())
 
def pythonValueForItem (self, item, options)
 
def setValue (self, v)
 
def value (self)
 
- Public Member Functions inherited from Mixins._ValidatingListBase
def __add__ (self, rhs)
 
def __init__ (self, arg, args)
 
def __setitem__ (self, key, value)
 
def append (self, x)
 
def extend (self, x)
 
def insert (self, i, x)
 
- Public Member Functions inherited from Mixins._ParameterTypeBase
def __init__ (self)
 
def __repr__ (self)
 
def configTypeName (self)
 
def dumpPython (self, options=PrintOptions())
 
def isFrozen (self)
 
def isModified (self)
 
def isTracked (self)
 
def pythonTypeName (self)
 
def resetModified (self)
 
def setIsFrozen (self)
 
def setIsTracked (self, trackness)
 

Static Private Member Functions

def _itemIsValid (item)
 
def _valueFromString (value)
 

Detailed Description

Definition at line 902 of file Types.py.

Constructor & Destructor Documentation

def Types.VEventID.__init__ (   self,
  arg,
  args 
)

Definition at line 903 of file Types.py.

903  def __init__(self,*arg,**args):
904  super(VEventID,self).__init__(*arg,**args)
def __init__(self, arg, args)
Definition: Types.py:903

Member Function Documentation

def Types.VEventID._itemIsValid (   item)
staticprivate
def Types.VEventID._valueFromString (   value)
staticprivate

Definition at line 917 of file Types.py.

917  def _valueFromString(value):
918  return VEventID(*_ValidatingParameterListBase._itemsFromStrings(value,EventID._valueFromString))
def _valueFromString(value)
Definition: Types.py:917
def Types.VEventID.configValueForItem (   self,
  item,
  options 
)

Definition at line 908 of file Types.py.

908  def configValueForItem(self,item,options):
909  return EventID.formatValueForConfig(item)
def configValueForItem(self, item, options)
Definition: Types.py:908
def Types.VEventID.insertInto (   self,
  parameterSet,
  myname 
)

Definition at line 919 of file Types.py.

References edm::AllowedLabelsDescriptionBase.isTracked(), edm::ParameterWildcardBase.isTracked(), edm::ParameterDescriptionBase.isTracked(), edm::ParameterSetEntry.isTracked(), edm::VParameterSetEntry.isTracked(), Mixins._ParameterTypeBase.isTracked(), edm::Entry.isTracked(), and list().

919  def insertInto(self, parameterSet, myname):
920  cppIDs = list()
921  for i in self:
922  item = i
923  if isinstance(item, str):
924  item = EventID._valueFromString(item)
925  cppIDs.append(item.cppID(parameterSet))
926  parameterSet.addVEventID(self.isTracked(), myname, cppIDs)
927 
928 
def insertInto(self, parameterSet, myname)
Definition: Types.py:919
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run
def Types.VEventID.pythonValueForItem (   self,
  item,
  options 
)

Definition at line 910 of file Types.py.

910  def pythonValueForItem(self,item, options):
911  # we tolerate strings as members
912  if isinstance(item, str):
913  return '"'+item+'"'
914  else:
915  return item.dumpPython(options)
def pythonValueForItem(self, item, options)
Definition: Types.py:910