CMS 3D CMS Logo

TracksToTrajectories_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
6 
9 
13 
15 
16 Chi2EstimatorForRefit = Chi2MeasurementEstimator.clone(
17  ComponentName = 'Chi2EstimatorForRefit',
18  MaxChi2 = 100000.0,
19  nSigma = 3.0
20 )
21 
24 
25 KFFitterForRefitOutsideIn = KFTrajectoryFitter.clone(
26  ComponentName = 'KFFitterForRefitOutsideIn',
27  Propagator = 'SmartPropagatorAnyRKOpposite',
28  Updator = 'KFUpdator',
29  Estimator = 'Chi2EstimatorForRefit',
30  minHits = 3
31 )
32 
33 KFSmootherForRefitOutsideIn = KFTrajectorySmoother.clone(
34  ComponentName = 'KFSmootherForRefitOutsideIn',
35  Propagator = 'SmartPropagatorAnyRKOpposite',
36  Updator = 'KFUpdator',
37  Estimator = 'Chi2EstimatorForRefit',
38  errorRescaling = 100.0,
39  minHits = 3
40 )
41 #
42 KFFitterForRefitInsideOut = KFTrajectoryFitter.clone(
43  ComponentName = 'KFFitterForRefitInsideOut',
44  Propagator = 'SmartPropagatorAnyRK',
45  Updator = 'KFUpdator',
46  Estimator = 'Chi2EstimatorForRefit',
47  minHits = 3
48 )
49 
50 KFSmootherForRefitInsideOut = KFTrajectorySmoother.clone(
51  ComponentName = 'KFSmootherForRefitInsideOut',
52  Propagator = 'SmartPropagatorAnyRK',
53  Updator = 'KFUpdator',
54  Estimator = 'Chi2EstimatorForRefit',
55  errorRescaling = 100.0,
56  minHits = 3
57 )
58 
59 from Configuration.Eras.Modifier_fastSim_cff import fastSim
60 # FastSim doesn't use Runge Kute for propagation
61 # the following propagators are not used in FastSim, but just to be sure...
62 fastSim.toModify(KFFitterForRefitOutsideIn, Propagator = 'SmartPropagatorAny')
63 fastSim.toModify(KFSmootherForRefitOutsideIn, Propagator = 'SmartPropagator')
64 fastSim.toModify(KFFitterForRefitInsideOut, Propagator = "SmartPropagatorAny")
65 fastSim.toModify(KFSmootherForRefitInsideOut, Propagator = "SmartPropagatorAny")
KFTrajectorySmoother * clone() const override
std::unique_ptr< TrajectoryFitter > clone() const override
Chi2MeasurementEstimator * clone() const override