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 Attributes | Static Private Attributes
trigTools.SwitchOnTriggerMatchEmbedding Class Reference
Inheritance diagram for trigTools.SwitchOnTriggerMatchEmbedding:

Public Member Functions

def __call__
 
def __init__
 
def getDefaultParameters
 
def toolCode
 

Private Attributes

 _comment
 
 _parameters
 

Static Private Attributes

tuple _defaultParameters = dicttypes.SortedKeysDict()
 
string _label = 'switchOnTriggerMatchEmbedding'
 

Detailed Description

Enables embedding of trigger matches into PAT objects
SwitchOnTriggerMatchEmbedding( [cms.Process], triggerMatchers = [default list], triggerProducer = 'patTrigger', path = '', hltProcess = 'HLT', outputModule = 'out', postfix = '' )
- [cms.Process]  : the 'cms.Process'
- triggerMatchers: PAT trigger matcher module labels (list)
                   optional; default: defined in 'triggerMatchingDefaultSequence'
                   (s. PhysicsTools/PatAlgos/python/triggerLayer1/triggerMatcherExamples_cfi.py)
- triggerProducer: PATTriggerProducer module label;
                   optional, default: 'patTrigger'
- path           : name of path to use;
                   optional, default: ''
- hltProcess     : HLT process name;
                   optional, default: 'HLT'
- outputModule   : output module label;
                   empty label indicates no output;
                   optional, default: 'out'
- postfix        : postfix to apply to PAT module labels;
                   optional, default: ''
Using None as any argument restores its default value.

Definition at line 531 of file trigTools.py.

Constructor & Destructor Documentation

def trigTools.SwitchOnTriggerMatchEmbedding.__init__ (   self)

Definition at line 554 of file trigTools.py.

Member Function Documentation

def trigTools.SwitchOnTriggerMatchEmbedding.__call__ (   self,
  process,
  triggerMatchers = None,
  triggerProducer = None,
  path = None,
  hltProcess = None,
  outputModule = None,
  postfix = None 
)

Definition at line 576 of file trigTools.py.

def trigTools.SwitchOnTriggerMatchEmbedding.getDefaultParameters (   self)

Definition at line 566 of file trigTools.py.

def trigTools.SwitchOnTriggerMatchEmbedding.toolCode (   self,
  process 
)

Definition at line 598 of file trigTools.py.

Member Data Documentation

trigTools.SwitchOnTriggerMatchEmbedding._comment
private

Definition at line 564 of file trigTools.py.

tuple trigTools.SwitchOnTriggerMatchEmbedding._defaultParameters = dicttypes.SortedKeysDict()
staticprivate

Definition at line 552 of file trigTools.py.

string trigTools.SwitchOnTriggerMatchEmbedding._label = 'switchOnTriggerMatchEmbedding'
staticprivate

Definition at line 551 of file trigTools.py.

trigTools.SwitchOnTriggerMatchEmbedding._parameters
private

Definition at line 563 of file trigTools.py.