test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackRefitter_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 TrackRefitter = cms.EDProducer("TrackRefitter",
4  src = cms.InputTag("generalTracks"),
5  beamSpot = cms.InputTag("offlineBeamSpot"),
6  Fitter = cms.string('KFFittingSmootherWithOutliersRejectionAndRK'),
7  TTRHBuilder = cms.string('WithAngleAndTemplate'),
8  AlgorithmName = cms.string('undefAlgorithm'),
9  Propagator = cms.string('RungeKuttaTrackerPropagator'),
10 
11  ### fitting without constraints
12  constraint = cms.string(''),
13  srcConstr = cms.InputTag(''),
14 
15  ### fitting with constraints
16  #constraint = cms.string('momentum'),
17  #constraint = cms.string('vertex'),
18 
19  ### Usually this parameter has not to be set True because
20  ### matched hits in the Tracker are already split when
21  ### the tracks are reconstructed the first time
22  useHitsSplitting = cms.bool(False),
23 
24  TrajectoryInEvent = cms.bool(True),
25 
26  # this parameter decides if the propagation to the beam line
27  # for the track parameters defiition is from the first hit
28  # or from the closest to the beam line
29  # true for cosmics, false for collision tracks (needed by loopers)
30  GeometricInnerState = cms.bool(False),
31 
32  # Navigation school is necessary to fill the secondary hit patterns
33  NavigationSchool = cms.string('SimpleNavigationSchool'),
34  MeasurementTracker = cms.string(''),
35  MeasurementTrackerEvent = cms.InputTag('MeasurementTrackerEvent'),
36  #
37  # in order to avoid to fill the secondary hit patterns and
38  # refit the tracks more quickly
39  #NavigationSchool = cms.string('')
40 )
41 
42 # Switch back to GenericCPE until bias in template CPE gets fixed
43 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
44 phase1Pixel.toModify(TrackRefitter, TTRHBuilder = 'WithTrackAngle') # FIXME