4 from RecoMuon.MuonIdentification.earlyMuons_cfi
import earlyDisplacedMuons
9 muonSeededSeedsOutInDisplaced = RecoTracker.SpecialSeedGenerators.outInSeedsFromStandaloneMuons_cfi.outInSeedsFromStandaloneMuons.clone(
10 src =
"earlyDisplacedMuons",
12 muonSeededSeedsOutInDisplaced.fromVertex = cms.bool(
False)
15 muonSeededMeasurementEstimatorForOutInDisplaced = TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi.Chi2MeasurementEstimator.clone(
16 ComponentName = cms.string(
'muonSeededMeasurementEstimatorForOutInDisplaced'),
17 MaxChi2 = cms.double(30.0),
18 nSigma = cms.double(3.),
23 muonSeededTrajectoryFilterForOutInDisplaced = muonSeededTrajectoryFilterForInOut.clone()
24 muonSeededTrajectoryFilterForOutInDisplaced.constantValueForLostHitsFractionFilter = 10
25 muonSeededTrajectoryFilterForOutInDisplaced.minimumNumberOfHits = 5
28 muonSeededTrajectoryBuilderForOutInDisplaced = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
29 foundHitBonus = cms.double(1000.0),
30 lostHitPenalty = cms.double(1.0),
31 maxCand = cms.int32(3),
32 estimator = cms.string(
'muonSeededMeasurementEstimatorForOutInDisplaced'),
33 trajectoryFilter = cms.PSet(refToPSet_ = cms.string(
'muonSeededTrajectoryFilterForOutInDisplaced')),
34 inOutTrajectoryFilter = cms.PSet(refToPSet_ = cms.string(
'muonSeededTrajectoryFilterForOutInDisplaced')),
35 minNrOfHitsForRebuild = cms.int32(5),
36 requireSeedHitsInRebuild = cms.bool(
True),
37 keepOriginalIfRebuildFails = cms.bool(
False),
41 muonSeededTrackCandidatesOutInDisplaced = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
42 src = cms.InputTag(
"muonSeededSeedsOutInDisplaced"),
43 TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string(
"muonSeededTrajectoryBuilderForOutInDisplaced")),
44 TrajectoryCleaner = cms.string(
'muonSeededTrajectoryCleanerBySharedHits'),
45 numHitsForSeedCleaner = cms.int32(50),
46 onlyPixelHitsForSeedCleaner = cms.bool(
False),
51 muonSeededTracksOutInDisplaced = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
52 src = cms.InputTag(
"muonSeededTrackCandidatesOutInDisplaced"),
53 AlgorithmName = cms.string(
'muonSeededStepOutIn'),
54 Fitter = cms.string(
"muonSeededFittingSmootherWithOutliersRejectionAndRK"),
58 muonSeededTracksOutInDisplacedSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
59 src=
'muonSeededTracksOutInDisplaced',
60 trackSelectors= cms.VPSet(
61 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
62 name =
'muonSeededTracksOutInDisplacedLoose',
63 applyAdaptedPVCuts = cms.bool(
False),
67 maxNumberLostLayers = 4,
68 minNumber3DLayers = 0,
69 minHitsToBypassChecks = 7
71 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
72 name =
'muonSeededTracksOutInDisplacedTight',
73 preFilterName =
'muonSeededTracksOutInDisplacedLoose',
74 applyAdaptedPVCuts = cms.bool(
False),
78 maxNumberLostLayers = 3,
79 minNumber3DLayers = 2,
80 minHitsToBypassChecks = 10
82 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
83 name =
'muonSeededTracksOutInDisplacedHighPurity',
84 preFilterName =
'muonSeededTracksOutInDisplacedTight',
85 applyAdaptedPVCuts = cms.bool(
False),
89 maxNumberLostLayers = 2,
90 minNumber3DLayers = 2,
91 minHitsToBypassChecks = 20
97 muonSeededStepCoreDisplaced = cms.Sequence(
98 muonSeededSeedsInOut + muonSeededTrackCandidatesInOut + muonSeededTracksInOut +
99 muonSeededSeedsOutInDisplaced + muonSeededTrackCandidatesOutInDisplaced + muonSeededTracksOutInDisplaced
103 muonSeededStepExtraDisplaced = cms.Sequence(
104 muonSeededTracksInOutSelector +
105 muonSeededTracksOutInDisplacedSelector
108 muonSeededStepDisplaced = cms.Sequence(
109 earlyDisplacedMuons +
110 muonSeededStepCoreDisplaced +
111 muonSeededStepExtraDisplaced
116 muonSeededSeedsOutInDisplacedAsTracks = cms.EDProducer(
"FakeTrackProducerFromSeed", src = cms.InputTag(
"muonSeededSeedsOutInDisplaced"))
118 muonSeededTrackCandidatesOutInDisplacedAsTracks = cms.EDProducer(
"FakeTrackProducerFromCandidate", src = cms.InputTag(
"muonSeededTrackCandidatesOutInDisplaced"))
120 muonSeededStepDebugDisplaced = cms.Sequence(
121 muonSeededSeedsOutInDisplacedAsTracks + muonSeededTrackCandidatesOutInDisplacedAsTracks +
122 muonSeededSeedsInOutAsTracks + muonSeededTrackCandidatesInOutAsTracks