Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:26:36

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 globalCosmicMuons = cms.EDProducer("TracksToTrajectories",
0017                                    Type = cms.string("GlobalCosmicMuonsForAlignment"),
0018                                    Tracks = cms.InputTag("globalCosmicMuons"),
0019                                    TrackTransformer = cms.PSet(
0020                     TrackerRecHitBuilder = cms.string('WithTrackAngle'),
0021                     MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
0022                     MTDRecHitBuilder = cms.string('MTDRecHitBuilder'),
0023                     RefitRPCHits = cms.bool(True),
0024                     # muon station to be skipped //also kills RPCs in that station
0025                     SkipStationDT   = cms.int32(-999),
0026                     SkipStationCSC  = cms.int32(-999),
0027                     # muon muon wheel to be skipped
0028                         SkipWheelDT     = cms.int32(-999),
0029                     # PXB = 1, PXF = 2, TIB = 3, TID = 4, TOB = 5, TEC = 6
0030                         TrackerSkipSystem   = cms.int32(-999),
0031                     # layer, wheel, or disk depending on the system
0032                     TrackerSkipSection  = cms.int32(-999),
0033                    )
0034                                 )
0035 
0036 
0037 
0038 MuAlGlobalCosmics = globalCosmicMuons.clone(
0039     Tracks = "ALCARECOMuAlGlobalCosmics:GlobalMuon"
0040 )