1 import FWCore.ParameterSet.Config
as cms
6 muonL1MatchExtended = cms.EDProducer(
"L1MatcherExtended",
7 muons = cms.InputTag(
"muons"),
8 l1extra = cms.InputTag(
"l1extraParticles"),
9 segmentArbitration = cms.string(
"SegmentAndTrackArbitration"),
10 csctfDigis = cms.InputTag(
"csctfDigis"),
11 csctfLcts = cms.InputTag(
"csctfDigis"),
12 matcherGeom = cms.PSet(
13 preselection = cms.string(
"gmtMuonCand.quality > 1"),
14 useTrack = cms.string(
"tracker"),
15 useState = cms.string(
"atVertex"),
16 maxDeltaR = cms.double(1.5),
17 maxDeltaEta = cms.double(0.3),
18 l1PhiOffset = cms.double(1.25 * pi/180.),
19 useSimpleGeometry = cms.bool(
True),
20 fallbackToME1 = cms.bool(
True),
24 def addUserData(patMuonProducer, matcherLabel='muonL1MatchExtended', addExtraInfo=False):
25 patMuonProducer.userData.userInts.src += [ cms.InputTag(matcherLabel) ]
27 for L
in (
"cscMode",
"canPropagate",
"l1q"):
28 patMuonProducer.userData.userInts.src += [ cms.InputTag(matcherLabel,L) ]
29 for L
in (
"deltaR",
"deltaEta",
"deltaPhi",
"l1pt"):
30 patMuonProducer.userData.userFloats.src += [ cms.InputTag(matcherLabel,L) ]
def addUserData(patMuonProducer, matcherLabel='muonL1MatchExtended', addExtraInfo=False)