CMS 3D CMS Logo

globalMuons_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
6 globalMuons = cms.EDProducer("GlobalMuonProducer",
7  MuonServiceProxy,
8  MuonTrackLoaderForGLB,
9  GLBTrajBuilderParameters = cms.PSet(
10  GlobalTrajectoryBuilderCommon
11  ),
12  TrackerCollectionLabel = cms.InputTag("generalTracks"),
13  MuonCollectionLabel = cms.InputTag("standAloneMuons","UpdatedAtVtx")
14 )
15 
16 globalMuons.GLBTrajBuilderParameters.GlobalMuonTrackMatcher.Propagator = 'SmartPropagatorRK'
17 globalMuons.GLBTrajBuilderParameters.TrackTransformer.Propagator = cms.string('SmartPropagatorAnyRK')
18 
19 # FastSim has no template fit on tracker hits
20 # FastSim doesn't use Runge Kute for propagation
21 from Configuration.Eras.Modifier_fastSim_cff import fastSim
22 fastSim.toModify(globalMuons,
23  GLBTrajBuilderParameters =dict(GlbRefitterParameters = dict(TrackerRecHitBuilder = 'WithoutRefit',
24  Propagator = 'SmartPropagatorAny'),
25  TrackerRecHitBuilder = 'WithoutRefit',
26  TrackTransformer = dict(TrackerRecHitBuilder = 'WithoutRefit',
27  Propagator = 'SmartPropagatorAny'),
28  GlobalMuonTrackMatcher = dict(Propagator = 'SmartPropagator')
29  )
30 )
MuonServiceProxy_cff
GlobalTrajectoryBuilderCommon_cff
MuonTrackLoader_cff