CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
cosmicMuonTrajectories_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 # IMPORTANT !!! ##
5 # If you want to revert the fit direction, then
6 # Case 1 #
7 # string RefitDirection = "alongMomentum"
8 # KFTrajectoryFitterESProducer ---> Fitter = "KFFitterForRefitInsideOut"
9 # KFTrajectorySmootherESProducer ---> Smoother = "KFSmootherForRefitInsideOut"
10 # Case 2 #
11 # string RefitDirection = "alongMomentum"
12 # KFTrajectoryFitterESProducer ---> Fitter = "KFFitterForRefitOutsideIn"
13 # KFTrajectorySmootherESProducer ---> Smoother = "KFSmootherForRefitOutsideIn"
14 # Case 3 #
15 # string RefitDirection = "oppositeToMomentum"
16 # KFTrajectoryFitterESProducer ---> Fitter = "KFFitterForRefitOutsideIn"
17 # KFTrajectorySmootherESProducer ---> Smoother = "KFSmootherForRefitOutsideIn"
18 # Case 4 #
19 # string RefitDirection = "oppositeToMomentum"
20 # KFTrajectoryFitterESProducer ---> Fitter = "KFFitterForRefitOutsideIn"
21 # KFTrajectorySmootherESProducer ---> Smoother = "KFSmootherForRefitOutsideIn"
22 #
23 cosmicMuons = cms.EDProducer("TracksToTrajectories",
24  Type = cms.string("CosmicMuonsForAlignment"),
25  Tracks = cms.InputTag("cosmicMuons"),
26  TrackTransformer = cms.PSet( TrackerRecHitBuilder = cms.string('WithTrackAngle'),
27  MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
28  RefitRPCHits = cms.bool(True)
29  )
30  )
31 
32 MuAlCosmics = cosmicMuons.clone()
33 MuAlCosmics.Tracks = cms.InputTag("ALCARECOMuAlGlobalCosmics","StandAlone")