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",
12 muonSeededSeedsOutInDisplaced.fromVertex = cms.bool(
False)
16 muonSeededMeasurementEstimatorForOutInDisplaced = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
17 ComponentName = cms.string(
'muonSeededMeasurementEstimatorForOutInDisplaced'),
18 MaxChi2 = cms.double(30.0),
19 nSigma = cms.double(3.),
25 muonSeededTrajectoryFilterForOutInDisplaced = RecoTracker.IterativeTracking.MuonSeededStep_cff.muonSeededTrajectoryFilterForInOut.clone()
26 muonSeededTrajectoryFilterForOutInDisplaced.constantValueForLostHitsFractionFilter = 10
27 muonSeededTrajectoryFilterForOutInDisplaced.minimumNumberOfHits = 5
30 muonSeededTrajectoryBuilderForOutInDisplaced = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
31 foundHitBonus = cms.double(1000.0),
32 lostHitPenalty = cms.double(1.0),
33 maxCand = cms.int32(3),
34 estimator = cms.string(
'muonSeededMeasurementEstimatorForOutInDisplaced'),
35 trajectoryFilter = cms.PSet(refToPSet_ = cms.string(
'muonSeededTrajectoryFilterForOutInDisplaced')),
36 inOutTrajectoryFilter = cms.PSet(refToPSet_ = cms.string(
'muonSeededTrajectoryFilterForOutInDisplaced')),
37 minNrOfHitsForRebuild = cms.int32(5),
38 requireSeedHitsInRebuild = cms.bool(
True),
39 keepOriginalIfRebuildFails = cms.bool(
False),
43 muonSeededTrackCandidatesOutInDisplaced = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
44 src = cms.InputTag(
"muonSeededSeedsOutInDisplaced"),
45 TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string(
"muonSeededTrajectoryBuilderForOutInDisplaced")),
46 TrajectoryCleaner = cms.string(
'muonSeededTrajectoryCleanerBySharedHits'),
47 numHitsForSeedCleaner = cms.int32(50),
48 onlyPixelHitsForSeedCleaner = cms.bool(
False),
53 muonSeededTracksOutInDisplaced = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
54 src = cms.InputTag(
"muonSeededTrackCandidatesOutInDisplaced"),
55 AlgorithmName = cms.string(
'muonSeededStepOutIn'),
56 Fitter = cms.string(
"muonSeededFittingSmootherWithOutliersRejectionAndRK"),
60 muonSeededTracksOutInDisplacedClassifier = RecoTracker.IterativeTracking.MuonSeededStep_cff.muonSeededTracksOutInClassifier.clone()
61 muonSeededTracksOutInDisplacedClassifier.src=
'muonSeededTracksOutInDisplaced' 65 muonSeededStepCoreDisplaced = cms.Sequence(
66 cms.SequencePlaceholder(
"muonSeededStepCoreInOut") +
67 muonSeededSeedsOutInDisplaced + muonSeededTrackCandidatesOutInDisplaced + muonSeededTracksOutInDisplaced
71 muonSeededStepExtraDisplaced = cms.Sequence(
72 cms.SequencePlaceholder(
"muonSeededStepExtraInOut") +
73 muonSeededTracksOutInDisplacedClassifier
76 muonSeededStepDisplaced = cms.Sequence(
78 muonSeededStepCoreDisplaced +
79 muonSeededStepExtraDisplaced
84 muonSeededSeedsOutInDisplacedAsTracks = cms.EDProducer(
"FakeTrackProducerFromSeed", src = cms.InputTag(
"muonSeededSeedsOutInDisplaced"))
86 muonSeededTrackCandidatesOutInDisplacedAsTracks = cms.EDProducer(
"FakeTrackProducerFromCandidate", src = cms.InputTag(
"muonSeededTrackCandidatesOutInDisplaced"))
88 muonSeededStepDebugDisplaced = cms.Sequence(
89 muonSeededSeedsOutInDisplacedAsTracks + muonSeededTrackCandidatesOutInDisplacedAsTracks +
90 cms.SequencePlaceholder(
"muonSeededStepDebugInOut")