CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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(
27  TrackerRecHitBuilder = cms.string('WithTrackAngle'),
28  MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
29  MTDRecHitBuilder = cms.string('MTDRecHitBuilder'),
30  RefitRPCHits = cms.bool(True)
31  )
32  )
33 
34 MuAlCosmics = cosmicMuons.clone(
35  Tracks = "ALCARECOMuAlGlobalCosmics:StandAlone"
36 )