1 import FWCore.ParameterSet.Config
as cms
2 import RecoTracker.IterativeTracking.iterativeTkConfig
as _cfg
4 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
7 from Configuration.ProcessModifiers.trackdnn_cff
import trackdnn
8 from RecoTracker.IterativeTracking.dnnQualityCuts
import qualityCutDictionary
11 from Configuration.ProcessModifiers.trackingNoLoopers_cff
import trackingNoLoopers
18 chargeCut2069Clusters = cms.EDProducer(
'ClusterChargeMasker',
19 oldClusterRemovalInfo = cms.InputTag(
''),
20 pixelClusters = cms.InputTag(
'siPixelClusters'),
21 stripClusters = cms.InputTag(
'siStripClusters'),
22 clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight'))
25 mixedTripletStepClusters = _cfg.clusterRemoverForIter(
'MixedTripletStep')
26 chargeCut2069Clusters.oldClusterRemovalInfo = mixedTripletStepClusters.oldClusterRemovalInfo.value()
27 mixedTripletStepClusters.oldClusterRemovalInfo =
'chargeCut2069Clusters'
28 for _eraName, _postfix, _era
in _cfg.nonDefaultEras():
29 _era.toReplaceWith(mixedTripletStepClusters, _cfg.clusterRemoverForIter(
'MixedTripletStep', _eraName, _postfix))
30 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
31 trackingPhase1.toModify(chargeCut2069Clusters, oldClusterRemovalInfo = mixedTripletStepClusters.oldClusterRemovalInfo.value())
32 trackingPhase1.toModify(mixedTripletStepClusters, oldClusterRemovalInfo=
'chargeCut2069Clusters')
38 mixedTripletStepSeedLayersA = _mod.seedingLayersEDProducer.clone(
39 layerList = [
'BPix2+FPix1_pos+FPix2_pos',
'BPix2+FPix1_neg+FPix2_neg'],
45 TTRHBuilder = cms.string(
'WithTrackAngle'),
46 HitProducer = cms.string(
'siPixelRecHits'),
47 skipClusters = cms.InputTag(
'mixedTripletStepClusters')
50 TTRHBuilder = cms.string(
'WithTrackAngle'),
51 HitProducer = cms.string(
'siPixelRecHits'),
52 skipClusters = cms.InputTag(
'mixedTripletStepClusters')
55 matchedRecHits = cms.InputTag(
'siStripMatchedRecHits',
'matchedRecHit'),
56 useRingSlector = cms.bool(
True),
57 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
58 minRing = cms.int32(1),
59 maxRing = cms.int32(1),
60 skipClusters = cms.InputTag(
'mixedTripletStepClusters')
63 from Configuration.Eras.Modifier_trackingLowPU_cff
import trackingLowPU
64 trackingLowPU.toModify(mixedTripletStepSeedLayersA,
67 'BPix1+BPix2+FPix1_pos',
'BPix1+BPix2+FPix1_neg',
68 'BPix1+FPix1_pos+FPix2_pos',
'BPix1+FPix1_neg+FPix2_neg',
69 'BPix2+FPix1_pos+FPix2_pos',
'BPix2+FPix1_neg+FPix2_neg',
70 'FPix1_pos+FPix2_pos+TEC1_pos',
'FPix1_neg+FPix2_neg+TEC1_neg',
71 'FPix2_pos+TEC2_pos+TEC3_pos',
'FPix2_neg+TEC2_neg+TEC3_neg'
73 TEC = dict(clusterChargeCut = dict(refToPSet_ =
'SiStripClusterChargeCutTiny')),
75 from Configuration.Eras.Modifier_highBetaStar_2018_cff
import highBetaStar_2018
76 highBetaStar_2018.toModify(mixedTripletStepSeedLayersA,
79 'BPix1+FPix1_pos+FPix2_pos',
'BPix1+FPix1_neg+FPix2_neg',
80 'BPix2+FPix1_pos+FPix2_pos',
'BPix2+FPix1_neg+FPix2_neg',
81 'BPix1+BPix2+FPix1_pos',
'BPix1+BPix2+FPix1_neg',
82 'BPix1+BPix2+FPix2_pos',
'BPix1+BPix2+FPix2_neg'
88 from RecoTracker.TkTrackingRegions.globalTrackingRegionFromBeamSpotFixedZ_cfi
import globalTrackingRegionFromBeamSpotFixedZ
as _globalTrackingRegionFromBeamSpotFixedZ
89 _mixedTripletStepTrackingRegionsCommon = _globalTrackingRegionFromBeamSpotFixedZ.clone(RegionPSet = dict(
91 originHalfLength = 15.0,
94 trackingLowPU.toModify(_mixedTripletStepTrackingRegionsCommon, RegionPSet = dict(originHalfLength = 10.0))
95 highBetaStar_2018.toModify(_mixedTripletStepTrackingRegionsCommon,RegionPSet = dict(
100 mixedTripletStepTrackingRegionsA = _mixedTripletStepTrackingRegionsCommon.clone()
102 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
103 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
105 _mixedTripletStepTrackingRegionsCommon_pp_on_HI = _globalTrackingRegionWithVertices.clone(
110 originRScaling4BigEvts =
True,
111 ptMinScaling4BigEvts =
True,
114 scalingStartNPix = 20000,
115 scalingEndNPix = 35000
118 (pp_on_XeXe_2017 | pp_on_AA).toReplaceWith(mixedTripletStepTrackingRegionsA,_mixedTripletStepTrackingRegionsCommon_pp_on_HI)
123 mixedTripletStepClusterShapeHitFilter = _ClusterShapeHitFilterESProducer.clone(
124 ComponentName =
'mixedTripletStepClusterShapeHitFilter',
125 clusterChargeCut = dict(refToPSet_ =
'SiStripClusterChargeCutTight')
127 from RecoTracker.TkHitPairs.hitPairEDProducer_cfi
import hitPairEDProducer
as _hitPairEDProducer
128 mixedTripletStepHitDoubletsA = _hitPairEDProducer.clone(
129 seedingLayers =
'mixedTripletStepSeedLayersA',
130 trackingRegions =
'mixedTripletStepTrackingRegionsA',
131 maxElement = 50000000,
132 produceIntermediateHitDoublets =
True,
134 from RecoPixelVertexing.PixelTriplets.pixelTripletLargeTipEDProducer_cfi
import pixelTripletLargeTipEDProducer
as _pixelTripletLargeTipEDProducer
136 mixedTripletStepHitTripletsA = _pixelTripletLargeTipEDProducer.clone(
137 doublets =
'mixedTripletStepHitDoubletsA',
138 produceSeedingHitSets =
True,
140 from RecoTracker.TkSeedGenerator.seedCreatorFromRegionConsecutiveHitsTripletOnlyEDProducer_cff
import seedCreatorFromRegionConsecutiveHitsTripletOnlyEDProducer
as _seedCreatorFromRegionConsecutiveHitsTripletOnlyEDProducer
141 _mixedTripletStepSeedsACommon = _seedCreatorFromRegionConsecutiveHitsTripletOnlyEDProducer.clone(
142 seedingHitSets =
'mixedTripletStepHitTripletsA',
143 SeedComparitorPSet = dict(
144 ComponentName =
'PixelClusterShapeSeedComparitor',
145 FilterAtHelixStage = cms.bool(
False),
146 FilterPixelHits = cms.bool(
True),
147 FilterStripHits = cms.bool(
True),
148 ClusterShapeHitFilterName = cms.string(
'mixedTripletStepClusterShapeHitFilter'),
149 ClusterShapeCacheSrc = cms.InputTag(
'siPixelClusterShapeCache')
152 trackingLowPU.toModify(_mixedTripletStepSeedsACommon,
153 SeedComparitorPSet = dict(ClusterShapeHitFilterName =
'ClusterShapeHitFilter')
155 mixedTripletStepSeedsA = _mixedTripletStepSeedsACommon.clone()
157 import FastSimulation.Tracking.TrajectorySeedProducer_cfi
158 from FastSimulation.Tracking.SeedingMigration
import _hitSetProducerToFactoryPSet
159 _fastSim_mixedTripletStepSeedsA = FastSimulation.Tracking.TrajectorySeedProducer_cfi.trajectorySeedProducer.clone(
160 trackingRegions =
'mixedTripletStepTrackingRegionsA',
161 hitMasks = cms.InputTag(
'mixedTripletStepMasks'),
163 layerList = mixedTripletStepSeedLayersA.layerList.value())
165 fastSim.toReplaceWith(mixedTripletStepSeedsA,_fastSim_mixedTripletStepSeedsA)
168 mixedTripletStepSeedLayersB = _mod.seedingLayersEDProducer.clone(
169 layerList = [
'BPix2+BPix3+TIB1'],
171 TTRHBuilder = cms.string(
'WithTrackAngle'),
172 HitProducer = cms.string(
'siPixelRecHits'),
173 skipClusters = cms.InputTag(
'mixedTripletStepClusters')
176 matchedRecHits = cms.InputTag(
'siStripMatchedRecHits',
'matchedRecHit'),
177 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
178 skipClusters = cms.InputTag(
'mixedTripletStepClusters')
181 trackingLowPU.toModify(mixedTripletStepSeedLayersB,
182 layerList = [
'BPix2+BPix3+TIB1',
'BPix2+BPix3+TIB2'],
183 TIB = dict(clusterChargeCut = dict(refToPSet_ =
'SiStripClusterChargeCutTiny')),
185 trackingPhase1.toModify(mixedTripletStepSeedLayersB, layerList = [
'BPix3+BPix4+TIB1'])
188 mixedTripletStepTrackingRegionsB = _mixedTripletStepTrackingRegionsCommon.clone(RegionPSet = dict(ptMin=0.6, originHalfLength=10.0))
189 (pp_on_XeXe_2017 | pp_on_AA).toReplaceWith(mixedTripletStepTrackingRegionsB,
190 _mixedTripletStepTrackingRegionsCommon_pp_on_HI.clone(RegionPSet=dict(
195 highBetaStar_2018.toReplaceWith(mixedTripletStepTrackingRegionsB, _mixedTripletStepTrackingRegionsCommon.clone())
198 mixedTripletStepHitDoubletsB = mixedTripletStepHitDoubletsA.clone(
199 seedingLayers =
'mixedTripletStepSeedLayersB',
200 trackingRegions =
'mixedTripletStepTrackingRegionsB',
202 mixedTripletStepHitTripletsB = mixedTripletStepHitTripletsA.clone(doublets =
'mixedTripletStepHitDoubletsB')
203 mixedTripletStepSeedsB = _mixedTripletStepSeedsACommon.clone(seedingHitSets =
'mixedTripletStepHitTripletsB')
205 _fastSim_mixedTripletStepSeedsB = FastSimulation.Tracking.TrajectorySeedProducer_cfi.trajectorySeedProducer.clone(
206 trackingRegions =
'mixedTripletStepTrackingRegionsB',
207 hitMasks = cms.InputTag(
'mixedTripletStepMasks'),
209 layerList = mixedTripletStepSeedLayersB.layerList.value())
211 fastSim.toReplaceWith(mixedTripletStepSeedsB,_fastSim_mixedTripletStepSeedsB)
215 mixedTripletStepSeeds = RecoTracker.TkSeedGenerator.GlobalCombinedSeeds_cfi.globalCombinedSeeds.clone(
216 seedCollections = [
'mixedTripletStepSeedsA',
217 'mixedTripletStepSeedsB']
221 _mixedTripletStepTrajectoryFilterBase = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
223 minimumNumberOfHits = 3,
226 highBetaStar_2018.toModify(_mixedTripletStepTrajectoryFilterBase,minPt = 0.05)
228 mixedTripletStepTrajectoryFilter = _mixedTripletStepTrajectoryFilterBase.clone(
229 constantValueForLostHitsFractionFilter = 1.4,
231 trackingLowPU.toReplaceWith(mixedTripletStepTrajectoryFilter, _mixedTripletStepTrajectoryFilterBase.clone(
235 (pp_on_XeXe_2017 | pp_on_AA).toModify(mixedTripletStepTrajectoryFilter, minPt=0.4)
240 mixedTripletStepPropagator = TrackingTools.MaterialEffects.MaterialPropagator_cfi.MaterialPropagator.clone(
242 ComponentName =
'mixedTripletStepPropagator',
245 for e
in [pp_on_XeXe_2017, pp_on_AA]:
246 e.toModify(mixedTripletStepPropagator, ptMin=0.4)
247 highBetaStar_2018.toModify(mixedTripletStepPropagator,ptMin = 0.05)
250 mixedTripletStepPropagatorOpposite = TrackingTools.MaterialEffects.OppositeMaterialPropagator_cfi.OppositeMaterialPropagator.clone(
252 ComponentName =
'mixedTripletStepPropagatorOpposite',
255 for e
in [pp_on_XeXe_2017, pp_on_AA]:
256 e.toModify(mixedTripletStepPropagatorOpposite, ptMin=0.4)
257 highBetaStar_2018.toModify(mixedTripletStepPropagatorOpposite,ptMin = 0.05)
259 import RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi
260 mixedTripletStepChi2Est = RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi.Chi2ChargeMeasurementEstimator.clone(
261 ComponentName =
'mixedTripletStepChi2Est',
264 clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight'))
266 trackingLowPU.toModify(mixedTripletStepChi2Est,
267 clusterChargeCut = dict(refToPSet_ =
'SiStripClusterChargeCutTiny')
272 mixedTripletStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
273 MeasurementTrackerName =
'',
274 trajectoryFilter = cms.PSet(refToPSet_ = cms.string(
'mixedTripletStepTrajectoryFilter')),
275 propagatorAlong =
'mixedTripletStepPropagator',
276 propagatorOpposite =
'mixedTripletStepPropagatorOpposite',
278 estimator =
'mixedTripletStepChi2Est',
279 maxDPhiForLooperReconstruction = cms.double(2.0),
280 maxPtForLooperReconstruction = cms.double(0.7)
282 trackingNoLoopers.toModify(mixedTripletStepTrajectoryBuilder,
283 maxPtForLooperReconstruction = 0.0)
287 _mixedTripletStepTrackCandidatesCkf = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
288 src =
'mixedTripletStepSeeds',
289 clustersToSkip = cms.InputTag(
'mixedTripletStepClusters'),
291 numHitsForSeedCleaner = cms.int32(50),
294 TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string(
'mixedTripletStepTrajectoryBuilder')),
295 doSeedingRegionRebuilding =
True,
296 useHitsSplitting =
True,
297 TrajectoryCleaner =
'mixedTripletStepTrajectoryCleanerBySharedHits'
299 mixedTripletStepTrackCandidates = _mixedTripletStepTrackCandidatesCkf.clone()
302 import RecoTracker.MkFit.mkFitSeedConverter_cfi
as mkFitSeedConverter_cfi
303 import RecoTracker.MkFit.mkFitIterationConfigESProducer_cfi
as mkFitIterationConfigESProducer_cfi
304 import RecoTracker.MkFit.mkFitProducer_cfi
as mkFitProducer_cfi
305 import RecoTracker.MkFit.mkFitOutputConverter_cfi
as mkFitOutputConverter_cfi
306 mixedTripletStepTrackCandidatesMkFitSeeds = mkFitSeedConverter_cfi.mkFitSeedConverter.clone(
307 seeds =
'mixedTripletStepSeeds',
309 mixedTripletStepTrackCandidatesMkFitConfig = mkFitIterationConfigESProducer_cfi.mkFitIterationConfigESProducer.clone(
310 ComponentName =
'mixedTripletStepTrackCandidatesMkFitConfig',
311 config =
'RecoTracker/MkFit/data/mkfit-phase1-mixedTripletStep.json',
313 mixedTripletStepTrackCandidatesMkFit = mkFitProducer_cfi.mkFitProducer.clone(
314 seeds =
'mixedTripletStepTrackCandidatesMkFitSeeds',
315 config = (
'',
'mixedTripletStepTrackCandidatesMkFitConfig'),
316 clustersToSkip =
'mixedTripletStepClusters',
318 trackingMkFitMixedTripletStep.toReplaceWith(mixedTripletStepTrackCandidates, mkFitOutputConverter_cfi.mkFitOutputConverter.clone(
319 seeds =
'mixedTripletStepSeeds',
320 mkFitSeeds =
'mixedTripletStepTrackCandidatesMkFitSeeds',
321 tracks =
'mixedTripletStepTrackCandidatesMkFit',
324 import FastSimulation.Tracking.TrackCandidateProducer_cfi
325 fastSim.toReplaceWith(mixedTripletStepTrackCandidates,
326 FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone(
327 src =
'mixedTripletStepSeeds',
328 MinNumberOfCrossedLayers = 3,
329 hitMasks = cms.InputTag(
'mixedTripletStepMasks'),
335 mixedTripletStepTrajectoryCleanerBySharedHits = trajectoryCleanerBySharedHits.clone(
336 ComponentName =
'mixedTripletStepTrajectoryCleanerBySharedHits',
337 fractionShared = 0.11,
338 allowSharedFirstHit =
True
340 trackingLowPU.toModify(mixedTripletStepTrajectoryCleanerBySharedHits, fractionShared = 0.19)
345 mixedTripletStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
346 AlgorithmName =
'mixedTripletStep',
347 src =
'mixedTripletStepTrackCandidates',
348 Fitter =
'FlexibleKFFittingSmoother'
350 fastSim.toModify(mixedTripletStepTracks, TTRHBuilder =
'WithoutRefit')
355 mixedTripletStepClassifier1 = TrackMVAClassifierDetached.clone(
356 src =
'mixedTripletStepTracks',
357 mva = dict(GBRForestLabel =
'MVASelectorIter4_13TeV'),
358 qualityCuts = [-0.5,0.0,0.5]
360 fastSim.toModify(mixedTripletStepClassifier1, vertices =
'firstStepPrimaryVerticesBeforeMixing')
362 mixedTripletStepClassifier2 = TrackMVAClassifierPrompt.clone(
363 src =
'mixedTripletStepTracks',
364 mva = dict(GBRForestLabel =
'MVASelectorIter0_13TeV'),
365 qualityCuts = [-0.2,-0.2,-0.2]
367 fastSim.toModify(mixedTripletStepClassifier2,vertices =
'firstStepPrimaryVerticesBeforeMixing')
370 mixedTripletStep = ClassifierMerger.clone(
371 inputClassifiers=[
'mixedTripletStepClassifier1',
'mixedTripletStepClassifier2']
373 trackingPhase1.toReplaceWith(mixedTripletStep, mixedTripletStepClassifier1.clone(
374 mva = dict(GBRForestLabel =
'MVASelectorMixedTripletStep_Phase1'),
375 qualityCuts = [-0.5,0.0,0.5]
381 trackdnn.toReplaceWith(mixedTripletStep, trackTfClassifier.clone(
382 src =
'mixedTripletStepTracks',
383 qualityCuts = qualityCutDictionary.MixedTripletStep.value()
385 (trackdnn & fastSim).toModify(mixedTripletStep,vertices =
'firstStepPrimaryVerticesBeforeMixing')
387 highBetaStar_2018.toModify(mixedTripletStep,qualityCuts = [-0.7,0.0,0.5])
388 pp_on_AA.toModify(mixedTripletStep, qualityCuts = [-0.5,0.0,0.9])
391 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
392 mixedTripletStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
393 src =
'mixedTripletStepTracks',
394 useAnyMVA = cms.bool(
False),
395 GBRForestLabel = cms.string(
'MVASelectorIter4'),
397 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
398 name =
'mixedTripletStepVtxLoose',
400 res_par = ( 0.003, 0.001 ),
402 maxNumberLostLayers = 1,
403 minNumber3DLayers = 2,
404 d0_par1 = ( 1.2, 3.0 ),
405 dz_par1 = ( 1.2, 3.0 ),
406 d0_par2 = ( 1.3, 3.0 ),
407 dz_par2 = ( 1.3, 3.0 )
409 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
410 name =
'mixedTripletStepTrkLoose',
412 res_par = ( 0.003, 0.001 ),
414 maxNumberLostLayers = 1,
415 minNumber3DLayers = 3,
416 d0_par1 = ( 1.2, 4.0 ),
417 dz_par1 = ( 1.2, 4.0 ),
418 d0_par2 = ( 1.2, 4.0 ),
419 dz_par2 = ( 1.2, 4.0 )
421 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
422 name =
'mixedTripletStepVtxTight',
423 preFilterName =
'mixedTripletStepVtxLoose',
425 res_par = ( 0.003, 0.001 ),
427 maxNumberLostLayers = 1,
428 minNumber3DLayers = 3,
429 d0_par1 = ( 1.1, 3.0 ),
430 dz_par1 = ( 1.1, 3.0 ),
431 d0_par2 = ( 1.2, 3.0 ),
432 dz_par2 = ( 1.2, 3.0 )
434 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
435 name =
'mixedTripletStepTrkTight',
436 preFilterName =
'mixedTripletStepTrkLoose',
438 res_par = ( 0.003, 0.001 ),
440 maxNumberLostLayers = 1,
441 minNumber3DLayers = 4,
442 d0_par1 = ( 1.1, 4.0 ),
443 dz_par1 = ( 1.1, 4.0 ),
444 d0_par2 = ( 1.1, 4.0 ),
445 dz_par2 = ( 1.1, 4.0 )
447 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
448 name =
'mixedTripletStepVtx',
449 preFilterName =
'mixedTripletStepVtxTight',
451 res_par = ( 0.003, 0.001 ),
453 maxNumberLostLayers = 1,
454 minNumber3DLayers = 3,
455 d0_par1 = ( 1.1, 3.0 ),
456 dz_par1 = ( 1.1, 3.0 ),
457 d0_par2 = ( 1.2, 3.0 ),
458 dz_par2 = ( 1.2, 3.0 )
460 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
461 name =
'mixedTripletStepTrk',
462 preFilterName =
'mixedTripletStepTrkTight',
464 res_par = ( 0.003, 0.001 ),
466 maxNumberLostLayers = 0,
467 minNumber3DLayers = 4,
468 d0_par1 = ( 0.9, 4.0 ),
469 dz_par1 = ( 0.9, 4.0 ),
470 d0_par2 = ( 0.9, 4.0 ),
471 dz_par2 = ( 0.9, 4.0 )
477 from RecoTracker.FinalTrackSelectors.trackAlgoPriorityOrder_cfi
import trackAlgoPriorityOrder
479 _trackListMergerBase = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
480 TrackProducers = [
'mixedTripletStepTracks',
481 'mixedTripletStepTracks'],
483 selectedTrackQuals = [
'mixedTripletStepSelector:mixedTripletStepVtx',
484 'mixedTripletStepSelector:mixedTripletStepTrk'],
485 setsToMerge = [cms.PSet( tLists=cms.vint32(0,1), pQual=cms.bool(
True) )],
486 writeOnlyTrkQuals =
True
488 trackingLowPU.toReplaceWith(mixedTripletStep, _trackListMergerBase)
492 MixedTripletStepTask = cms.Task(chargeCut2069Clusters,mixedTripletStepClusters,
493 mixedTripletStepSeedLayersA,
494 mixedTripletStepTrackingRegionsA,
495 mixedTripletStepHitDoubletsA,
496 mixedTripletStepHitTripletsA,
497 mixedTripletStepSeedsA,
498 mixedTripletStepSeedLayersB,
499 mixedTripletStepTrackingRegionsB,
500 mixedTripletStepHitDoubletsB,
501 mixedTripletStepHitTripletsB,
502 mixedTripletStepSeedsB,
503 mixedTripletStepSeeds,
504 mixedTripletStepTrackCandidates,
505 mixedTripletStepTracks,
506 mixedTripletStepClassifier1,mixedTripletStepClassifier2,
508 MixedTripletStep = cms.Sequence(MixedTripletStepTask)
510 _MixedTripletStepTask_trackingMkFit = MixedTripletStepTask.copy()
511 _MixedTripletStepTask_trackingMkFit.add(mixedTripletStepTrackCandidatesMkFitSeeds, mixedTripletStepTrackCandidatesMkFit, mixedTripletStepTrackCandidatesMkFitConfig)
512 trackingMkFitMixedTripletStep.toReplaceWith(MixedTripletStepTask, _MixedTripletStepTask_trackingMkFit)
514 _MixedTripletStepTask_LowPU = MixedTripletStepTask.copyAndExclude([chargeCut2069Clusters, mixedTripletStepClassifier1])
515 _MixedTripletStepTask_LowPU.replace(mixedTripletStepClassifier2, mixedTripletStepSelector)
516 trackingLowPU.toReplaceWith(MixedTripletStepTask, _MixedTripletStepTask_LowPU)
519 import FastSimulation.Tracking.FastTrackerRecHitMaskProducer_cfi
520 mixedTripletStepMasks = FastSimulation.Tracking.FastTrackerRecHitMaskProducer_cfi.maskProducerFromClusterRemover(mixedTripletStepClusters)
521 mixedTripletStepMasks.oldHitRemovalInfo = cms.InputTag(
'pixelPairStepMasks')
523 fastSim.toReplaceWith(MixedTripletStepTask,
524 cms.Task(mixedTripletStepMasks
525 ,mixedTripletStepTrackingRegionsA
526 ,mixedTripletStepSeedsA
527 ,mixedTripletStepTrackingRegionsB
528 ,mixedTripletStepSeedsB
529 ,mixedTripletStepSeeds
530 ,mixedTripletStepTrackCandidates
531 ,mixedTripletStepTracks
532 ,mixedTripletStepClassifier1,mixedTripletStepClassifier2
def _hitSetProducerToFactoryPSet