CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
Modules.ESPrefer Class Reference
Inheritance diagram for Modules.ESPrefer:
Mixins._ConfigureComponent Mixins._TypedParameterizable Mixins._Unlabelable Mixins._Labelable Mixins._Parameterizable

Public Member Functions

def __init__
 
def copy
 
def dumpPythonAs
 
def moduleLabel_
 
def nameInProcessDesc_
 
def targetLabel_
 
- Public Member Functions inherited from Mixins._TypedParameterizable
def __init__
 
def clone
 
def copy
 
def dumpConfig
 
def dumpPython
 
def dumpPythonAttributes
 
def insertInto
 
def moduleLabel_
 
def nameInProcessDesc_
 
def type_
 
- Public Member Functions inherited from Mixins._Parameterizable
def __delattr__
 
def __init__
 
def __repr__
 
def __setattr__
 
def dumpPython
 
def getParameter
 
def hasParameter
 
def insertContentsInto
 
def isFrozen
 
def isModified
 
def parameterNames_
 
def parameters_
 
def setIsFrozen
 
- Public Member Functions inherited from Mixins._Labelable
def __str__
 
def dumpSequenceConfig
 
def dumpSequencePython
 
def hasLabel_
 
def label
 
def label_
 
def setLabel
 

Private Member Functions

def _placeImpl
 

Private Attributes

 _targetLabel
 

Detailed Description

Used to set which EventSetup provider should provide a particular data item
in the case where multiple providers are capable of delivering the data.
The first argument specifies the C++ class type of the prodiver.
If the provider has been given a label, you must specify that label as the second argument.
Additional 'vstring' arguments maybe used to specify exactly which EventSetup Records
are being preferred and optionally which data items within that Record.
E.g.,
    #prefer all data in record 'OrangeRecord' from 'juicer'
    ESPrefer("ESJuicerProd", OrangeRecord=cms.vstring())
or
    #prefer only "Orange" data in "OrangeRecord" from "juicer" 
    ESPrefer("ESJuicerProd", OrangeRecord=cms.vstring("ExtraPulp"))
or 
    #prefer only "Orange" data with label "ExtraPulp" in "OrangeRecord" from "juicer" 
    ESPrefer("ESJuicerProd", OrangeRecord=cms.vstring("Orange/ExtraPulp"))

Definition at line 55 of file Modules.py.

Constructor & Destructor Documentation

def Modules.ESPrefer.__init__ (   self,
  type_,
  targetLabel = '',
  arg,
  kargs 
)

Definition at line 72 of file Modules.py.

Member Function Documentation

def Modules.ESPrefer._placeImpl (   self,
  name,
  proc 
)
private

Definition at line 81 of file Modules.py.

def Modules.ESPrefer.copy (   self)

Definition at line 86 of file Modules.py.

def Modules.ESPrefer.dumpPythonAs (   self,
  label,
  options = PrintOptions() 
)

Definition at line 94 of file Modules.py.

def Modules.ESPrefer.moduleLabel_ (   self,
  myname 
)

Definition at line 90 of file Modules.py.

def Modules.ESPrefer.nameInProcessDesc_ (   self,
  myname 
)

Definition at line 83 of file Modules.py.

def Modules.ESPrefer.targetLabel_ (   self)

Definition at line 92 of file Modules.py.

Member Data Documentation

Modules.ESPrefer._targetLabel
private

Definition at line 74 of file Modules.py.