CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/TrackingTools/TrackRefitter/python/globalMuonTrajectories_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from TrackingTools.TrackRefitter.TracksToTrajectories_cff import *
00004 # IMPORTANT !!! ##
00005 # If you want to revert the fit direction, then
00006 # Case 1 #
00007 # string RefitDirection = "alongMomentum"
00008 # KFTrajectoryFitterESProducer   ---> Fitter = "KFFitterForRefitInsideOut"
00009 # KFTrajectorySmootherESProducer ---> Smoother = "KFSmootherForRefitInsideOut"
00010 # Case 2 #
00011 # string RefitDirection = "oppositeToMomentum"
00012 # KFTrajectoryFitterESProducer   ---> Fitter = "KFFitterForRefitOutsideIn"
00013 # KFTrajectorySmootherESProducer ---> Smoother = "KFSmootherForRefitOutsideIn"
00014 # the propagator must be the same as the one used by the Fitter
00015 #
00016 globalMuons = cms.EDProducer("TracksToTrajectories",
00017                              Type = cms.string("Default"),
00018                              Tracks = cms.InputTag("globalMuons"),
00019                              TrackTransformer = cms.PSet(DoPredictionsOnly = cms.bool(False),
00020                                                          Fitter = cms.string('KFFitterForRefitInsideOut'),
00021                                                          #        TrackerRecHitBuilder = cms.string('WithTrackAngleAndTemplate'),
00022                                                          TrackerRecHitBuilder = cms.string('WithTrackAngle'),
00023                                                          Smoother = cms.string('KFSmootherForRefitInsideOut'),
00024                                                          MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
00025                                                          RefitDirection = cms.string('alongMomentum'),
00026                                                          RefitRPCHits = cms.bool(True),
00027                                                                 Propagator = cms.string('SmartPropagatorAnyRKOpposite')
00028                                                          )
00029                              )
00030 
00031 
00032