Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Alignment
APEEstimation
python
TriggerSelection_cff.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
3
4
5
6
## Trigger for MC
7
import
HLTrigger.HLTfilters.hltHighLevel_cfi
8
TriggerFilter = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
9
TriggerResultsTag = cms.InputTag(
"TriggerResults"
,
""
,
"HLT"
),
10
#HLTPaths = ['HLT_Mu9', 'HLT_Mu15_v*'],
11
#HLTPaths = ['HLT_IsoMu17_v*'],
12
HLTPaths = [
'HLT_IsoMu24_*'
],
# # provide list of HLT paths (or patterns) you want
13
#HLTPaths = ['@'],
14
#andOr = cms.bool(True), # how to deal with multiple triggers: True (OR) accept if ANY is true, False (AND) accept if ALL are true
15
throw =
False
,
## throw exception on unknown path names
16
)
17
18
19
20
## SEQUENCE
21
TriggerSelectionSequence = cms.Sequence(
22
TriggerFilter
23
)
24
25
26
27
28
Config
hltHighLevel_cfi
Generated for CMSSW Reference Manual by
1.8.5