1 import FWCore.ParameterSet.Config
as cms
5 from RecoTracker.FinalTrackSelectors.trackAlgoPriorityOrder_cfi
import trackAlgoPriorityOrder
7 hiEarlyGeneralTracks = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
8 TrackProducers = (cms.InputTag(
'hiGlobalPrimTracks'),
9 cms.InputTag(
'hiDetachedTripletStepTracks'),
10 cms.InputTag(
'hiLowPtTripletStepTracks'),
11 cms.InputTag(
'hiPixelPairGlobalPrimTracks'),
12 cms.InputTag(
'hiJetCoreRegionalStepTracks'),
13 cms.InputTag(
'hiRegitMuInitialStepTracks'),
14 cms.InputTag(
'hiRegitMuPixelPairStepTracks'),
15 cms.InputTag(
'hiRegitMuMixedTripletStepTracks'),
16 cms.InputTag(
'hiRegitMuPixelLessStepTracks'),
17 cms.InputTag(
'hiRegitMuDetachedTripletStepTracks')
19 hasSelector=cms.vint32(1,1,1,1,1,1,1,1,1,1),
20 selectedTrackQuals = cms.VInputTag(
21 cms.InputTag(
"hiInitialStepSelector",
"hiInitialStep"),
22 cms.InputTag(
"hiDetachedTripletStepSelector",
"hiDetachedTripletStep"),
23 cms.InputTag(
"hiLowPtTripletStepSelector",
"hiLowPtTripletStep"),
24 cms.InputTag(
"hiPixelPairStepSelector",
"hiPixelPairStep"),
25 cms.InputTag(
"hiJetCoreRegionalStepSelector",
"hiJetCoreRegionalStep"),
26 cms.InputTag(
"hiRegitMuInitialStepSelector",
"hiRegitMuInitialStepLoose"),
27 cms.InputTag(
"hiRegitMuPixelPairStepSelector",
"hiRegitMuPixelPairStep"),
28 cms.InputTag(
"hiRegitMuMixedTripletStepSelector",
"hiRegitMuMixedTripletStep"),
29 cms.InputTag(
"hiRegitMuPixelLessStepSelector",
"hiRegitMuPixelLessStep"),
30 cms.InputTag(
"hiRegitMuDetachedTripletStepSelector",
"hiRegitMuDetachedTripletStep")
32 setsToMerge = cms.VPSet( cms.PSet( tLists=cms.vint32(0,1,2,3,4,5,6,7,8,9), pQual=cms.bool(
True)),
35 makeReKeyedSeeds = cms.untracked.bool(
False)
38 hiEarlyMuons = earlyMuons.clone(
39 inputCollectionLabels = cms.VInputTag(cms.InputTag(
"hiEarlyGeneralTracks"),cms.InputTag(
"standAloneMuons",
"UpdatedAtVtx"))
43 import RecoTracker.SpecialSeedGenerators.outInSeedsFromStandaloneMuons_cfi
44 import RecoTracker.SpecialSeedGenerators.inOutSeedsFromTrackerMuons_cfi
45 hiRegitMuonSeededSeedsOutIn = RecoTracker.SpecialSeedGenerators.outInSeedsFromStandaloneMuons_cfi.outInSeedsFromStandaloneMuons.clone(
48 hiRegitMuonSeededSeedsInOut = RecoTracker.SpecialSeedGenerators.inOutSeedsFromTrackerMuons_cfi.inOutSeedsFromTrackerMuons.clone(
52 hiRegitMuonSeededTrackCandidatesInOut = muonSeededTrackCandidatesInOut.clone(
53 src = cms.InputTag(
"hiRegitMuonSeededSeedsInOut")
55 hiRegitMuonSeededTrackCandidatesOutIn = muonSeededTrackCandidatesOutIn.clone(
56 src = cms.InputTag(
"hiRegitMuonSeededSeedsOutIn")
59 hiRegitMuonSeededTracksOutIn = muonSeededTracksOutIn.clone(
60 src = cms.InputTag(
"hiRegitMuonSeededTrackCandidatesOutIn"),
61 AlgorithmName = cms.string(
'hiRegitMuMuonSeededStepOutIn')
63 hiRegitMuonSeededTracksInOut = muonSeededTracksInOut.clone(
64 src = cms.InputTag(
"hiRegitMuonSeededTrackCandidatesInOut"),
65 AlgorithmName = cms.string(
'hiRegitMuMuonSeededStepInOut')
68 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
70 hiRegitMuonSeededTracksInOutSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
71 src=
'hiRegitMuonSeededTracksInOut',
72 vertices = cms.InputTag(
"hiSelectedPixelVertex"),
73 useAnyMVA = cms.bool(
True),
74 GBRForestLabel = cms.string(
'HIMVASelectorIter7'),
75 GBRForestVars = cms.vstring([
'chi2perdofperlayer',
'nhits',
'nlayers',
'eta']),
76 trackSelectors= cms.VPSet(
77 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
78 name =
'hiRegitMuonSeededTracksInOutLoose',
79 min_nhits = cms.uint32(8)
81 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
82 name =
'hiRegitMuonSeededTracksInOutTight',
83 preFilterName =
'hiRegitMuonSeededTracksInOutLoose',
84 min_nhits = cms.uint32(8),
85 useMVA = cms.bool(
True),
86 minMVA = cms.double(-0.2)
88 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
89 name =
'hiRegitMuonSeededTracksInOutHighPurity',
90 preFilterName =
'hiRegitMuonSeededTracksInOutTight',
91 min_nhits = cms.uint32(8),
92 useMVA = cms.bool(
True),
93 minMVA = cms.double(-0.09)
97 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
98 trackingPhase1.toModify(hiRegitMuonSeededTracksInOutSelector, useAnyMVA = cms.bool(
False))
99 trackingPhase1.toModify(hiRegitMuonSeededTracksInOutSelector, trackSelectors= cms.VPSet(
100 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
101 name =
'hiRegitMuonSeededTracksInOutLoose',
102 min_nhits = cms.uint32(8)
104 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
105 name =
'hiRegitMuonSeededTracksInOutTight',
106 preFilterName =
'hiRegitMuonSeededTracksInOutLoose',
107 min_nhits = cms.uint32(8),
108 useMVA = cms.bool(
False),
109 minMVA = cms.double(-0.2)
111 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
112 name =
'hiRegitMuonSeededTracksInOutHighPurity',
113 preFilterName =
'hiRegitMuonSeededTracksInOutTight',
114 min_nhits = cms.uint32(8),
115 useMVA = cms.bool(
False),
116 minMVA = cms.double(-0.09)
121 hiRegitMuonSeededTracksOutInSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
122 src=
'hiRegitMuonSeededTracksOutIn',
123 vertices = cms.InputTag(
"hiSelectedPixelVertex"),
124 useAnyMVA = cms.bool(
True),
125 GBRForestLabel = cms.string(
'HIMVASelectorIter7'),
126 GBRForestVars = cms.vstring([
'chi2perdofperlayer',
'nhits',
'nlayers',
'eta']),
127 trackSelectors= cms.VPSet(
128 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
129 name =
'hiRegitMuonSeededTracksOutInLoose',
130 min_nhits = cms.uint32(8)
132 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
133 name =
'hiRegitMuonSeededTracksOutInTight',
134 preFilterName =
'hiRegitMuonSeededTracksOutInLoose',
135 min_nhits = cms.uint32(8),
136 useMVA = cms.bool(
True),
137 minMVA = cms.double(-0.2)
139 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
140 name =
'hiRegitMuonSeededTracksOutInHighPurity',
141 preFilterName =
'hiRegitMuonSeededTracksOutInTight',
142 min_nhits = cms.uint32(8),
143 useMVA = cms.bool(
True),
144 minMVA = cms.double(-0.09)
148 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
149 trackingPhase1.toModify(hiRegitMuonSeededTracksOutInSelector, useAnyMVA = cms.bool(
False))
150 trackingPhase1.toModify(hiRegitMuonSeededTracksOutInSelector, trackSelectors= cms.VPSet(
151 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
152 name =
'hiRegitMuonSeededTracksOutInLoose',
153 min_nhits = cms.uint32(8)
155 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
156 name =
'hiRegitMuonSeededTracksOutInTight',
157 preFilterName =
'hiRegitMuonSeededTracksOutInLoose',
158 min_nhits = cms.uint32(8),
159 useMVA = cms.bool(
False),
160 minMVA = cms.double(-0.2)
162 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
163 name =
'hiRegitMuonSeededTracksOutInHighPurity',
164 preFilterName =
'hiRegitMuonSeededTracksOutInTight',
165 min_nhits = cms.uint32(8),
166 useMVA = cms.bool(
False),
167 minMVA = cms.double(-0.09)
172 hiRegitMuonSeededStepCore = cms.Sequence(
173 hiRegitMuonSeededSeedsInOut + hiRegitMuonSeededTrackCandidatesInOut + hiRegitMuonSeededTracksInOut +
174 hiRegitMuonSeededSeedsOutIn + hiRegitMuonSeededTrackCandidatesOutIn + hiRegitMuonSeededTracksOutIn
176 hiRegitMuonSeededStepExtra = cms.Sequence(
177 hiRegitMuonSeededTracksInOutSelector +
178 hiRegitMuonSeededTracksOutInSelector
181 hiRegitMuonSeededStep = cms.Sequence(
182 hiEarlyGeneralTracks +
184 hiRegitMuonSeededStepCore +
185 hiRegitMuonSeededStepExtra