1 import FWCore.ParameterSet.Config
as cms
11 hiRegitMuMixedTripletStepTrackingRegionsA = HiTrackingRegionFactoryFromSTAMuonsEDProducer.clone(
12 MuonSrc =
"standAloneMuons:UpdatedAtVtx",
13 MuonTrackingRegionBuilder = dict(
14 vertexCollection =
"hiSelectedPixelVertex",
27 hiRegitMuMixedTripletStepTrackingRegionsB = hiRegitMuMixedTripletStepTrackingRegionsA.clone(
28 MuonTrackingRegionBuilder = dict(Pt_min = 1.5)
35 hiRegitMuMixedTripletStepClusters = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepClusters.clone(
36 oldClusterRemovalInfo = cms.InputTag(
"hiRegitMuPixelPairStepClusters"),
37 trajectories = cms.InputTag(
"hiRegitMuPixelPairStepTracks"),
38 overrideTrkQuals = cms.InputTag(
'hiRegitMuPixelPairStepSelector',
'hiRegitMuPixelPairStep'),
39 trackClassifier = cms.InputTag(
''),
40 TrackQuality = cms.string(
'tight')
45 hiRegitMuMixedTripletStepSeedLayersA = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeedLayersA.clone()
46 hiRegitMuMixedTripletStepSeedLayersA.BPix.skipClusters = cms.InputTag(
'hiRegitMuMixedTripletStepClusters')
47 hiRegitMuMixedTripletStepSeedLayersA.FPix.skipClusters = cms.InputTag(
'hiRegitMuMixedTripletStepClusters')
48 hiRegitMuMixedTripletStepSeedLayersA.TEC.skipClusters = cms.InputTag(
'hiRegitMuMixedTripletStepClusters')
51 hiRegitMuMixedTripletStepHitDoubletsA = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepHitDoubletsA.clone(
52 seedingLayers =
"hiRegitMuMixedTripletStepSeedLayersA",
53 trackingRegions =
"hiRegitMuMixedTripletStepTrackingRegionsA",
54 clusterCheck =
"hiRegitMuClusterCheck",
56 hiRegitMuMixedTripletStepHitTripletsA = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepHitTripletsA.clone(
57 doublets =
"hiRegitMuMixedTripletStepHitDoubletsA"
59 hiRegitMuMixedTripletStepSeedsA = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeedsA.clone(
60 seedingHitSets =
"hiRegitMuMixedTripletStepHitTripletsA"
64 hiRegitMuMixedTripletStepSeedLayersB = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeedLayersB.clone()
65 hiRegitMuMixedTripletStepSeedLayersB.BPix.skipClusters = cms.InputTag(
'hiRegitMuMixedTripletStepClusters')
66 hiRegitMuMixedTripletStepSeedLayersB.TIB.skipClusters = cms.InputTag(
'hiRegitMuMixedTripletStepClusters')
69 hiRegitMuMixedTripletStepHitDoubletsB = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepHitDoubletsB.clone(
70 seedingLayers =
"hiRegitMuMixedTripletStepSeedLayersB",
71 trackingRegions =
"hiRegitMuMixedTripletStepTrackingRegionsB",
72 clusterCheck =
"hiRegitMuClusterCheck",
74 hiRegitMuMixedTripletStepHitTripletsB = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepHitTripletsB.clone(
75 doublets =
"hiRegitMuMixedTripletStepHitDoubletsB"
77 hiRegitMuMixedTripletStepSeedsB = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeedsA.clone(
78 seedingHitSets =
"hiRegitMuMixedTripletStepHitTripletsB"
82 hiRegitMuMixedTripletStepSeeds = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepSeeds.clone(
83 seedCollections = cms.VInputTag(
84 cms.InputTag(
'hiRegitMuMixedTripletStepSeedsA'),
85 cms.InputTag(
'hiRegitMuMixedTripletStepSeedsB'),
90 hiRegitMuMixedTripletStepTrajectoryFilter = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepTrajectoryFilter.clone()
92 hiRegitMuMixedTripletStepTrajectoryFilter.minPt = 1.
93 hiRegitMuMixedTripletStepTrajectoryFilter.minimumNumberOfHits = 6
94 hiRegitMuMixedTripletStepTrajectoryFilter.minHitsMinPt = 4
99 hiRegitMuMixedTripletStepTrajectoryBuilder = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepTrajectoryBuilder.clone(
100 trajectoryFilter = cms.PSet(
101 refToPSet_ = cms.string(
'hiRegitMuMixedTripletStepTrajectoryFilter')
103 minNrOfHitsForRebuild = 6
106 hiRegitMuMixedTripletStepTrackCandidates = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepTrackCandidates.clone(
107 src = cms.InputTag(
'hiRegitMuMixedTripletStepSeeds'),
108 TrajectoryBuilderPSet = cms.PSet(
109 refToPSet_ = cms.string(
'hiRegitMuMixedTripletStepTrajectoryBuilder')
111 clustersToSkip = cms.InputTag(
'hiRegitMuMixedTripletStepClusters'),
112 maxNSeeds = cms.uint32(1000000)
116 hiRegitMuMixedTripletStepTracks = RecoTracker.IterativeTracking.MixedTripletStep_cff.mixedTripletStepTracks.clone(
117 AlgorithmName = cms.string(
'hiRegitMuMixedTripletStep'),
118 src =
'hiRegitMuMixedTripletStepTrackCandidates',
123 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
125 hiRegitMuMixedTripletStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
126 src =
'hiRegitMuMixedTripletStepTracks',
127 vertices = cms.InputTag(
"hiSelectedPixelVertex"),
128 useAnyMVA = cms.bool(
True),
129 GBRForestLabel = cms.string(
'HIMVASelectorIter7'),
130 GBRForestVars = cms.vstring([
'chi2perdofperlayer',
'nhits',
'nlayers',
'eta']),
131 trackSelectors= cms.VPSet(
132 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
133 name =
'hiRegitMuMixedTripletStepLoose',
134 min_nhits = cms.uint32(8)
136 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
137 name =
'hiRegitMuMixedTripletStepTight',
138 preFilterName =
'hiRegitMuMixedTripletStepLoose',
139 min_nhits = cms.uint32(8),
140 useMVA = cms.bool(
True),
141 minMVA = cms.double(-0.2)
143 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
144 name =
'hiRegitMuMixedTripletStep',
145 preFilterName =
'hiRegitMuMixedTripletStepTight',
146 min_nhits = cms.uint32(8),
147 useMVA = cms.bool(
True),
148 minMVA = cms.double(-0.09)
152 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
153 trackingPhase1.toModify(hiRegitMuMixedTripletStepSelector, useAnyMVA = cms.bool(
False))
154 trackingPhase1.toModify(hiRegitMuMixedTripletStepSelector, trackSelectors= cms.VPSet(
155 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
156 name =
'hiRegitMuMixedTripletStepLoose',
157 min_nhits = cms.uint32(8)
159 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
160 name =
'hiRegitMuMixedTripletStepTight',
161 preFilterName =
'hiRegitMuMixedTripletStepLoose',
162 min_nhits = cms.uint32(8),
163 useMVA = cms.bool(
False),
164 minMVA = cms.double(-0.2)
166 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
167 name =
'hiRegitMuMixedTripletStep',
168 preFilterName =
'hiRegitMuMixedTripletStepTight',
169 min_nhits = cms.uint32(8),
170 useMVA = cms.bool(
False),
171 minMVA = cms.double(-0.09)
176 hiRegitMuonMixedTripletStepTask = cms.Task(hiRegitMuMixedTripletStepClusters,
177 hiRegitMuMixedTripletStepSeedLayersA,
178 hiRegitMuMixedTripletStepTrackingRegionsA,
179 hiRegitMuMixedTripletStepHitDoubletsA,
180 hiRegitMuMixedTripletStepHitTripletsA,
181 hiRegitMuMixedTripletStepSeedsA,
182 hiRegitMuMixedTripletStepSeedLayersB,
183 hiRegitMuMixedTripletStepTrackingRegionsB,
184 hiRegitMuMixedTripletStepHitDoubletsB,
185 hiRegitMuMixedTripletStepHitTripletsB,
186 hiRegitMuMixedTripletStepSeedsB,
187 hiRegitMuMixedTripletStepSeeds,
188 hiRegitMuMixedTripletStepTrackCandidates,
189 hiRegitMuMixedTripletStepTracks,
190 hiRegitMuMixedTripletStepSelector)
191 hiRegitMuonMixedTripletStep = cms.Sequence(hiRegitMuonMixedTripletStepTask)