Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:26:51

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoMuon.TrackingTools.MuonServiceProxy_cff import *
0004 from RecoMuon.TrackingTools.MuonTrackLoader_cff import *
0005 from TrackingTools.GeomPropagators.StraightLinePropagator_cfi import *
0006 
0007 MuonServiceProxy.ServiceParameters.Propagators.append('StraightLinePropagator')
0008 
0009 cosmicMuons = cms.EDProducer("CosmicMuonProducer",
0010     MuonTrackLoaderForCosmic,
0011     MuonServiceProxy,
0012     TrajectoryBuilderParameters = cms.PSet(
0013         DTRecSegmentLabel = cms.InputTag("dt4DSegments"),
0014         BackwardMuonTrajectoryUpdatorParameters = cms.PSet(
0015             MaxChi2 = cms.double(100.0),
0016             RescaleError = cms.bool(False),
0017             RescaleErrorFactor = cms.double(1.0),
0018             Granularity = cms.int32(2),
0019             UseInvalidHits = cms.bool(False),
0020             ExcludeRPCFromFit = cms.bool(False)
0021         ),
0022         RPCRecSegmentLabel = cms.InputTag("rpcRecHits"),
0023         MuonTrajectoryUpdatorParameters = cms.PSet(
0024             MaxChi2 = cms.double(3000.0),
0025             RescaleError = cms.bool(False),
0026             RescaleErrorFactor = cms.double(1.0),
0027             Granularity = cms.int32(0),
0028             UseInvalidHits = cms.bool(False),
0029             ExcludeRPCFromFit = cms.bool(False)
0030         ),
0031         EnableRPCMeasurement = cms.bool(True),
0032         CSCRecSegmentLabel = cms.InputTag("cscSegments"),
0033         BuildTraversingMuon = cms.bool(False),
0034         Strict1Leg = cms.bool(False),
0035         EnableDTMeasurement = cms.bool(True),
0036         MuonSmootherParameters = cms.PSet(
0037             PropagatorAlong = cms.string('SteppingHelixPropagatorAny'),
0038             PropagatorOpposite = cms.string('SteppingHelixPropagatorAny'),
0039             RescalingFactor = cms.double(5.0) 
0040         ),
0041         Propagator = cms.string('SteppingHelixPropagatorAny'),
0042         EnableCSCMeasurement = cms.bool(True),
0043         MuonNavigationParameters = cms.PSet(
0044             Barrel = cms.bool(True),
0045             Endcap = cms.bool(True)
0046         )
0047     ),
0048     MuonSeedCollectionLabel = cms.string('CosmicMuonSeed')
0049 )
0050