1 import FWCore.ParameterSet.Config
as cms
7 Chi2EstimatorForMuonTrackLoader = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone()
8 Chi2EstimatorForMuonTrackLoader.ComponentName = cms.string(
'Chi2EstimatorForMuonTrackLoader')
9 Chi2EstimatorForMuonTrackLoader.nSigma = 3.0
10 Chi2EstimatorForMuonTrackLoader.MaxChi2 = 100000.0
13 KFSmootherForMuonTrackLoader = TrackingTools.TrackFitters.KFTrajectorySmoother_cfi.KFTrajectorySmoother.clone(
14 errorRescaling = cms.double(10.0),
15 minHits = cms.int32(3),
16 ComponentName = cms.string(
'KFSmootherForMuonTrackLoader'),
17 Estimator = cms.string(
'Chi2EstimatorForMuonTrackLoader'),
18 Updator = cms.string(
'KFUpdator'),
19 Propagator = cms.string(
'SmartPropagatorAnyRK')
22 KFSmootherForMuonTrackLoaderL3 = TrackingTools.TrackFitters.KFTrajectorySmoother_cfi.KFTrajectorySmoother.clone(
23 errorRescaling = cms.double(10.0),
24 minHits = cms.int32(3),
25 ComponentName = cms.string(
'KFSmootherForMuonTrackLoaderL3'),
26 Estimator = cms.string(
'Chi2EstimatorForMuonTrackLoader'),
27 Updator = cms.string(
'KFUpdator'),
28 Propagator = cms.string(
'SmartPropagatorAnyOpposite')
31 MuonTrackLoaderForSTA = cms.PSet(
32 TrackLoaderParameters = cms.PSet(
34 Smoother = cms.string(
'KFSmootherForMuonTrackLoader'),
35 DoSmoothing = cms.bool(
False),
36 VertexConstraint = cms.bool(
True),
37 beamSpot = cms.InputTag(
"offlineBeamSpot"),
38 TTRHBuilder = cms.string(
'WithAngleAndTemplate')
41 MuonTrackLoaderForGLB = cms.PSet(
42 TrackLoaderParameters = cms.PSet(
44 Smoother = cms.string(
'KFSmootherForMuonTrackLoader'),
45 DoSmoothing = cms.bool(
True),
46 VertexConstraint = cms.bool(
False),
47 beamSpot = cms.InputTag(
"offlineBeamSpot"),
48 TTRHBuilder = cms.string(
'WithAngleAndTemplate')
51 MuonTrackLoaderForL2 = cms.PSet(
52 TrackLoaderParameters = cms.PSet(
54 Smoother = cms.string(
'KFSmootherForMuonTrackLoader'),
55 DoSmoothing = cms.bool(
False),
56 VertexConstraint = cms.bool(
True),
57 beamSpot = cms.InputTag(
"hltOfflineBeamSpot"),
58 TTRHBuilder = cms.string(
'WithAngleAndTemplate')
61 MuonTrackLoaderForL3 = cms.PSet(
62 TrackLoaderParameters = cms.PSet(
64 PutTkTrackIntoEvent = cms.untracked.bool(
True),
65 Smoother = cms.string(
'KFSmootherForMuonTrackLoaderL3'),
66 SmoothTkTrack = cms.untracked.bool(
False),
67 MuonSeededTracksInstance = cms.untracked.string(
'L2Seeded'),
68 VertexConstraint = cms.bool(
False),
69 DoSmoothing = cms.bool(
True),
70 beamSpot = cms.InputTag(
"hltOfflineBeamSpot"),
71 TTRHBuilder = cms.string(
'WithAngleAndTemplate')
74 MuonTrackLoaderForCosmic = cms.PSet(
75 TrackLoaderParameters = cms.PSet(
76 MuonUpdatorAtVertexAnyDirection,
77 PutTrajectoryIntoEvent = cms.untracked.bool(
False),
78 VertexConstraint = cms.bool(
False),
79 AllowNoVertex = cms.untracked.bool(
True),
80 Smoother = cms.string(
'KFSmootherForMuonTrackLoader'),
81 DoSmoothing = cms.bool(
False),
82 beamSpot = cms.InputTag(
"offlineBeamSpot"),
83 TTRHBuilder = cms.string(
'WithAngleAndTemplate')
88 from Configuration.Eras.Modifier_phase1Pixel_cff
import phase1Pixel
89 for _loader
in [MuonTrackLoaderForSTA, MuonTrackLoaderForGLB, MuonTrackLoaderForL2, MuonTrackLoaderForL3, MuonTrackLoaderForCosmic]:
90 phase1Pixel.toModify(_loader, TrackLoaderParameters =
dict(TTRHBuilder =
'WithTrackAngle'))
94 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
95 phase2_tracker.toModify(MuonTrackLoaderForGLB, TrackLoaderParameters =
dict(TTRHBuilder =
'WithTrackAngle'))