File indexing completed on 2024-08-27 22:59:29
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def L2MuonProducer(**kwargs):
0004 mod = cms.EDProducer('L2MuonProducer',
0005 ServiceParameters = cms.PSet(
0006 Propagators = cms.untracked.vstring('hltESPFastSteppingHelixPropagatorAnyhltESPFastSteppingHelixPropagatorOpposite'),
0007 RPCLayers = cms.bool(True),
0008 UseMuonNavigation = cms.untracked.bool(True)
0009 ),
0010 InputObjects = cms.InputTag('hltL2MuonSeeds'),
0011 SeedTransformerParameters = cms.PSet(
0012 Fitter = cms.string('hltESPKFFittingSmootherForL2Muon'),
0013 MuonRecHitBuilder = cms.string('hltESPMuonTransientTrackingRecHitBuilder'),
0014 NMinRecHits = cms.uint32(2),
0015 UseSubRecHits = cms.bool(False),
0016 Propagator = cms.string('hltESPFastSteppingHelixPropagatorAny'),
0017 RescaleError = cms.double(100)
0018 ),
0019 L2TrajBuilderParameters = cms.PSet(
0020 DoRefit = cms.bool(False),
0021 SeedPropagator = cms.string('hltESPFastSteppingHelixPropagatorAny'),
0022 FilterParameters = cms.PSet(
0023 NumberOfSigma = cms.double(3),
0024 FitDirection = cms.string('insideOut'),
0025 DTRecSegmentLabel = cms.InputTag('hltDt4DSegments'),
0026 MaxChi2 = cms.double(1000),
0027 MuonTrajectoryUpdatorParameters = cms.PSet(
0028 MaxChi2 = cms.double(25),
0029 RescaleErrorFactor = cms.double(100),
0030 Granularity = cms.int32(0),
0031 ExcludeRPCFromFit = cms.bool(False),
0032 UseInvalidHits = cms.bool(True),
0033 RescaleError = cms.bool(False)
0034 ),
0035 EnableRPCMeasurement = cms.bool(True),
0036 CSCRecSegmentLabel = cms.InputTag('hltCscSegments'),
0037 EnableDTMeasurement = cms.bool(True),
0038 RPCRecSegmentLabel = cms.InputTag('hltRpcRecHits'),
0039 Propagator = cms.string('hltESPFastSteppingHelixPropagatorAny'),
0040 EnableGEMMeasurement = cms.bool(False),
0041 GEMRecSegmentLabel = cms.InputTag('gemRecHits'),
0042 EnableME0Measurement = cms.bool(False),
0043 ME0RecSegmentLabel = cms.InputTag('me0Segments'),
0044 EnableCSCMeasurement = cms.bool(True)
0045 ),
0046 NavigationType = cms.string('Standard'),
0047 SeedTransformerParameters = cms.PSet(
0048 Fitter = cms.string('hltESPKFFittingSmootherForL2Muon'),
0049 MuonRecHitBuilder = cms.string('hltESPMuonTransientTrackingRecHitBuilder'),
0050 NMinRecHits = cms.uint32(2),
0051 UseSubRecHits = cms.bool(False),
0052 Propagator = cms.string('hltESPFastSteppingHelixPropagatorAny'),
0053 RescaleError = cms.double(100)
0054 ),
0055 DoBackwardFilter = cms.bool(True),
0056 SeedPosition = cms.string('in'),
0057 BWFilterParameters = cms.PSet(
0058 NumberOfSigma = cms.double(3),
0059 CSCRecSegmentLabel = cms.InputTag('hltCscSegments'),
0060 FitDirection = cms.string('outsideIn'),
0061 DTRecSegmentLabel = cms.InputTag('hltDt4DSegments'),
0062 MaxChi2 = cms.double(100),
0063 MuonTrajectoryUpdatorParameters = cms.PSet(
0064 MaxChi2 = cms.double(25),
0065 RescaleErrorFactor = cms.double(100),
0066 Granularity = cms.int32(0),
0067 ExcludeRPCFromFit = cms.bool(False),
0068 UseInvalidHits = cms.bool(True),
0069 RescaleError = cms.bool(False)
0070 ),
0071 EnableRPCMeasurement = cms.bool(True),
0072 BWSeedType = cms.string('fromGenerator'),
0073 EnableDTMeasurement = cms.bool(True),
0074 RPCRecSegmentLabel = cms.InputTag('hltRpcRecHits'),
0075 Propagator = cms.string('hltESPFastSteppingHelixPropagatorAny'),
0076 EnableGEMMeasurement = cms.bool(False),
0077 GEMRecSegmentLabel = cms.InputTag('gemRecHits'),
0078 EnableME0Measurement = cms.bool(False),
0079 ME0RecSegmentLabel = cms.InputTag('me0Segments'),
0080 EnableCSCMeasurement = cms.bool(True)
0081 ),
0082 DoSeedRefit = cms.bool(False)
0083 ),
0084 DoSeedRefit = cms.bool(False),
0085 TrackLoaderParameters = cms.PSet(
0086 Smoother = cms.string('hltESPKFTrajectorySmootherForMuonTrackLoader'),
0087 DoSmoothing = cms.bool(False),
0088 beamSpot = cms.InputTag('hltOnlineBeamSpot'),
0089 MuonUpdatorAtVertexParameters = cms.PSet(
0090 MaxChi2 = cms.double(1000000),
0091 BeamSpotPosition = cms.vdouble(
0092 0,
0093 0,
0094 0
0095 ),
0096 Propagator = cms.string('hltESPFastSteppingHelixPropagatorOpposite'),
0097 BeamSpotPositionErrors = cms.vdouble(
0098 0.1,
0099 0.1,
0100 5.3
0101 )
0102 ),
0103 VertexConstraint = cms.bool(True),
0104 TTRHBuilder = cms.string('hltESPTTRHBWithTrackAngle')
0105 ),
0106 MuonTrajectoryBuilder = cms.string('Exhaustive'),
0107 mightGet = cms.optional.untracked.vstring
0108 )
0109 for k,v in kwargs.items():
0110 setattr(mod, k, v)
0111 return mod