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.SwitchOnTriggerMatching Class Reference
Inheritance diagram for trigTools.SwitchOnTriggerMatching:

Public Member Functions

def __call__
 
def __init__
 
def getDefaultParameters
 
def toolCode
 

Private Attributes

 _comment
 
 _parameters
 

Static Private Attributes

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

Detailed Description

Enables trigger matching in PAT
SwitchOnTriggerMatching( [cms.Process], triggerMatchers = [default list], triggerProducer = 'patTrigger', triggerEventProducer = 'patTriggerEvent', path = '', hltProcess = 'HLT', outputModule = 'out', postfix = '' )
- [cms.Process]       : the 'cms.Process'
- triggerMatchers     : PAT trigger matcher module labels (list)
                        optional; default: defined in '_exampleTriggerMatchers'
                        (s. PhysicsTools/PatAlgos/python/triggerLayer1/triggerMatcherExamples_cfi.py)
- triggerProducer     : PATTriggerProducer module label;
                        optional, default: 'patTrigger'
- triggerEventProducer: PATTriggerEventProducer module label;
                        optional, default: 'patTriggerEvent'
- path                : name of path to use;
                        optional, default: 'patDefaultSequence'
- 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 279 of file trigTools.py.

Constructor & Destructor Documentation

def trigTools.SwitchOnTriggerMatching.__init__ (   self)

Definition at line 304 of file trigTools.py.

Member Function Documentation

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

Definition at line 328 of file trigTools.py.

def trigTools.SwitchOnTriggerMatching.getDefaultParameters (   self)

Definition at line 317 of file trigTools.py.

def trigTools.SwitchOnTriggerMatching.toolCode (   self,
  process 
)

Definition at line 353 of file trigTools.py.

Member Data Documentation

trigTools.SwitchOnTriggerMatching._comment
private

Definition at line 315 of file trigTools.py.

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

Definition at line 302 of file trigTools.py.

string trigTools.SwitchOnTriggerMatching._label = 'switchOnTriggerMatching'
staticprivate

Definition at line 301 of file trigTools.py.

trigTools.SwitchOnTriggerMatching._parameters
private

Definition at line 314 of file trigTools.py.