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
14 from Configuration.ProcessModifiers.trackingParabolicMf_cff
import trackingParabolicMf
21 chargeCut2069Clusters = cms.EDProducer(
'ClusterChargeMasker',
22 oldClusterRemovalInfo = cms.InputTag(
''),
23 pixelClusters = cms.InputTag(
'siPixelClusters'),
24 stripClusters = cms.InputTag(
'siStripClusters'),
25 clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight'))
28 mixedTripletStepClusters = _cfg.clusterRemoverForIter(
'MixedTripletStep')
29 chargeCut2069Clusters.oldClusterRemovalInfo = mixedTripletStepClusters.oldClusterRemovalInfo.value()
30 mixedTripletStepClusters.oldClusterRemovalInfo =
'chargeCut2069Clusters' 31 for _eraName, _postfix, _era
in _cfg.nonDefaultEras():
32 _era.toReplaceWith(mixedTripletStepClusters, _cfg.clusterRemoverForIter(
'MixedTripletStep', _eraName, _postfix))
33 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
34 trackingPhase1.toModify(chargeCut2069Clusters, oldClusterRemovalInfo = mixedTripletStepClusters.oldClusterRemovalInfo.value())
35 trackingPhase1.toModify(mixedTripletStepClusters, oldClusterRemovalInfo=
'chargeCut2069Clusters')
41 mixedTripletStepSeedLayersA = _mod.seedingLayersEDProducer.clone(
42 layerList = [
'BPix2+FPix1_pos+FPix2_pos',
'BPix2+FPix1_neg+FPix2_neg'],
48 TTRHBuilder = cms.string(
'WithTrackAngle'),
49 HitProducer = cms.string(
'siPixelRecHits'),
50 skipClusters = cms.InputTag(
'mixedTripletStepClusters')
53 TTRHBuilder = cms.string(
'WithTrackAngle'),
54 HitProducer = cms.string(
'siPixelRecHits'),
55 skipClusters = cms.InputTag(
'mixedTripletStepClusters')
58 matchedRecHits = cms.InputTag(
'siStripMatchedRecHits',
'matchedRecHit'),
59 useRingSlector = cms.bool(
True),
60 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
61 minRing = cms.int32(1),
62 maxRing = cms.int32(1),
63 skipClusters = cms.InputTag(
'mixedTripletStepClusters')
66 from Configuration.Eras.Modifier_trackingLowPU_cff
import trackingLowPU
67 trackingLowPU.toModify(mixedTripletStepSeedLayersA,
70 'BPix1+BPix2+FPix1_pos',
'BPix1+BPix2+FPix1_neg',
71 'BPix1+FPix1_pos+FPix2_pos',
'BPix1+FPix1_neg+FPix2_neg',
72 'BPix2+FPix1_pos+FPix2_pos',
'BPix2+FPix1_neg+FPix2_neg',
73 'FPix1_pos+FPix2_pos+TEC1_pos',
'FPix1_neg+FPix2_neg+TEC1_neg',
74 'FPix2_pos+TEC2_pos+TEC3_pos',
'FPix2_neg+TEC2_neg+TEC3_neg' 76 TEC = dict(clusterChargeCut = dict(refToPSet_ =
'SiStripClusterChargeCutTiny')),
78 from Configuration.Eras.Modifier_highBetaStar_2018_cff
import highBetaStar_2018
79 highBetaStar_2018.toModify(mixedTripletStepSeedLayersA,
82 'BPix1+FPix1_pos+FPix2_pos',
'BPix1+FPix1_neg+FPix2_neg',
83 'BPix2+FPix1_pos+FPix2_pos',
'BPix2+FPix1_neg+FPix2_neg',
84 'BPix1+BPix2+FPix1_pos',
'BPix1+BPix2+FPix1_neg',
85 'BPix1+BPix2+FPix2_pos',
'BPix1+BPix2+FPix2_neg' 91 from RecoTracker.TkTrackingRegions.globalTrackingRegionFromBeamSpotFixedZ_cfi
import globalTrackingRegionFromBeamSpotFixedZ
as _globalTrackingRegionFromBeamSpotFixedZ
92 _mixedTripletStepTrackingRegionsCommon = _globalTrackingRegionFromBeamSpotFixedZ.clone(RegionPSet = dict(
94 originHalfLength = 15.0,
97 trackingLowPU.toModify(_mixedTripletStepTrackingRegionsCommon, RegionPSet = dict(originHalfLength = 10.0))
98 highBetaStar_2018.toModify(_mixedTripletStepTrackingRegionsCommon,RegionPSet = dict(
103 mixedTripletStepTrackingRegionsA = _mixedTripletStepTrackingRegionsCommon.clone()
105 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
106 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
108 _mixedTripletStepTrackingRegionsCommon_pp_on_HI = _globalTrackingRegionWithVertices.clone(
113 originRScaling4BigEvts =
True,
114 ptMinScaling4BigEvts =
True,
117 scalingStartNPix = 20000,
118 scalingEndNPix = 35000
121 (pp_on_XeXe_2017 | pp_on_AA).toReplaceWith(mixedTripletStepTrackingRegionsA,_mixedTripletStepTrackingRegionsCommon_pp_on_HI)
126 mixedTripletStepClusterShapeHitFilter = _ClusterShapeHitFilterESProducer.clone(
127 ComponentName =
'mixedTripletStepClusterShapeHitFilter',
128 clusterChargeCut = dict(refToPSet_ =
'SiStripClusterChargeCutTight')
130 from RecoTracker.TkHitPairs.hitPairEDProducer_cfi
import hitPairEDProducer
as _hitPairEDProducer
131 mixedTripletStepHitDoubletsA = _hitPairEDProducer.clone(
132 seedingLayers =
'mixedTripletStepSeedLayersA',
133 trackingRegions =
'mixedTripletStepTrackingRegionsA',
134 maxElement = 50000000,
135 produceIntermediateHitDoublets =
True,
137 from RecoTracker.PixelSeeding.pixelTripletLargeTipEDProducer_cfi
import pixelTripletLargeTipEDProducer
as _pixelTripletLargeTipEDProducer
139 mixedTripletStepHitTripletsA = _pixelTripletLargeTipEDProducer.clone(
140 doublets =
'mixedTripletStepHitDoubletsA',
141 produceSeedingHitSets =
True,
143 from RecoTracker.TkSeedGenerator.seedCreatorFromRegionConsecutiveHitsTripletOnlyEDProducer_cff
import seedCreatorFromRegionConsecutiveHitsTripletOnlyEDProducer
as _seedCreatorFromRegionConsecutiveHitsTripletOnlyEDProducer
144 _mixedTripletStepSeedsACommon = _seedCreatorFromRegionConsecutiveHitsTripletOnlyEDProducer.clone(
145 seedingHitSets =
'mixedTripletStepHitTripletsA',
146 SeedComparitorPSet = dict(
147 ComponentName =
'PixelClusterShapeSeedComparitor',
148 FilterAtHelixStage = cms.bool(
False),
149 FilterPixelHits = cms.bool(
True),
150 FilterStripHits = cms.bool(
True),
151 ClusterShapeHitFilterName = cms.string(
'mixedTripletStepClusterShapeHitFilter'),
152 ClusterShapeCacheSrc = cms.InputTag(
'siPixelClusterShapeCache')
155 trackingLowPU.toModify(_mixedTripletStepSeedsACommon,
156 SeedComparitorPSet = dict(ClusterShapeHitFilterName =
'ClusterShapeHitFilter')
158 mixedTripletStepSeedsA = _mixedTripletStepSeedsACommon.clone()
160 import FastSimulation.Tracking.TrajectorySeedProducer_cfi
161 from FastSimulation.Tracking.SeedingMigration
import _hitSetProducerToFactoryPSet
162 _fastSim_mixedTripletStepSeedsA = FastSimulation.Tracking.TrajectorySeedProducer_cfi.trajectorySeedProducer.clone(
163 trackingRegions =
'mixedTripletStepTrackingRegionsA',
164 hitMasks = cms.InputTag(
'mixedTripletStepMasks'),
166 layerList = mixedTripletStepSeedLayersA.layerList.value())
168 fastSim.toReplaceWith(mixedTripletStepSeedsA,_fastSim_mixedTripletStepSeedsA)
171 mixedTripletStepSeedLayersB = _mod.seedingLayersEDProducer.clone(
172 layerList = [
'BPix2+BPix3+TIB1'],
174 TTRHBuilder = cms.string(
'WithTrackAngle'),
175 HitProducer = cms.string(
'siPixelRecHits'),
176 skipClusters = cms.InputTag(
'mixedTripletStepClusters')
179 matchedRecHits = cms.InputTag(
'siStripMatchedRecHits',
'matchedRecHit'),
180 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
181 skipClusters = cms.InputTag(
'mixedTripletStepClusters')
184 trackingLowPU.toModify(mixedTripletStepSeedLayersB,
185 layerList = [
'BPix2+BPix3+TIB1',
'BPix2+BPix3+TIB2'],
186 TIB = dict(clusterChargeCut = dict(refToPSet_ =
'SiStripClusterChargeCutTiny')),
188 trackingPhase1.toModify(mixedTripletStepSeedLayersB, layerList = [
'BPix3+BPix4+TIB1'])
191 mixedTripletStepTrackingRegionsB = _mixedTripletStepTrackingRegionsCommon.clone(RegionPSet = dict(ptMin=0.6, originHalfLength=10.0))
192 (pp_on_XeXe_2017 | pp_on_AA).toReplaceWith(mixedTripletStepTrackingRegionsB,
193 _mixedTripletStepTrackingRegionsCommon_pp_on_HI.clone(RegionPSet=dict(
198 highBetaStar_2018.toReplaceWith(mixedTripletStepTrackingRegionsB, _mixedTripletStepTrackingRegionsCommon.clone())
201 mixedTripletStepHitDoubletsB = mixedTripletStepHitDoubletsA.clone(
202 seedingLayers =
'mixedTripletStepSeedLayersB',
203 trackingRegions =
'mixedTripletStepTrackingRegionsB',
205 mixedTripletStepHitTripletsB = mixedTripletStepHitTripletsA.clone(doublets =
'mixedTripletStepHitDoubletsB')
206 mixedTripletStepSeedsB = _mixedTripletStepSeedsACommon.clone(seedingHitSets =
'mixedTripletStepHitTripletsB')
208 _fastSim_mixedTripletStepSeedsB = FastSimulation.Tracking.TrajectorySeedProducer_cfi.trajectorySeedProducer.clone(
209 trackingRegions =
'mixedTripletStepTrackingRegionsB',
210 hitMasks = cms.InputTag(
'mixedTripletStepMasks'),
212 layerList = mixedTripletStepSeedLayersB.layerList.value())
214 fastSim.toReplaceWith(mixedTripletStepSeedsB,_fastSim_mixedTripletStepSeedsB)
218 mixedTripletStepSeeds = RecoTracker.TkSeedGenerator.GlobalCombinedSeeds_cfi.globalCombinedSeeds.clone(
219 seedCollections = [
'mixedTripletStepSeedsA',
220 'mixedTripletStepSeedsB']
224 _mixedTripletStepTrajectoryFilterBase = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
226 minimumNumberOfHits = 3,
229 highBetaStar_2018.toModify(_mixedTripletStepTrajectoryFilterBase,minPt = 0.05)
231 mixedTripletStepTrajectoryFilter = _mixedTripletStepTrajectoryFilterBase.clone(
232 constantValueForLostHitsFractionFilter = 1.4,
234 trackingLowPU.toReplaceWith(mixedTripletStepTrajectoryFilter, _mixedTripletStepTrajectoryFilterBase.clone(
238 (pp_on_XeXe_2017 | pp_on_AA).toModify(mixedTripletStepTrajectoryFilter, minPt=0.4)
243 mixedTripletStepPropagator = TrackingTools.MaterialEffects.MaterialPropagator_cfi.MaterialPropagator.clone(
245 ComponentName =
'mixedTripletStepPropagator',
248 trackingParabolicMf.toModify(mixedTripletStepPropagator, SimpleMagneticField =
'ParabolicMf')
249 for e
in [pp_on_XeXe_2017, pp_on_AA]:
250 e.toModify(mixedTripletStepPropagator, ptMin=0.4)
251 highBetaStar_2018.toModify(mixedTripletStepPropagator,ptMin = 0.05)
254 mixedTripletStepPropagatorOpposite = TrackingTools.MaterialEffects.OppositeMaterialPropagator_cfi.OppositeMaterialPropagator.clone(
256 ComponentName =
'mixedTripletStepPropagatorOpposite',
259 trackingParabolicMf.toModify(mixedTripletStepPropagatorOpposite, SimpleMagneticField =
'ParabolicMf')
260 for e
in [pp_on_XeXe_2017, pp_on_AA]:
261 e.toModify(mixedTripletStepPropagatorOpposite, ptMin=0.4)
262 highBetaStar_2018.toModify(mixedTripletStepPropagatorOpposite,ptMin = 0.05)
264 import RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi
265 mixedTripletStepChi2Est = RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi.Chi2ChargeMeasurementEstimator.clone(
266 ComponentName =
'mixedTripletStepChi2Est',
269 clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight'))
271 trackingLowPU.toModify(mixedTripletStepChi2Est,
272 clusterChargeCut = dict(refToPSet_ =
'SiStripClusterChargeCutTiny')
277 mixedTripletStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilderIterativeDefault.clone(
278 trajectoryFilter = dict(refToPSet_ =
'mixedTripletStepTrajectoryFilter'),
279 propagatorAlong =
'mixedTripletStepPropagator',
280 propagatorOpposite =
'mixedTripletStepPropagatorOpposite',
282 estimator =
'mixedTripletStepChi2Est',
283 maxDPhiForLooperReconstruction = 2.0,
284 maxPtForLooperReconstruction = 0.7,
286 trackingNoLoopers.toModify(mixedTripletStepTrajectoryBuilder,
287 maxPtForLooperReconstruction = 0.0)
291 _mixedTripletStepTrackCandidatesCkf = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidatesIterativeDefault.clone(
292 src =
'mixedTripletStepSeeds',
293 clustersToSkip =
'mixedTripletStepClusters',
295 numHitsForSeedCleaner = 50,
297 TrajectoryBuilderPSet = dict(refToPSet_ =
'mixedTripletStepTrajectoryBuilder'),
298 doSeedingRegionRebuilding =
True,
299 useHitsSplitting =
True,
300 TrajectoryCleaner =
'mixedTripletStepTrajectoryCleanerBySharedHits',
302 mixedTripletStepTrackCandidates = _mixedTripletStepTrackCandidatesCkf.clone()
305 import RecoTracker.MkFit.mkFitSeedConverter_cfi
as mkFitSeedConverter_cfi
306 import RecoTracker.MkFit.mkFitIterationConfigESProducer_cfi
as mkFitIterationConfigESProducer_cfi
307 import RecoTracker.MkFit.mkFitProducer_cfi
as mkFitProducer_cfi
308 import RecoTracker.MkFit.mkFitOutputConverter_cfi
as mkFitOutputConverter_cfi
309 mixedTripletStepTrackCandidatesMkFitSeeds = mkFitSeedConverter_cfi.mkFitSeedConverter.clone(
310 seeds =
'mixedTripletStepSeeds',
312 mixedTripletStepTrackCandidatesMkFitConfig = mkFitIterationConfigESProducer_cfi.mkFitIterationConfigESProducer.clone(
313 ComponentName =
'mixedTripletStepTrackCandidatesMkFitConfig',
314 config =
'RecoTracker/MkFit/data/mkfit-phase1-mixedTripletStep.json',
316 mixedTripletStepTrackCandidatesMkFit = mkFitProducer_cfi.mkFitProducer.clone(
317 seeds =
'mixedTripletStepTrackCandidatesMkFitSeeds',
318 config = (
'',
'mixedTripletStepTrackCandidatesMkFitConfig'),
319 clustersToSkip =
'mixedTripletStepClusters',
321 trackingMkFitMixedTripletStep.toReplaceWith(mixedTripletStepTrackCandidates, mkFitOutputConverter_cfi.mkFitOutputConverter.clone(
322 seeds =
'mixedTripletStepSeeds',
323 mkFitSeeds =
'mixedTripletStepTrackCandidatesMkFitSeeds',
324 tracks =
'mixedTripletStepTrackCandidatesMkFit',
326 (pp_on_XeXe_2017 | pp_on_AA).toModify(mixedTripletStepTrackCandidatesMkFitConfig, minPt=0.4)
328 import FastSimulation.Tracking.TrackCandidateProducer_cfi
329 fastSim.toReplaceWith(mixedTripletStepTrackCandidates,
330 FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone(
331 src =
'mixedTripletStepSeeds',
332 MinNumberOfCrossedLayers = 3,
333 hitMasks = cms.InputTag(
'mixedTripletStepMasks'),
339 mixedTripletStepTrajectoryCleanerBySharedHits = trajectoryCleanerBySharedHits.clone(
340 ComponentName =
'mixedTripletStepTrajectoryCleanerBySharedHits',
341 fractionShared = 0.11,
342 allowSharedFirstHit =
True 344 trackingLowPU.toModify(mixedTripletStepTrajectoryCleanerBySharedHits, fractionShared = 0.19)
348 import RecoTracker.TrackProducer.TrackProducerIterativeDefault_cfi
349 mixedTripletStepTracks = RecoTracker.TrackProducer.TrackProducerIterativeDefault_cfi.TrackProducerIterativeDefault.clone(
350 AlgorithmName =
'mixedTripletStep',
351 src =
'mixedTripletStepTrackCandidates',
352 Fitter =
'FlexibleKFFittingSmoother' 354 fastSim.toModify(mixedTripletStepTracks, TTRHBuilder =
'WithoutRefit')
359 mixedTripletStepClassifier1 = TrackMVAClassifierDetached.clone(
360 src =
'mixedTripletStepTracks',
361 mva = dict(GBRForestLabel =
'MVASelectorIter4_13TeV'),
362 qualityCuts = [-0.5,0.0,0.5]
364 fastSim.toModify(mixedTripletStepClassifier1, vertices =
'firstStepPrimaryVerticesBeforeMixing')
366 mixedTripletStepClassifier2 = TrackMVAClassifierPrompt.clone(
367 src =
'mixedTripletStepTracks',
368 mva = dict(GBRForestLabel =
'MVASelectorIter0_13TeV'),
369 qualityCuts = [-0.2,-0.2,-0.2]
371 fastSim.toModify(mixedTripletStepClassifier2,vertices =
'firstStepPrimaryVerticesBeforeMixing')
374 mixedTripletStep = ClassifierMerger.clone(
375 inputClassifiers=[
'mixedTripletStepClassifier1',
'mixedTripletStepClassifier2']
377 trackingPhase1.toReplaceWith(mixedTripletStep, mixedTripletStepClassifier1.clone(
378 mva = dict(GBRForestLabel =
'MVASelectorMixedTripletStep_Phase1'),
379 qualityCuts = [-0.5,0.0,0.5]
385 trackdnn.toReplaceWith(mixedTripletStep, trackTfClassifier.clone(
386 src =
'mixedTripletStepTracks',
387 qualityCuts = qualityCutDictionary.MixedTripletStep.value()
389 (trackdnn & fastSim).toModify(mixedTripletStep,vertices =
'firstStepPrimaryVerticesBeforeMixing')
391 highBetaStar_2018.toModify(mixedTripletStep,qualityCuts = [-0.7,0.0,0.5])
392 pp_on_AA.toModify(mixedTripletStep, qualityCuts = [-0.5,0.0,0.9])
395 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
396 mixedTripletStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
397 src =
'mixedTripletStepTracks',
398 useAnyMVA = cms.bool(
False),
399 GBRForestLabel = cms.string(
'MVASelectorIter4'),
401 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
402 name =
'mixedTripletStepVtxLoose',
404 res_par = ( 0.003, 0.001 ),
406 maxNumberLostLayers = 1,
407 minNumber3DLayers = 2,
408 d0_par1 = ( 1.2, 3.0 ),
409 dz_par1 = ( 1.2, 3.0 ),
410 d0_par2 = ( 1.3, 3.0 ),
411 dz_par2 = ( 1.3, 3.0 )
413 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
414 name =
'mixedTripletStepTrkLoose',
416 res_par = ( 0.003, 0.001 ),
418 maxNumberLostLayers = 1,
419 minNumber3DLayers = 3,
420 d0_par1 = ( 1.2, 4.0 ),
421 dz_par1 = ( 1.2, 4.0 ),
422 d0_par2 = ( 1.2, 4.0 ),
423 dz_par2 = ( 1.2, 4.0 )
425 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
426 name =
'mixedTripletStepVtxTight',
427 preFilterName =
'mixedTripletStepVtxLoose',
429 res_par = ( 0.003, 0.001 ),
431 maxNumberLostLayers = 1,
432 minNumber3DLayers = 3,
433 d0_par1 = ( 1.1, 3.0 ),
434 dz_par1 = ( 1.1, 3.0 ),
435 d0_par2 = ( 1.2, 3.0 ),
436 dz_par2 = ( 1.2, 3.0 )
438 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
439 name =
'mixedTripletStepTrkTight',
440 preFilterName =
'mixedTripletStepTrkLoose',
442 res_par = ( 0.003, 0.001 ),
444 maxNumberLostLayers = 1,
445 minNumber3DLayers = 4,
446 d0_par1 = ( 1.1, 4.0 ),
447 dz_par1 = ( 1.1, 4.0 ),
448 d0_par2 = ( 1.1, 4.0 ),
449 dz_par2 = ( 1.1, 4.0 )
451 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
452 name =
'mixedTripletStepVtx',
453 preFilterName =
'mixedTripletStepVtxTight',
455 res_par = ( 0.003, 0.001 ),
457 maxNumberLostLayers = 1,
458 minNumber3DLayers = 3,
459 d0_par1 = ( 1.1, 3.0 ),
460 dz_par1 = ( 1.1, 3.0 ),
461 d0_par2 = ( 1.2, 3.0 ),
462 dz_par2 = ( 1.2, 3.0 )
464 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
465 name =
'mixedTripletStepTrk',
466 preFilterName =
'mixedTripletStepTrkTight',
468 res_par = ( 0.003, 0.001 ),
470 maxNumberLostLayers = 0,
471 minNumber3DLayers = 4,
472 d0_par1 = ( 0.9, 4.0 ),
473 dz_par1 = ( 0.9, 4.0 ),
474 d0_par2 = ( 0.9, 4.0 ),
475 dz_par2 = ( 0.9, 4.0 )
481 from RecoTracker.FinalTrackSelectors.trackAlgoPriorityOrder_cfi
import trackAlgoPriorityOrder
483 _trackListMergerBase = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
484 TrackProducers = [
'mixedTripletStepTracks',
485 'mixedTripletStepTracks'],
487 selectedTrackQuals = [
'mixedTripletStepSelector:mixedTripletStepVtx',
488 'mixedTripletStepSelector:mixedTripletStepTrk'],
489 setsToMerge = [cms.PSet( tLists=cms.vint32(0,1), pQual=cms.bool(
True) )],
490 writeOnlyTrkQuals =
True 492 trackingLowPU.toReplaceWith(mixedTripletStep, _trackListMergerBase)
496 MixedTripletStepTask = cms.Task(chargeCut2069Clusters,mixedTripletStepClusters,
497 mixedTripletStepSeedLayersA,
498 mixedTripletStepTrackingRegionsA,
499 mixedTripletStepHitDoubletsA,
500 mixedTripletStepHitTripletsA,
501 mixedTripletStepSeedsA,
502 mixedTripletStepSeedLayersB,
503 mixedTripletStepTrackingRegionsB,
504 mixedTripletStepHitDoubletsB,
505 mixedTripletStepHitTripletsB,
506 mixedTripletStepSeedsB,
507 mixedTripletStepSeeds,
508 mixedTripletStepTrackCandidates,
509 mixedTripletStepTracks,
510 mixedTripletStepClassifier1,mixedTripletStepClassifier2,
512 MixedTripletStep = cms.Sequence(MixedTripletStepTask)
514 _MixedTripletStepTask_trackingMkFit = MixedTripletStepTask.copy()
515 _MixedTripletStepTask_trackingMkFit.add(mixedTripletStepTrackCandidatesMkFitSeeds, mixedTripletStepTrackCandidatesMkFit, mixedTripletStepTrackCandidatesMkFitConfig)
516 trackingMkFitMixedTripletStep.toReplaceWith(MixedTripletStepTask, _MixedTripletStepTask_trackingMkFit)
518 _MixedTripletStepTask_LowPU = MixedTripletStepTask.copyAndExclude([chargeCut2069Clusters, mixedTripletStepClassifier1])
519 _MixedTripletStepTask_LowPU.replace(mixedTripletStepClassifier2, mixedTripletStepSelector)
520 trackingLowPU.toReplaceWith(MixedTripletStepTask, _MixedTripletStepTask_LowPU)
523 import FastSimulation.Tracking.FastTrackerRecHitMaskProducer_cfi
524 mixedTripletStepMasks = FastSimulation.Tracking.FastTrackerRecHitMaskProducer_cfi.maskProducerFromClusterRemover(mixedTripletStepClusters)
525 mixedTripletStepMasks.oldHitRemovalInfo = cms.InputTag(
'pixelPairStepMasks')
527 fastSim.toReplaceWith(MixedTripletStepTask,
528 cms.Task(mixedTripletStepMasks
529 ,mixedTripletStepTrackingRegionsA
530 ,mixedTripletStepSeedsA
531 ,mixedTripletStepTrackingRegionsB
532 ,mixedTripletStepSeedsB
533 ,mixedTripletStepSeeds
534 ,mixedTripletStepTrackCandidates
535 ,mixedTripletStepTracks
536 ,mixedTripletStepClassifier1,mixedTripletStepClassifier2
def _hitSetProducerToFactoryPSet(producer)