1 import FWCore.ParameterSet.Config
as cms
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 muonSeededTracksOutInDisplacedClassifier = muonSeededTracksOutInClassifier.clone()
59 muonSeededTracksOutInDisplacedClassifier.src=
'muonSeededTracksOutInDisplaced'
63 muonSeededStepCoreDisplaced = cms.Sequence(
64 muonSeededSeedsInOut + muonSeededTrackCandidatesInOut + muonSeededTracksInOut +
65 muonSeededSeedsOutInDisplaced + muonSeededTrackCandidatesOutInDisplaced + muonSeededTracksOutInDisplaced
69 muonSeededStepExtraDisplaced = cms.Sequence(
70 muonSeededTracksInOutClassifier +
71 muonSeededTracksOutInDisplacedClassifier
74 muonSeededStepDisplaced = cms.Sequence(
76 muonSeededStepCoreDisplaced +
77 muonSeededStepExtraDisplaced
82 muonSeededSeedsOutInDisplacedAsTracks = cms.EDProducer(
"FakeTrackProducerFromSeed", src = cms.InputTag(
"muonSeededSeedsOutInDisplaced"))
84 muonSeededTrackCandidatesOutInDisplacedAsTracks = cms.EDProducer(
"FakeTrackProducerFromCandidate", src = cms.InputTag(
"muonSeededTrackCandidatesOutInDisplaced"))
86 muonSeededStepDebugDisplaced = cms.Sequence(
87 muonSeededSeedsOutInDisplacedAsTracks + muonSeededTrackCandidatesOutInDisplacedAsTracks +
88 muonSeededSeedsInOutAsTracks + muonSeededTrackCandidatesInOutAsTracks