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(
"hiSelectedVertex"),
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)
98 hiRegitMuonSeededTracksOutInSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
99 src=
'hiRegitMuonSeededTracksOutIn',
100 vertices = cms.InputTag(
"hiSelectedVertex"),
101 useAnyMVA = cms.bool(
True),
102 GBRForestLabel = cms.string(
'HIMVASelectorIter7'),
103 GBRForestVars = cms.vstring([
'chi2perdofperlayer',
'nhits',
'nlayers',
'eta']),
104 trackSelectors= cms.VPSet(
105 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
106 name =
'hiRegitMuonSeededTracksOutInLoose',
107 min_nhits = cms.uint32(8)
109 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
110 name =
'hiRegitMuonSeededTracksOutInTight',
111 preFilterName =
'hiRegitMuonSeededTracksOutInLoose',
112 min_nhits = cms.uint32(8),
113 useMVA = cms.bool(
True),
114 minMVA = cms.double(-0.2)
116 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
117 name =
'hiRegitMuonSeededTracksOutInHighPurity',
118 preFilterName =
'hiRegitMuonSeededTracksOutInTight',
119 min_nhits = cms.uint32(8),
120 useMVA = cms.bool(
True),
121 minMVA = cms.double(-0.09)
126 hiRegitMuonSeededStepCore = cms.Sequence(
127 hiRegitMuonSeededSeedsInOut + hiRegitMuonSeededTrackCandidatesInOut + hiRegitMuonSeededTracksInOut +
128 hiRegitMuonSeededSeedsOutIn + hiRegitMuonSeededTrackCandidatesOutIn + hiRegitMuonSeededTracksOutIn
130 hiRegitMuonSeededStepExtra = cms.Sequence(
131 hiRegitMuonSeededTracksInOutSelector +
132 hiRegitMuonSeededTracksOutInSelector
135 hiRegitMuonSeededStep = cms.Sequence(
136 hiEarlyGeneralTracks +
138 hiRegitMuonSeededStepCore +
139 hiRegitMuonSeededStepExtra