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 
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')
29 )
30 
31 MuonTrackLoaderForSTA = cms.PSet(
32  TrackLoaderParameters = cms.PSet(
33  MuonUpdatorAtVertex,
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')
39  )
40 )
41 MuonTrackLoaderForGLB = cms.PSet(
42  TrackLoaderParameters = cms.PSet(
43  MuonUpdatorAtVertex,
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')
49  )
50 )
51 MuonTrackLoaderForL2 = cms.PSet(
52  TrackLoaderParameters = cms.PSet(
53  MuonUpdatorAtVertex,
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')
59  )
60 )
61 MuonTrackLoaderForL3 = cms.PSet(
62  TrackLoaderParameters = cms.PSet(
63  MuonUpdatorAtVertex,
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')
72  )
73 )
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')
84  )
85 )
86 
87 # This customization will be removed once we get the templates for
88 # phase2 pixel
89 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
90 phase2_tracker.toModify(MuonTrackLoaderForGLB, TrackLoaderParameters = dict(TTRHBuilder = 'WithTrackAngle')) # FIXME
91