CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  VertexCollectionLabel = cms.InputTag("offlinePrimaryVertices"),
15  selectHighPurity = cms.bool(False)
16 )
17 
18 globalMuons.GLBTrajBuilderParameters.GlobalMuonTrackMatcher.Propagator = 'SmartPropagatorRK'
19 globalMuons.GLBTrajBuilderParameters.TrackTransformer.Propagator = cms.string('SmartPropagatorAnyRK')
20 
21 # FastSim has no template fit on tracker hits
22 # FastSim doesn't use Runge Kute for propagation
23 from Configuration.Eras.Modifier_fastSim_cff import fastSim
24 fastSim.toModify(globalMuons,
25  GLBTrajBuilderParameters =dict(GlbRefitterParameters = dict(TrackerRecHitBuilder = 'WithoutRefit',
26  Propagator = 'SmartPropagatorAny'),
27  TrackerRecHitBuilder = 'WithoutRefit',
28  TrackTransformer = dict(TrackerRecHitBuilder = 'WithoutRefit',
29  Propagator = 'SmartPropagatorAny'),
30  GlobalMuonTrackMatcher = dict(Propagator = 'SmartPropagator')
31  )
32 )
33 
34 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
35 pp_on_AA.toModify(globalMuons, selectHighPurity = True)