CMS 3D CMS Logo

MuonTrackLoader_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
7 Chi2EstimatorForMuonTrackLoader = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone()
8 Chi2EstimatorForMuonTrackLoader.ComponentName = cms.string('Chi2EstimatorForMuonTrackLoader')
9 Chi2EstimatorForMuonTrackLoader.nSigma = 3.0
10 Chi2EstimatorForMuonTrackLoader.MaxChi2 = 100000.0
11 
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')
20 )
21 from Configuration.Eras.Modifier_fastSim_cff import fastSim
22 # FastSim doesn't use Runge Kute for propagation
23 fastSim.toModify(KFSmootherForMuonTrackLoader,
24  Propagator = "SmartPropagatorAny")
25 
26 KFSmootherForMuonTrackLoaderL3 = TrackingTools.TrackFitters.KFTrajectorySmoother_cfi.KFTrajectorySmoother.clone(
27  errorRescaling = cms.double(10.0),
28  minHits = cms.int32(3),
29  ComponentName = cms.string('KFSmootherForMuonTrackLoaderL3'),
30  Estimator = cms.string('Chi2EstimatorForMuonTrackLoader'),
31  Updator = cms.string('KFUpdator'),
32  Propagator = cms.string('SmartPropagatorAnyOpposite')
33 )
34 
35 MuonTrackLoaderForSTA = cms.PSet(
36  TrackLoaderParameters = cms.PSet(
37  MuonUpdatorAtVertex,
38  Smoother = cms.string('KFSmootherForMuonTrackLoader'),
39  DoSmoothing = cms.bool(False),
40  VertexConstraint = cms.bool(True),
41  beamSpot = cms.InputTag("offlineBeamSpot"),
42  TTRHBuilder = cms.string('WithAngleAndTemplate')
43  )
44 )
45 MuonTrackLoaderForGLB = cms.PSet(
46  TrackLoaderParameters = cms.PSet(
47  MuonUpdatorAtVertex,
48  Smoother = cms.string('KFSmootherForMuonTrackLoader'),
49  DoSmoothing = cms.bool(True),
50  VertexConstraint = cms.bool(False),
51  beamSpot = cms.InputTag("offlineBeamSpot"),
52  TTRHBuilder = cms.string('WithAngleAndTemplate')
53  )
54 )
55 MuonTrackLoaderForL2 = cms.PSet(
56  TrackLoaderParameters = cms.PSet(
57  MuonUpdatorAtVertex,
58  Smoother = cms.string('KFSmootherForMuonTrackLoader'),
59  DoSmoothing = cms.bool(False),
60  VertexConstraint = cms.bool(True),
61  beamSpot = cms.InputTag("hltOfflineBeamSpot"),
62  TTRHBuilder = cms.string('WithAngleAndTemplate')
63  )
64 )
65 MuonTrackLoaderForL3 = cms.PSet(
66  TrackLoaderParameters = cms.PSet(
67  MuonUpdatorAtVertex,
68  PutTkTrackIntoEvent = cms.untracked.bool(True),
69  Smoother = cms.string('KFSmootherForMuonTrackLoaderL3'),
70  SmoothTkTrack = cms.untracked.bool(False),
71  MuonSeededTracksInstance = cms.untracked.string('L2Seeded'),
72  VertexConstraint = cms.bool(False),
73  DoSmoothing = cms.bool(True),
74  beamSpot = cms.InputTag("hltOfflineBeamSpot"),
75  TTRHBuilder = cms.string('WithAngleAndTemplate')
76  )
77 )
78 MuonTrackLoaderForCosmic = cms.PSet(
79  TrackLoaderParameters = cms.PSet(
80  MuonUpdatorAtVertexAnyDirection,
81  PutTrajectoryIntoEvent = cms.untracked.bool(False),
82  VertexConstraint = cms.bool(False),
83  AllowNoVertex = cms.untracked.bool(True),
84  Smoother = cms.string('KFSmootherForMuonTrackLoader'),
85  DoSmoothing = cms.bool(False),
86  beamSpot = cms.InputTag("offlineBeamSpot"),
87  TTRHBuilder = cms.string('WithAngleAndTemplate')
88  )
89 )
90 
91 # This customization will be removed once we get the templates for
92 # phase2 pixel
93 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
94 phase2_tracker.toModify(MuonTrackLoaderForGLB, TrackLoaderParameters = dict(TTRHBuilder = 'WithTrackAngle')) # FIXME
95