Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 23:31:31

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoLocalTracker.SiStripRecHitConverter.StripCPEfromTrackAngle_cfi import *
0004 from RecoLocalTracker.SiStripRecHitConverter.SiStripRecHitMatcher_cfi import *
0005 from RecoLocalTracker.SiPixelRecHits.PixelCPEGeneric_cfi import *
0006 
0007 from TrackingTools.KalmanUpdators.KFUpdatorESProducer_cfi import *
0008 from TrackingTools.GeomPropagators.SmartPropagator_cff import *
0009 
0010 from RecoMTD.TransientTrackingRecHit.MTDTransientTrackingRecHitBuilder_cfi import *
0011 from RecoMuon.TransientTrackingRecHit.MuonTransientTrackingRecHitBuilder_cfi import *
0012 from RecoTracker.TransientTrackingRecHit.TransientTrackingRecHitBuilder_cfi import *
0013 
0014 from TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi import *
0015 
0016 Chi2EstimatorForRefit = Chi2MeasurementEstimator.clone(
0017     ComponentName = 'Chi2EstimatorForRefit',
0018     MaxChi2 = 100000.0,
0019     nSigma = 3.0
0020 )
0021 
0022 from TrackingTools.TrackFitters.KFTrajectoryFitter_cfi import *
0023 from TrackingTools.TrackFitters.KFTrajectorySmoother_cfi import *
0024 
0025 KFFitterForRefitOutsideIn = KFTrajectoryFitter.clone(
0026     ComponentName = 'KFFitterForRefitOutsideIn',
0027     Propagator = 'SmartPropagatorAnyRKOpposite',
0028     Updator = 'KFUpdator',
0029     Estimator = 'Chi2EstimatorForRefit',
0030     minHits = 3
0031 )
0032 
0033 KFSmootherForRefitOutsideIn = KFTrajectorySmoother.clone(
0034     ComponentName = 'KFSmootherForRefitOutsideIn',
0035     Propagator = 'SmartPropagatorAnyRKOpposite',
0036     Updator = 'KFUpdator',
0037     Estimator = 'Chi2EstimatorForRefit',
0038     errorRescaling = 100.0,
0039     minHits = 3
0040 )
0041 #
0042 KFFitterForRefitInsideOut = KFTrajectoryFitter.clone(
0043     ComponentName = 'KFFitterForRefitInsideOut',
0044     Propagator = 'SmartPropagatorAnyRK',
0045     Updator = 'KFUpdator',
0046     Estimator = 'Chi2EstimatorForRefit',
0047     minHits = 3
0048 )
0049 
0050 KFSmootherForRefitInsideOut = KFTrajectorySmoother.clone(
0051     ComponentName = 'KFSmootherForRefitInsideOut',
0052     Propagator = 'SmartPropagatorAnyRK',
0053     Updator = 'KFUpdator',
0054     Estimator = 'Chi2EstimatorForRefit',
0055     errorRescaling = 100.0,
0056     minHits = 3
0057 )
0058 
0059 from Configuration.Eras.Modifier_fastSim_cff import fastSim
0060 # FastSim doesn't use Runge Kute for propagation
0061 # the following propagators are not used in FastSim, but just to be sure...
0062 fastSim.toModify(KFFitterForRefitOutsideIn, Propagator = 'SmartPropagatorAny')
0063 fastSim.toModify(KFSmootherForRefitOutsideIn, Propagator = 'SmartPropagator')
0064 fastSim.toModify(KFFitterForRefitInsideOut, Propagator = "SmartPropagatorAny")
0065 fastSim.toModify(KFSmootherForRefitInsideOut, Propagator = "SmartPropagatorAny")