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(
53 hiRegitMuonSeededTrackCandidatesInOut = muonSeededTrackCandidatesInOut.clone(
54 src =
"hiRegitMuonSeededSeedsInOut"
56 hiRegitMuonSeededTrackCandidatesOutIn = muonSeededTrackCandidatesOutIn.clone(
57 src =
"hiRegitMuonSeededSeedsOutIn"
60 hiRegitMuonSeededTracksOutIn = muonSeededTracksOutIn.clone(
61 src =
"hiRegitMuonSeededTrackCandidatesOutIn",
62 AlgorithmName =
'hiRegitMuMuonSeededStepOutIn'
64 hiRegitMuonSeededTracksInOut = muonSeededTracksInOut.clone(
65 src =
"hiRegitMuonSeededTrackCandidatesInOut",
66 AlgorithmName =
'hiRegitMuMuonSeededStepInOut'
69 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
71 hiRegitMuonSeededTracksInOutSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
72 src =
'hiRegitMuonSeededTracksInOut',
73 vertices =
"hiSelectedPixelVertex",
75 GBRForestLabel =
'HIMVASelectorIter7',
76 GBRForestVars = [
'chi2perdofperlayer',
'nhits',
'nlayers',
'eta'],
77 trackSelectors = cms.VPSet(
78 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
79 name =
'hiRegitMuonSeededTracksInOutLoose',
82 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
83 name =
'hiRegitMuonSeededTracksInOutTight',
84 preFilterName =
'hiRegitMuonSeededTracksInOutLoose',
89 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
90 name =
'hiRegitMuonSeededTracksInOutHighPurity',
91 preFilterName =
'hiRegitMuonSeededTracksInOutTight',
98 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
99 trackingPhase1.toModify(hiRegitMuonSeededTracksInOutSelector, useAnyMVA =
False)
100 trackingPhase1.toModify(hiRegitMuonSeededTracksInOutSelector, trackSelectors= cms.VPSet(
101 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
102 name =
'hiRegitMuonSeededTracksInOutLoose',
105 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
106 name =
'hiRegitMuonSeededTracksInOutTight',
107 preFilterName =
'hiRegitMuonSeededTracksInOutLoose',
112 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
113 name =
'hiRegitMuonSeededTracksInOutHighPurity',
114 preFilterName =
'hiRegitMuonSeededTracksInOutTight',
122 hiRegitMuonSeededTracksOutInSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
123 src =
'hiRegitMuonSeededTracksOutIn',
124 vertices =
"hiSelectedPixelVertex",
126 GBRForestLabel =
'HIMVASelectorIter7',
127 GBRForestVars = [
'chi2perdofperlayer',
'nhits',
'nlayers',
'eta'],
128 trackSelectors = cms.VPSet(
129 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
130 name =
'hiRegitMuonSeededTracksOutInLoose',
133 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
134 name =
'hiRegitMuonSeededTracksOutInTight',
135 preFilterName =
'hiRegitMuonSeededTracksOutInLoose',
140 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
141 name =
'hiRegitMuonSeededTracksOutInHighPurity',
142 preFilterName =
'hiRegitMuonSeededTracksOutInTight',
149 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
150 trackingPhase1.toModify(hiRegitMuonSeededTracksOutInSelector, useAnyMVA =
False)
151 trackingPhase1.toModify(hiRegitMuonSeededTracksOutInSelector, trackSelectors= cms.VPSet(
152 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
153 name =
'hiRegitMuonSeededTracksOutInLoose',
156 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
157 name =
'hiRegitMuonSeededTracksOutInTight',
158 preFilterName =
'hiRegitMuonSeededTracksOutInLoose',
163 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
164 name =
'hiRegitMuonSeededTracksOutInHighPurity',
165 preFilterName =
'hiRegitMuonSeededTracksOutInTight',
173 hiRegitMuonSeededStepCoreTask = cms.Task(
174 hiRegitMuonSeededSeedsInOut , hiRegitMuonSeededTrackCandidatesInOut , hiRegitMuonSeededTracksInOut ,
175 hiRegitMuonSeededSeedsOutIn , hiRegitMuonSeededTrackCandidatesOutIn , hiRegitMuonSeededTracksOutIn
177 hiRegitMuonSeededStepExtraTask = cms.Task(
178 hiRegitMuonSeededTracksInOutSelector ,
179 hiRegitMuonSeededTracksOutInSelector
181 hiRegitMuonSeededStepTask = cms.Task(
182 hiEarlyGeneralTracks ,
184 hiRegitMuonSeededStepCoreTask ,
185 hiRegitMuonSeededStepExtraTask
187 hiRegitMuonSeededStep = cms.Sequence(hiRegitMuonSeededStepTask)