Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 from TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAny_cfi import *
00004 from TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAlong_cfi import *
00005 from TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorOpposite_cfi import *
00006 from RecoMuon.DetLayers.muonDetLayerGeometry_cfi import *
00007 from math import pi
00008
00009 muonL1MatcherParameters = cms.PSet(
00010
00011 useTrack = cms.string("tracker"),
00012 useState = cms.string("atVertex"),
00013 useSimpleGeometry = cms.bool(True),
00014 fallbackToME1 = cms.bool(False),
00015 sortBy = cms.string("pt"),
00016
00017
00018 maxDeltaR = cms.double(0.5),
00019 maxDeltaPhi = cms.double(6),
00020 maxDeltaEta = cms.double(99),
00021 l1PhiOffset = cms.double(1.25 * pi/180.),
00022 )
00023
00024
00025
00026 muonL1Match = cms.EDProducer("L1MuonMatcher",
00027 muonL1MatcherParameters,
00028
00029
00030 src = cms.InputTag("muons"),
00031
00032
00033 matched = cms.InputTag("l1extraParticles"),
00034 preselection = cms.string("bx == 0"),
00035
00036
00037 setL1Label = cms.string("l1"),
00038 setPropLabel = cms.string("propagated"),
00039
00040
00041 writeExtraInfo = cms.bool(True),
00042 )