CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/TrackingTools/TrackRefitter/python/globalCosmicMuonTrajectories_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 globalCosmicMuons = cms.EDProducer("TracksToTrajectories",
00017                                    Type = cms.string("GlobalCosmicMuonsForAlignment"),
00018                                    Tracks = cms.InputTag("globalCosmicMuons"),
00019                                    TrackTransformer = cms.PSet(TrackerRecHitBuilder = cms.string('WithTrackAngle'),
00020                                                                MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
00021                                                                RefitRPCHits = cms.bool(True),
00022                                                                                                                         # muon station to be skipped //also kills RPCs in that station
00023                                                                                                                         SkipStationDT   = cms.int32(-999),
00024                                                                                                                         SkipStationCSC  = cms.int32(-999),
00025                                                                                                                         # muon muon wheel to be skipped
00026                                                                                                                             SkipWheelDT         = cms.int32(-999),
00027                                                                                                                         # PXB = 1, PXF = 2, TIB = 3, TID = 4, TOB = 5, TEC = 6
00028                                                                                                                             TrackerSkipSystem   = cms.int32(-999),
00029                                                                                                                         # layer, wheel, or disk depending on the system
00030                                                                                                                         TrackerSkipSection      = cms.int32(-999),
00031                                                                )
00032                                    )
00033 
00034 
00035 
00036 MuAlGlobalCosmics = globalCosmicMuons.clone()
00037 MuAlGlobalCosmics.Tracks = cms.InputTag("ALCARECOMuAlGlobalCosmics","GlobalMuon")