CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ctfWithMaterialTrajectoriesP5_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 # IMPORTANT !!! ##
5 # If you want to revert the fit direction, then
6 # Case 1 #
7 # string RefitDirection = "alongMomentum"
8 # KFTrajectoryFitterESProducer ---> Fitter = "KFFitterForRefitInsideOut"
9 # KFTrajectorySmootherESProducer ---> Smoother = "KFSmootherForRefitInsideOut"
10 # Case 2 #
11 # string RefitDirection = "oppositeToMomentum"
12 # KFTrajectoryFitterESProducer ---> Fitter = "KFFitterForRefitOutsideIn"
13 # KFTrajectorySmootherESProducer ---> Smoother = "KFSmootherForRefitOutsideIn"
14 # the propagator must be the same as the one used by the Fitter
15 #
16 ctfWithMaterialTracksP5 = cms.EDProducer("TracksToTrajectories",
17  Type = cms.string("Default"),
18  Tracks = cms.InputTag("ctfWithMaterialTracksP5"),
19  TrackTransformer = cms.PSet(DoPredictionsOnly = cms.bool(False),
20  Fitter = cms.string('KFFitterForRefitInsideOut'),
21  # TrackerRecHitBuilder = cms.string('WithTrackAngleAndTemplate'),
22  TrackerRecHitBuilder = cms.string('WithTrackAngle'),
23  Smoother = cms.string('KFSmootherForRefitInsideOut'),
24  MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
25  RefitDirection = cms.string('alongMomentum'),
26  RefitRPCHits = cms.bool(True),
27  Propagator = cms.string('SmartPropagatorAnyRK')
28  )
29  )
30 
31 
32