Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:31:39

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 = "alongMomentum"
0012 # KFTrajectoryFitterESProducer   ---> Fitter = "KFFitterForRefitOutsideIn"
0013 # KFTrajectorySmootherESProducer ---> Smoother = "KFSmootherForRefitOutsideIn"
0014 # Case 3 #
0015 # string RefitDirection = "oppositeToMomentum"
0016 # KFTrajectoryFitterESProducer   ---> Fitter = "KFFitterForRefitOutsideIn"
0017 # KFTrajectorySmootherESProducer ---> Smoother = "KFSmootherForRefitOutsideIn"
0018 # Case 4 #
0019 # string RefitDirection = "oppositeToMomentum"
0020 # KFTrajectoryFitterESProducer   ---> Fitter = "KFFitterForRefitOutsideIn"
0021 # KFTrajectorySmootherESProducer ---> Smoother = "KFSmootherForRefitOutsideIn"
0022 #
0023 cosmicMuons = cms.EDProducer("TracksToTrajectories",
0024                                   Type = cms.string("CosmicMuonsForAlignment"),
0025                                   Tracks = cms.InputTag("cosmicMuons"),
0026                                   TrackTransformer = cms.PSet(
0027                     TrackerRecHitBuilder = cms.string('WithTrackAngle'),
0028                         MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
0029                         MTDRecHitBuilder = cms.string('MTDRecHitBuilder'),
0030                         RefitRPCHits = cms.bool(True)
0031                                   )
0032                              )
0033 
0034 MuAlCosmics = cosmicMuons.clone(
0035     Tracks = "ALCARECOMuAlGlobalCosmics:StandAlone"
0036 )