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  ComponentName = 'Chi2EstimatorForMuonTrackLoader',
9  nSigma = 3.0,
10  MaxChi2 = 100000.0
11 )
12 
14 KFSmootherForMuonTrackLoader = TrackingTools.TrackFitters.KFTrajectorySmoother_cfi.KFTrajectorySmoother.clone(
15  errorRescaling = 10.0,
16  minHits = 3,
17  ComponentName = 'KFSmootherForMuonTrackLoader',
18  Estimator = 'Chi2EstimatorForMuonTrackLoader',
19  Updator = 'KFUpdator',
20  Propagator = 'SmartPropagatorAnyRK'
21 )
22 
23 from Configuration.Eras.Modifier_fastSim_cff import fastSim
24 # FastSim doesn't use Runge Kute for propagation
25 fastSim.toModify(KFSmootherForMuonTrackLoader,
26  Propagator = "SmartPropagatorAny")
27 
28 KFSmootherForMuonTrackLoaderL3 = TrackingTools.TrackFitters.KFTrajectorySmoother_cfi.KFTrajectorySmoother.clone(
29  errorRescaling = 10.0,
30  minHits = 3,
31  ComponentName = 'KFSmootherForMuonTrackLoaderL3',
32  Estimator = 'Chi2EstimatorForMuonTrackLoader',
33  Updator = 'KFUpdator',
34  Propagator = 'SmartPropagatorAnyOpposite'
35 )
36 
37 MuonTrackLoaderForSTA = cms.PSet(
38  TrackLoaderParameters = cms.PSet(
39  MuonUpdatorAtVertex,
40  Smoother = cms.string('KFSmootherForMuonTrackLoader'),
41  DoSmoothing = cms.bool(False),
42  VertexConstraint = cms.bool(True),
43  beamSpot = cms.InputTag("offlineBeamSpot"),
44  TTRHBuilder = cms.string('WithAngleAndTemplate')
45  )
46 )
47 MuonTrackLoaderForGLB = cms.PSet(
48  TrackLoaderParameters = cms.PSet(
49  MuonUpdatorAtVertex,
50  Smoother = cms.string('KFSmootherForMuonTrackLoader'),
51  DoSmoothing = cms.bool(True),
52  VertexConstraint = cms.bool(False),
53  beamSpot = cms.InputTag("offlineBeamSpot"),
54  TTRHBuilder = cms.string('WithAngleAndTemplate')
55  )
56 )
57 MuonTrackLoaderForL2 = cms.PSet(
58  TrackLoaderParameters = cms.PSet(
59  MuonUpdatorAtVertex,
60  Smoother = cms.string('KFSmootherForMuonTrackLoader'),
61  DoSmoothing = cms.bool(False),
62  VertexConstraint = cms.bool(True),
63  beamSpot = cms.InputTag("hltOfflineBeamSpot"),
64  TTRHBuilder = cms.string('WithAngleAndTemplate')
65  )
66 )
67 MuonTrackLoaderForL3 = cms.PSet(
68  TrackLoaderParameters = cms.PSet(
69  MuonUpdatorAtVertex,
70  PutTkTrackIntoEvent = cms.untracked.bool(True),
71  Smoother = cms.string('KFSmootherForMuonTrackLoaderL3'),
72  SmoothTkTrack = cms.untracked.bool(False),
73  MuonSeededTracksInstance = cms.untracked.string('L2Seeded'),
74  VertexConstraint = cms.bool(False),
75  DoSmoothing = cms.bool(True),
76  beamSpot = cms.InputTag("hltOfflineBeamSpot"),
77  TTRHBuilder = cms.string('WithAngleAndTemplate')
78  )
79 )
80 MuonTrackLoaderForCosmic = cms.PSet(
81  TrackLoaderParameters = cms.PSet(
82  MuonUpdatorAtVertexAnyDirection,
83  PutTrajectoryIntoEvent = cms.untracked.bool(False),
84  VertexConstraint = cms.bool(False),
85  AllowNoVertex = cms.untracked.bool(True),
86  Smoother = cms.string('KFSmootherForMuonTrackLoader'),
87  DoSmoothing = cms.bool(False),
88  beamSpot = cms.InputTag("offlineBeamSpot"),
89  TTRHBuilder = cms.string('WithAngleAndTemplate')
90  )
91 )