1 import FWCore.ParameterSet.Config
as cms
5 from RecoTracker.FinalTrackSelectors.trackAlgoPriorityOrder_cfi
import trackAlgoPriorityOrder
7 hiEarlyGeneralTracks = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
10 'hiDetachedTripletStepTracks',
11 'hiLowPtTripletStepTracks',
12 'hiPixelPairGlobalPrimTracks',
13 'hiJetCoreRegionalStepTracks',
14 'hiRegitMuInitialStepTracks',
15 'hiRegitMuPixelPairStepTracks',
16 'hiRegitMuMixedTripletStepTracks',
17 'hiRegitMuPixelLessStepTracks',
18 'hiRegitMuDetachedTripletStepTracks'
20 hasSelector = [1,1,1,1,1,1,1,1,1,1],
21 selectedTrackQuals = [
22 "hiInitialStepSelector:hiInitialStep",
23 "hiDetachedTripletStepSelector:hiDetachedTripletStep",
24 "hiLowPtTripletStepSelector:hiLowPtTripletStep",
25 "hiPixelPairStepSelector:hiPixelPairStep",
26 "hiJetCoreRegionalStepSelector:hiJetCoreRegionalStep",
27 "hiRegitMuInitialStepSelector:hiRegitMuInitialStepLoose",
28 "hiRegitMuPixelPairStepSelector:hiRegitMuPixelPairStep",
29 "hiRegitMuMixedTripletStepSelector:hiRegitMuMixedTripletStep",
30 "hiRegitMuPixelLessStepSelector:hiRegitMuPixelLessStep",
31 "hiRegitMuDetachedTripletStepSelector:hiRegitMuDetachedTripletStep"
33 setsToMerge = cms.VPSet( cms.PSet( tLists=cms.vint32(0,1,2,3,4,5,6,7,8,9), pQual=cms.bool(
True)),
36 makeReKeyedSeeds = cms.untracked.bool(
False)
39 hiEarlyMuons = earlyMuons.clone(
40 inputCollectionLabels = [
"hiEarlyGeneralTracks",
"standAloneMuons:UpdatedAtVtx"]
44 import RecoTracker.SpecialSeedGenerators.outInSeedsFromStandaloneMuons_cfi
45 import RecoTracker.SpecialSeedGenerators.inOutSeedsFromTrackerMuons_cfi
46 hiRegitMuonSeededSeedsOutIn = RecoTracker.SpecialSeedGenerators.outInSeedsFromStandaloneMuons_cfi.outInSeedsFromStandaloneMuons.clone(
49 hiRegitMuonSeededSeedsInOut = RecoTracker.SpecialSeedGenerators.inOutSeedsFromTrackerMuons_cfi.inOutSeedsFromTrackerMuons.clone(
52 hiRegitMuonSeededTrackCandidatesInOut = muonSeededTrackCandidatesInOut.clone(
53 src =
"hiRegitMuonSeededSeedsInOut"
55 hiRegitMuonSeededTrackCandidatesOutIn = muonSeededTrackCandidatesOutIn.clone(
56 src =
"hiRegitMuonSeededSeedsOutIn"
58 hiRegitMuonSeededTracksOutIn = muonSeededTracksOutIn.clone(
59 src =
"hiRegitMuonSeededTrackCandidatesOutIn",
60 AlgorithmName =
'hiRegitMuMuonSeededStepOutIn'
62 hiRegitMuonSeededTracksInOut = muonSeededTracksInOut.clone(
63 src =
"hiRegitMuonSeededTrackCandidatesInOut",
64 AlgorithmName =
'hiRegitMuMuonSeededStepInOut'
66 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
68 hiRegitMuonSeededTracksInOutSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
69 src =
'hiRegitMuonSeededTracksInOut',
70 vertices =
"hiSelectedPixelVertex",
72 GBRForestLabel =
'HIMVASelectorIter7',
73 GBRForestVars = [
'chi2perdofperlayer',
'nhits',
'nlayers',
'eta'],
74 trackSelectors = cms.VPSet(
75 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
76 name =
'hiRegitMuonSeededTracksInOutLoose',
79 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
80 name =
'hiRegitMuonSeededTracksInOutTight',
81 preFilterName =
'hiRegitMuonSeededTracksInOutLoose',
86 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
87 name =
'hiRegitMuonSeededTracksInOutHighPurity',
88 preFilterName =
'hiRegitMuonSeededTracksInOutTight',
95 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
96 trackingPhase1.toModify(hiRegitMuonSeededTracksInOutSelector,
98 trackSelectors= cms.VPSet(
99 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
100 name =
'hiRegitMuonSeededTracksInOutLoose',
103 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
104 name =
'hiRegitMuonSeededTracksInOutTight',
105 preFilterName =
'hiRegitMuonSeededTracksInOutLoose',
110 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
111 name =
'hiRegitMuonSeededTracksInOutHighPurity',
112 preFilterName =
'hiRegitMuonSeededTracksInOutTight',
120 hiRegitMuonSeededTracksOutInSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
121 src =
'hiRegitMuonSeededTracksOutIn',
122 vertices =
"hiSelectedPixelVertex",
124 GBRForestLabel =
'HIMVASelectorIter7',
125 GBRForestVars = [
'chi2perdofperlayer',
'nhits',
'nlayers',
'eta'],
126 trackSelectors = cms.VPSet(
127 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
128 name =
'hiRegitMuonSeededTracksOutInLoose',
131 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
132 name =
'hiRegitMuonSeededTracksOutInTight',
133 preFilterName =
'hiRegitMuonSeededTracksOutInLoose',
138 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
139 name =
'hiRegitMuonSeededTracksOutInHighPurity',
140 preFilterName =
'hiRegitMuonSeededTracksOutInTight',
147 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
148 trackingPhase1.toModify(hiRegitMuonSeededTracksOutInSelector,
150 trackSelectors= cms.VPSet(
151 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
152 name =
'hiRegitMuonSeededTracksOutInLoose',
155 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
156 name =
'hiRegitMuonSeededTracksOutInTight',
157 preFilterName =
'hiRegitMuonSeededTracksOutInLoose',
162 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
163 name =
'hiRegitMuonSeededTracksOutInHighPurity',
164 preFilterName =
'hiRegitMuonSeededTracksOutInTight',
172 hiRegitMuonSeededStepCoreTask = cms.Task(
173 hiRegitMuonSeededSeedsInOut , hiRegitMuonSeededTrackCandidatesInOut , hiRegitMuonSeededTracksInOut ,
174 hiRegitMuonSeededSeedsOutIn , hiRegitMuonSeededTrackCandidatesOutIn , hiRegitMuonSeededTracksOutIn
176 hiRegitMuonSeededStepExtraTask = cms.Task(
177 hiRegitMuonSeededTracksInOutSelector ,
178 hiRegitMuonSeededTracksOutInSelector
180 hiRegitMuonSeededStepTask = cms.Task(
181 hiEarlyGeneralTracks ,
183 hiRegitMuonSeededStepCoreTask ,
184 hiRegitMuonSeededStepExtraTask
186 hiRegitMuonSeededStep = cms.Sequence(hiRegitMuonSeededStepTask)