Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from TrackingTools.TrackRefitter.TracksToTrajectories_cff import *
0004 # IMPORTANT !!! ##
0005 # If you want to revert the fit direction, then
0006 # Case 1 #
0007 # string RefitDirection = "alongMomentum"
0008 # KFTrajectoryFitterESProducer   ---> Fitter = "KFFitterForRefitInsideOut"
0009 # KFTrajectorySmootherESProducer ---> Smoother = "KFSmootherForRefitInsideOut"
0010 # Case 2 #
0011 # string RefitDirection = "oppositeToMomentum"
0012 # KFTrajectoryFitterESProducer   ---> Fitter = "KFFitterForRefitOutsideIn"
0013 # KFTrajectorySmootherESProducer ---> Smoother = "KFSmootherForRefitOutsideIn"
0014 # the propagator must be the same as the one used by the Fitter
0015 #
0016 generalTracks = cms.EDProducer("TracksToTrajectories",
0017                                Type = cms.string("Default"),
0018                                Tracks = cms.InputTag("generalTracks"),
0019                                TrackTransformer = cms.PSet(DoPredictionsOnly = cms.bool(False),
0020                                                            Fitter = cms.string('KFFitterForRefitInsideOut'),
0021                                                            #        TrackerRecHitBuilder = cms.string('WithTrackAngleAndTemplate'),
0022                                                            TrackerRecHitBuilder = cms.string('WithTrackAngle'),
0023                                                            Smoother = cms.string('KFSmootherForRefitInsideOut'),
0024                                                            MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
0025                                                            MTDRecHitBuilder = cms.string('MTDRecHitBuilder'),
0026                                                            RefitDirection = cms.string('alongMomentum'),
0027                                                            RefitRPCHits = cms.bool(True),
0028                                                            Propagator = cms.string('SmartPropagatorAnyRKOpposite')
0029                                                           )
0030                                )
0031 
0032 
0033