File indexing completed on 2024-04-06 12:22:48
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAny_cfi import *
0004 from TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAlong_cfi import *
0005 from TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorOpposite_cfi import *
0006 from RecoMuon.DetLayers.muonDetLayerGeometry_cfi import *
0007 from math import pi
0008
0009 muonL1MatcherParameters = cms.PSet(
0010
0011 useTrack = cms.string("tracker"),
0012 useState = cms.string("atVertex"),
0013 useSimpleGeometry = cms.bool(True),
0014 fallbackToME1 = cms.bool(False),
0015
0016 useMB2InOverlap = cms.bool(False),
0017 useStage2L1 = cms.bool(False),
0018
0019 sortBy = cms.string("pt"),
0020
0021
0022 maxDeltaR = cms.double(0.5),
0023 maxDeltaPhi = cms.double(6),
0024 maxDeltaEta = cms.double(99),
0025 l1PhiOffset = cms.double(1.25 * pi/180.),
0026 )
0027
0028
0029
0030 muonL1Match = cms.EDProducer("L1MuonMatcher",
0031 muonL1MatcherParameters,
0032
0033
0034 src = cms.InputTag("muons"),
0035
0036
0037 matched = cms.InputTag("l1extraParticles"),
0038 preselection = cms.string("bx == 0"),
0039
0040
0041 setL1Label = cms.string("l1"),
0042 setPropLabel = cms.string("propagated"),
0043
0044
0045 writeExtraInfo = cms.bool(True),
0046
0047
0048 firstBX = cms.int32(0),
0049 lastBX = cms.int32(0),
0050
0051 )