CMS 3D CMS Logo

globalMuons_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # magnetic field
4 # geometry
5 # from Geometry.CommonDetUnit.globalTrackingGeometry_cfi import *
6 # from RecoMuon.DetLayers.muonDetLayerGeometry_cfi import *
7 # from RecoTracker.GeometryESProducer.TrackerRecoGeometryESProducer_cfi import *
16 Chi2EstimatorForMuRefit = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone()
17 Chi2EstimatorForMuRefit.ComponentName = cms.string('Chi2EstimatorForMuRefit')
18 Chi2EstimatorForMuRefit.nSigma = 3.0
19 Chi2EstimatorForMuRefit.MaxChi2 = 100000.0
20 
21 
23 GlbMuKFFitter = TrackingTools.TrackFitters.KFTrajectoryFitter_cfi.KFTrajectoryFitter.clone(
24  ComponentName = cms.string('GlbMuKFFitter'),
25  Estimator = cms.string('Chi2EstimatorForMuRefit'),
26  Propagator = cms.string('SmartPropagatorAnyRK'),
27  Updator = cms.string('KFUpdator'),
28  minHits = cms.int32(3)
29 )
30 
31 from Configuration.Eras.Modifier_fastSim_cff import fastSim
32 # FastSim doesn't use Runge Kute for propagation
33 fastSim.toModify(GlbMuKFFitter,
34  Propagator = "SmartPropagatorAny")
35 
36