1 import FWCore.ParameterSet.Config
as cms
9 doubleMuonHLTTrigger = cms.EDFilter(
"TriggerResultsFilter",
10 hltResults = cms.InputTag(
"TriggerResults",
"",
"HLT"),
11 l1tResults = cms.InputTag(
""),
12 throw = cms.bool(
False),
13 triggerConditions = cms.vstring(
"HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v* OR HLT_Mu17_TrkIsoVVL_TkMu8_TrkIsoVVL_DZ_v*")
19 patMuonsAfterKinCuts = cms.EDFilter(
"PATMuonSelector",
20 src = cms.InputTag(
"slimmedMuons"),
21 cut = cms.string(
"pt > 8 && abs(eta) < 2.5"),
22 filter = cms.bool(
True)
30 patMuonsAfterTightID = cms.EDFilter(
"PATMuonSelector",
31 src = cms.InputTag(
"patMuonsAfterKinCuts"),
33 "isPFMuon && isGlobalMuon" 34 " && muonID('GlobalMuonPromptTight')" 35 " && numberOfMatchedStations > 1" 36 " && innerTrack.hitPattern.trackerLayersWithMeasurement > 5" 37 " && innerTrack.hitPattern.numberOfValidPixelHits > 0" 40 filter = cms.bool(
True)
43 patMuonsAfterMediumID = cms.EDFilter(
"PATMuonSelector",
44 src = cms.InputTag(
"patMuonsAfterKinCuts"),
45 cut = cms.string(
"isMediumMuon"),
46 filter = cms.bool(
True)
49 patMuonsAfterLooseID = cms.EDFilter(
"PATMuonSelector",
50 src = cms.InputTag(
"patMuonsAfterKinCuts"),
51 cut = cms.string(
"isLooseMuon"),
52 filter = cms.bool(
True)
55 patMuonsAfterID = patMuonsAfterLooseID.clone()
57 ZmumuCandidates = cms.EDProducer(
"CandViewShallowCloneCombiner",
58 checkCharge = cms.bool(
True),
60 cut = cms.string(
'charge = 0 & max(daughter(0).pt, daughter(1).pt) > 17 & mass > 20 & daughter(0).isGlobalMuon & daughter(1).isGlobalMuon'),
61 decay = cms.string(
"patMuonsAfterID@+ patMuonsAfterID@-")
65 ZmumuCandidatesFilter = cms.EDFilter(
"CandViewCountFilter",
66 src = cms.InputTag(
"ZmumuCandidates"),
67 minNumber = cms.uint32(1),
70 selectedMuonsForEmbedding = cms.EDProducer(
"MuMuForEmbeddingSelector",
71 ZmumuCandidatesCollection = cms.InputTag(
"ZmumuCandidates")
74 makePatMuonsZmumuSelection = cms.Sequence(
76 + patMuonsAfterKinCuts
79 + ZmumuCandidatesFilter
80 + selectedMuonsForEmbedding
The trigger filter module.