CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
globalCosmicMuonTrajectories_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 = "oppositeToMomentum"
12 # KFTrajectoryFitterESProducer ---> Fitter = "KFFitterForRefitOutsideIn"
13 # KFTrajectorySmootherESProducer ---> Smoother = "KFSmootherForRefitOutsideIn"
14 # the propagator must be the same as the one used by the Fitter
15 #
16 globalCosmicMuons = cms.EDProducer("TracksToTrajectories",
17  Type = cms.string("GlobalCosmicMuonsForAlignment"),
18  Tracks = cms.InputTag("globalCosmicMuons"),
19  TrackTransformer = cms.PSet(
20  TrackerRecHitBuilder = cms.string('WithTrackAngle'),
21  MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
22  MTDRecHitBuilder = cms.string('MTDRecHitBuilder'),
23  RefitRPCHits = cms.bool(True),
24  # muon station to be skipped //also kills RPCs in that station
25  SkipStationDT = cms.int32(-999),
26  SkipStationCSC = cms.int32(-999),
27  # muon muon wheel to be skipped
28  SkipWheelDT = cms.int32(-999),
29  # PXB = 1, PXF = 2, TIB = 3, TID = 4, TOB = 5, TEC = 6
30  TrackerSkipSystem = cms.int32(-999),
31  # layer, wheel, or disk depending on the system
32  TrackerSkipSection = cms.int32(-999),
33  )
34  )
35 
36 
37 
38 MuAlGlobalCosmics = globalCosmicMuons.clone(
39  Tracks = "ALCARECOMuAlGlobalCosmics:GlobalMuon"
40 )