1 import FWCore.ParameterSet.Config
as cms
10 patAODTrackCands.cut =
'pt > 10.' 15 trackMuMatch.maxDeltaR = 0.15
16 trackMuMatch.maxDPtRel = 1.0
17 trackMuMatch.resolveAmbiguities =
True 18 trackMuMatch.resolveByMatchQuality =
True 21 from PhysicsTools.PatAlgos.producersLayer1.genericParticleProducer_cfi
import patGenericParticles
23 allPatTracks = patGenericParticles.clone(
24 src = cms.InputTag(
"patAODTrackCands"),
26 userIsolation = cms.PSet(
28 veto = cms.double(0.015),
29 src = cms.InputTag(
"patAODTrackIsoDepositCtfTk"),
30 deltaR = cms.double(0.3),
31 threshold = cms.double(1.5)
34 src = cms.InputTag(
"patAODTrackIsoDepositCalByAssociatorTowers",
"ecal"),
35 deltaR = cms.double(0.3)
38 src = cms.InputTag(
"patAODTrackIsoDepositCalByAssociatorTowers",
"hcal"),
39 deltaR = cms.double(0.3)
42 isoDeposits = cms.PSet(
43 tracker = cms.InputTag(
"patAODTrackIsoDepositCtfTk"),
44 ecal = cms.InputTag(
"patAODTrackIsoDepositCalByAssociatorTowers",
"ecal"),
45 hcal = cms.InputTag(
"patAODTrackIsoDepositCalByAssociatorTowers",
"hcal")
47 addGenMatch = cms.bool(
True),
48 genParticleMatch = cms.InputTag(
"trackMuMatch")
52 selectedPatTracks.cut =
'pt > 10.' 58 muonMatch.maxDeltaR = 0.15
59 muonMatch.maxDPtRel = 1.0
60 muonMatch.resolveAmbiguities =
True 61 muonMatch.resolveByMatchQuality =
True 68 patMuons.isoDeposits = cms.PSet(
69 tracker = cms.InputTag(
"muIsoDepositTk"),
70 ecal = cms.InputTag(
"muIsoDepositCalByAssociatorTowers",
"ecal"),
71 hcal = cms.InputTag(
"muIsoDepositCalByAssociatorTowers",
"hcal"),
73 patMuons.userIsolation = cms.PSet(
75 src = cms.InputTag(
"muIsoDepositCalByAssociatorTowers",
"hcal"),
76 deltaR = cms.double(0.3)
79 veto = cms.double(0.015),
80 src = cms.InputTag(
"muIsoDepositTk"),
81 deltaR = cms.double(0.3),
82 threshold = cms.double(1.5)
85 src = cms.InputTag(
"muIsoDepositCalByAssociatorTowers",
"ecal"),
86 deltaR = cms.double(0.3)
91 selectedPatMuons.cut =
'pt > 0. & abs(eta) < 100.0' 99 patTrigger.triggerResults = cms.InputTag(
"TriggerResults::HLT" )
100 patTrigger.triggerEvent = cms.InputTag(
"hltTriggerSummaryAOD::HLT" )
102 muonTriggerMatchHLTMuons = cms.EDFilter(
"PATTriggerMatcherDRDPtLessByR",
103 src = cms.InputTag(
"selectedPatMuons" ),
104 matched = cms.InputTag(
"patTrigger" ),
105 andOr = cms.bool(
False ),
106 filterIdsEnum = cms.vstring(
'TriggerMuon' ),
107 filterIds = cms.vint32( 0 ),
108 filterLabels = cms.vstring(
'*' ),
109 pathNames = cms.vstring(
'HLT_Mu9' ),
110 collectionTags = cms.vstring(
'*' ),
111 maxDPtRel = cms.double( 1.0 ),
112 maxDeltaR = cms.double( 0.2 ),
113 resolveAmbiguities = cms.bool(
True ),
114 resolveByMatchQuality = cms.bool(
True )
119 patTriggerEvent.patTriggerMatches = cms.VInputTag(
"muonTriggerMatchHLTMuons" )
122 patTriggerSequence = cms.Sequence(
124 muonTriggerMatchHLTMuons *
129 selectedPatMuonsTriggerMatch = cms.EDProducer(
"PATTriggerMatchMuonEmbedder",
130 src = cms.InputTag(
"selectedPatMuons" ),
131 matches = cms.VInputTag(
"muonTriggerMatchHLTMuons" )
134 muonTriggerMatchEmbedder = cms.Sequence(
135 selectedPatMuonsTriggerMatch
140 beforePatTracks = cms.Sequence(
141 patAODTrackCandSequence *
145 beforePatMuons = cms.Sequence(
149 beforePat = cms.Sequence(
154 patCandsSequence = cms.Sequence(
161 goodMuonRecoForDimuon = cms.Sequence(
165 muonTriggerMatchEmbedder