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_Mu8_TrkIsoVVL_DZ_Mass8_v*")
20 patMuonsAfterKinCuts = cms.EDFilter(
"PATMuonSelector",
21 src = cms.InputTag(
"slimmedMuons"),
22 cut = cms.string(
"pt > 8 && abs(eta) < 2.5"),
23 filter = cms.bool(
True)
31 patMuonsAfterTightID = cms.EDFilter(
"PATMuonSelector",
32 src = cms.InputTag(
"patMuonsAfterKinCuts"),
34 "isPFMuon && isGlobalMuon" 35 " && muonID('GlobalMuonPromptTight')" 36 " && numberOfMatchedStations > 1" 37 " && innerTrack.hitPattern.trackerLayersWithMeasurement > 5" 38 " && innerTrack.hitPattern.numberOfValidPixelHits > 0" 41 filter = cms.bool(
True)
44 patMuonsAfterMediumID = cms.EDFilter(
"PATMuonSelector",
45 src = cms.InputTag(
"patMuonsAfterKinCuts"),
46 cut = cms.string(
"isMediumMuon"),
47 filter = cms.bool(
True)
50 patMuonsAfterLooseID = cms.EDFilter(
"PATMuonSelector",
51 src = cms.InputTag(
"patMuonsAfterKinCuts"),
52 cut = cms.string(
"isLooseMuon"),
53 filter = cms.bool(
True)
56 patMuonsAfterID = patMuonsAfterLooseID.clone()
58 ZmumuCandidates = cms.EDProducer(
"CandViewShallowCloneCombiner",
59 checkCharge = cms.bool(
True),
61 cut = cms.string(
'charge = 0 & max(daughter(0).pt, daughter(1).pt) > 17 & mass > 20 & daughter(0).isGlobalMuon & daughter(1).isGlobalMuon'),
62 decay = cms.string(
"patMuonsAfterID@+ patMuonsAfterID@-")
66 ZmumuCandidatesFilter = cms.EDFilter(
"CandViewCountFilter",
67 src = cms.InputTag(
"ZmumuCandidates"),
68 minNumber = cms.uint32(1)
72 selectedMuonsForEmbedding = cms.EDProducer(
"MuMuForEmbeddingSelector",
73 ZmumuCandidatesCollection = cms.InputTag(
"ZmumuCandidates"),
74 use_zmass = cms.bool(
False),
75 inputTagVertex = cms.InputTag(
"offlinePrimaryVertices"),
76 inputTagBeamSpot = cms.InputTag(
"offlineBeamSpot"),
77 PuppiMet = cms.InputTag(
"slimmedMETsPuppi"),
78 Met = cms.InputTag(
"slimmedMETs"),
81 makePatMuonsZmumuSelection = cms.Sequence(
83 + patMuonsAfterKinCuts
86 + ZmumuCandidatesFilter
87 + selectedMuonsForEmbedding
The trigger filter module.