12 patAODTrackCands.cut =
'pt > 15.'
15 from PhysicsTools.PatAlgos.producersLayer1.genericParticleProducer_cfi
import patGenericParticles
17 allPatTracks = patGenericParticles.clone(
18 src = cms.InputTag(
"patAODTrackCands"),
19 embedTrack = cms.bool(
True),
21 userIsolation = cms.PSet(
23 veto = cms.double(0.015),
24 src = cms.InputTag(
"patAODTrackIsoDepositCtfTk"),
25 deltaR = cms.double(0.3),
26 threshold = cms.double(1.5)
29 src = cms.InputTag(
"patAODTrackIsoDepositCalByAssociatorTowers",
"ecal"),
30 deltaR = cms.double(0.3)
33 src = cms.InputTag(
"patAODTrackIsoDepositCalByAssociatorTowers",
"hcal"),
34 deltaR = cms.double(0.3)
37 isoDeposits = cms.PSet(
38 tracker = cms.InputTag(
"patAODTrackIsoDepositCtfTk"),
39 ecal = cms.InputTag(
"patAODTrackIsoDepositCalByAssociatorTowers",
"ecal"),
40 hcal = cms.InputTag(
"patAODTrackIsoDepositCalByAssociatorTowers",
"hcal")
42 addGenMatch = cms.bool(
False)
46 selectedPatTracks.cut =
'pt > 15. & track.dxy()<1.0'
69 patMuons.isoDeposits = cms.PSet(
70 tracker = cms.InputTag(
"muIsoDepositTk"),
71 ecal = cms.InputTag(
"muIsoDepositCalByAssociatorTowers",
"ecal"),
72 hcal = cms.InputTag(
"muIsoDepositCalByAssociatorTowers",
"hcal"),
74 patMuons.userIsolation = cms.PSet(
76 src = cms.InputTag(
"muIsoDepositCalByAssociatorTowers",
"hcal"),
77 deltaR = cms.double(0.3)
80 veto = cms.double(0.015),
81 src = cms.InputTag(
"muIsoDepositTk"),
82 deltaR = cms.double(0.3),
83 threshold = cms.double(1.5)
86 src = cms.InputTag(
"muIsoDepositCalByAssociatorTowers",
"ecal"),
87 deltaR = cms.double(0.3)
91 patMuons.addGenMatch = cms.bool(
False)
92 patMuons.embedTrack = cms.bool(
True)
93 patMuons.embedCombinedMuon = cms.bool(
True)
94 patMuons.embedStandAloneMuon = cms.bool(
True)
95 patMuons.embedPickyMuon = cms.bool(
False)
96 patMuons.embedTpfmsMuon = cms.bool(
False)
97 patMuons.embedPFCandidate = cms.bool(
False)
100 selectedPatMuons.cut =
'pt > 15. & abs(eta) < 100.0 & ( (isGlobalMuon==1 & innerTrack.dxy()<1.0) | ((isTrackerMuon==1 & innerTrack.dxy()<1.0) | (isStandAloneMuon==1 & outerTrack.dxy()<1.0) ))'
108 patTrigger.triggerResults = cms.InputTag(
"TriggerResults::HLT" )
109 patTrigger.triggerEvent = cms.InputTag(
"hltTriggerSummaryAOD::HLT" )
111 muonTriggerMatchHLTMuons = cms.EDProducer(
"PATTriggerMatcherDRDPtLessByR",
112 src = cms.InputTag(
"selectedPatMuons" ),
113 matched = cms.InputTag(
"patTrigger" ),
114 andOr = cms.bool(
False ),
115 filterIdsEnum = cms.vstring(
'TriggerMuon' ),
116 filterIds = cms.vint32( 0 ),
117 filterLabels = cms.vstring(
'*' ),
118 pathNames = cms.vstring(
'HLT_Mu9' ),
119 collectionTags = cms.vstring(
'*' ),
120 maxDPtRel = cms.double( 1.0 ),
121 maxDeltaR = cms.double( 0.2 ),
122 resolveAmbiguities = cms.bool(
True ),
123 resolveByMatchQuality = cms.bool(
False )
127 patTriggerEvent.patTriggerMatches = cms.VInputTag(
"muonTriggerMatchHLTMuons" )
129 patTriggerSequence = cms.Sequence(
131 muonTriggerMatchHLTMuons *
135 selectedPatMuonsTriggerMatch = cms.EDProducer(
"PATTriggerMatchMuonEmbedder",
136 src = cms.InputTag(
"selectedPatMuons" ),
137 matches = cms.VInputTag(
"muonTriggerMatchHLTMuons" )
140 muonTriggerMatchEmbedder = cms.Sequence(
141 selectedPatMuonsTriggerMatch
150 beforePatTracks = cms.Sequence(
151 patAODTrackCandSequence
154 beforePat = cms.Sequence(
160 patCandsSequence = cms.Sequence(
167 goodMuonRecoForDimuon = cms.Sequence(
171 muonTriggerMatchEmbedder