CMS 3D CMS Logo

TrackerKinkFinder_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 TrackerKinkFinderParametersBlock = cms.PSet(
4  TrackerKinkFinderParameters = cms.PSet(
5  # use also position degrees of freedom of the track state
6  usePosition = cms.bool(True),
7  # discard off-diagonal terms when computing chi2s
8  diagonalOnly = cms.bool(False),
9  # configuraton for refitter
10  DoPredictionsOnly = cms.bool(False),
11  Fitter = cms.string('KFFitterForRefitInsideOut'),
12  TrackerRecHitBuilder = cms.string('WithAngleAndTemplate'),
13  Smoother = cms.string('KFSmootherForRefitInsideOut'),
14  MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
15  RefitDirection = cms.string('alongMomentum'),
16  RefitRPCHits = cms.bool(True),
17  Propagator = cms.string('SmartPropagatorAnyRKOpposite'),
18  )
19 )
20 
21 # Switch back to GenericCPE until bias in template CPE gets fixed
22 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
23 phase1Pixel.toModify(TrackerKinkFinderParametersBlock, TrackerKinkFinderParameters = dict(TrackerRecHitBuilder = 'WithTrackAngle')) # FIXME
24 
25 # This customization will be removed once we get the templates for
26 # phase2 pixel
27 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
28 phase2_tracker.toModify(TrackerKinkFinderParametersBlock, TrackerKinkFinderParameters = dict(TrackerRecHitBuilder = 'WithTrackAngle')) # FIXME
29