1 import FWCore.ParameterSet.Config
as cms
4 from RecoMuon.MuonIdentification.earlyMuons_cfi
import earlyDisplacedMuons
8 import RecoTracker.SpecialSeedGenerators.outInSeedsFromStandaloneMuons_cfi
9 muonSeededSeedsOutInDisplaced = RecoTracker.SpecialSeedGenerators.outInSeedsFromStandaloneMuons_cfi.outInSeedsFromStandaloneMuons.clone(
10 src =
"earlyDisplacedMuons",
16 muonSeededMeasurementEstimatorForOutInDisplaced = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
17 ComponentName =
'muonSeededMeasurementEstimatorForOutInDisplaced',
25 muonSeededTrajectoryFilterForOutInDisplaced = RecoTracker.IterativeTracking.MuonSeededStep_cff.muonSeededTrajectoryFilterForInOut.clone(
26 constantValueForLostHitsFractionFilter = 10,
27 minimumNumberOfHits = 5
31 muonSeededTrajectoryBuilderForOutInDisplaced = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
32 foundHitBonus = 1000.0,
35 estimator =
'muonSeededMeasurementEstimatorForOutInDisplaced',
36 trajectoryFilter = dict(refToPSet_ =
'muonSeededTrajectoryFilterForOutInDisplaced'),
37 inOutTrajectoryFilter = dict(refToPSet_ =
'muonSeededTrajectoryFilterForOutInDisplaced'),
38 minNrOfHitsForRebuild = 5,
39 requireSeedHitsInRebuild =
True,
40 keepOriginalIfRebuildFails =
False,
44 muonSeededTrackCandidatesOutInDisplaced = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
45 src =
"muonSeededSeedsOutInDisplaced",
46 TrajectoryBuilderPSet = dict(refToPSet_ =
"muonSeededTrajectoryBuilderForOutInDisplaced"),
47 TrajectoryCleaner =
'muonSeededTrajectoryCleanerBySharedHits',
48 numHitsForSeedCleaner = cms.int32(50),
49 onlyPixelHitsForSeedCleaner = cms.bool(
False),
54 muonSeededTracksOutInDisplaced = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
55 src =
"muonSeededTrackCandidatesOutInDisplaced",
56 AlgorithmName =
'muonSeededStepOutIn',
57 Fitter =
"muonSeededFittingSmootherWithOutliersRejectionAndRK",
61 muonSeededTracksOutInDisplacedClassifier = RecoTracker.IterativeTracking.MuonSeededStep_cff.muonSeededTracksOutInClassifier.clone(
62 src=
'muonSeededTracksOutInDisplaced' 66 muonSeededStepCoreDisplacedTask = cms.Task(
67 cms.TaskPlaceholder(
"muonSeededStepCoreInOutTask"),
68 muonSeededSeedsOutInDisplaced , muonSeededTrackCandidatesOutInDisplaced , muonSeededTracksOutInDisplaced
70 muonSeededStepCoreDisplaced = cms.Sequence(muonSeededStepCoreDisplacedTask)
73 muonSeededStepExtraDisplacedTask = cms.Task(
74 cms.TaskPlaceholder(
"muonSeededStepExtraInOutTask"),
75 muonSeededTracksOutInDisplacedClassifier
77 muonSeededStepExtraDisplaced = cms.Sequence(muonSeededStepExtraDisplacedTask)
80 muonSeededStepDisplacedTask = cms.Task(
82 muonSeededStepCoreDisplacedTask ,
83 muonSeededStepExtraDisplacedTask
85 muonSeededStepDisplaced = cms.Sequence(muonSeededStepDisplacedTask)
89 muonSeededSeedsOutInDisplacedAsTracks = cms.EDProducer(
"FakeTrackProducerFromSeed", src = cms.InputTag(
"muonSeededSeedsOutInDisplaced"))
91 muonSeededTrackCandidatesOutInDisplacedAsTracks = cms.EDProducer(
"FakeTrackProducerFromCandidate", src = cms.InputTag(
"muonSeededTrackCandidatesOutInDisplaced"))
93 muonSeededStepDebugDisplacedTask = cms.Task(
94 cms.TaskPlaceholder(
"muonSeededStepDebugInOutTask"),
95 muonSeededSeedsOutInDisplacedAsTracks , muonSeededTrackCandidatesOutInDisplacedAsTracks
97 muonSeededStepDebugDisplaced = cms.Sequence(muonSeededStepDebugDisplacedTask)