00001 import FWCore.ParameterSet.Config as cms 00002 00003 from TrackingTools.KalmanUpdators.KFUpdatorESProducer_cfi import * 00004 from TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi import * 00005 from TrackingTools.MaterialEffects.Propagators_cff import * 00006 from TrackingTools.TrackFitters.TrackFitters_cff import * 00007 from RecoLocalTracker.SiStripRecHitConverter.StripCPEfromTrackAngle_cfi import * 00008 from RecoLocalTracker.SiStripRecHitConverter.SiStripRecHitMatcher_cfi import * 00009 from RecoLocalTracker.SiPixelRecHits.PixelCPEParmError_cfi import * 00010 from RecoTracker.TransientTrackingRecHit.TransientTrackingRecHitBuilder_cfi import * 00011 00012 00013 #could it just use the standard KFFittingSmootherWithOutliersRejectionAndRK ?? 00014 import TrackingTools.TrackFitters.KFFittingSmootherESProducer_cfi 00015 FittingSmootherRKP5 = TrackingTools.TrackFitters.KFFittingSmootherESProducer_cfi.KFFittingSmoother.clone() 00016 FittingSmootherRKP5.ComponentName = 'FittingSmootherRKP5' 00017 FittingSmootherRKP5.Fitter = 'RKFitter' 00018 FittingSmootherRKP5.Smoother = 'RKSmoother' 00019 FittingSmootherRKP5.MinNumberOfHits = 4 #why is this set to 4?? 00020 FittingSmootherRKP5.EstimateCut = cms.double(20.0) 00021 FittingSmootherRKP5.BreakTrajWith2ConsecutiveMissing = cms.bool(False) 00022 00023 import RecoTracker.TrackProducer.TrackProducer_cfi 00024 ctfWithMaterialTracksCosmics = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone( 00025 src = 'ckfTrackCandidatesP5', 00026 Fitter = 'FittingSmootherRKP5', 00027 TTRHBuilder = 'WithTrackAngle', 00028 AlgorithmName = cms.string('ctf') 00029 ) 00030