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 trajectoryFilter = dict(refToPSet_ =
'mixedTripletStepTrajectoryFilter'),
274 propagatorAlong =
'mixedTripletStepPropagator',
275 propagatorOpposite =
'mixedTripletStepPropagatorOpposite',
277 estimator =
'mixedTripletStepChi2Est',
278 maxDPhiForLooperReconstruction = 2.0,
279 maxPtForLooperReconstruction = 0.7,
281 trackingNoLoopers.toModify(mixedTripletStepTrajectoryBuilder,
282 maxPtForLooperReconstruction = 0.0)
286 _mixedTripletStepTrackCandidatesCkf = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
287 src =
'mixedTripletStepSeeds',
288 clustersToSkip =
'mixedTripletStepClusters',
290 numHitsForSeedCleaner = 50,
292 TrajectoryBuilderPSet = dict(refToPSet_ =
'mixedTripletStepTrajectoryBuilder'),
293 doSeedingRegionRebuilding =
True,
294 useHitsSplitting =
True,
295 TrajectoryCleaner =
'mixedTripletStepTrajectoryCleanerBySharedHits',
297 mixedTripletStepTrackCandidates = _mixedTripletStepTrackCandidatesCkf.clone()
300 import RecoTracker.MkFit.mkFitSeedConverter_cfi
as mkFitSeedConverter_cfi
301 import RecoTracker.MkFit.mkFitIterationConfigESProducer_cfi
as mkFitIterationConfigESProducer_cfi
302 import RecoTracker.MkFit.mkFitProducer_cfi
as mkFitProducer_cfi
303 import RecoTracker.MkFit.mkFitOutputConverter_cfi
as mkFitOutputConverter_cfi
304 mixedTripletStepTrackCandidatesMkFitSeeds = mkFitSeedConverter_cfi.mkFitSeedConverter.clone(
305 seeds =
'mixedTripletStepSeeds',
307 mixedTripletStepTrackCandidatesMkFitConfig = mkFitIterationConfigESProducer_cfi.mkFitIterationConfigESProducer.clone(
308 ComponentName =
'mixedTripletStepTrackCandidatesMkFitConfig',
309 config =
'RecoTracker/MkFit/data/mkfit-phase1-mixedTripletStep.json',
311 mixedTripletStepTrackCandidatesMkFit = mkFitProducer_cfi.mkFitProducer.clone(
312 seeds =
'mixedTripletStepTrackCandidatesMkFitSeeds',
313 config = (
'',
'mixedTripletStepTrackCandidatesMkFitConfig'),
314 clustersToSkip =
'mixedTripletStepClusters',
316 trackingMkFitMixedTripletStep.toReplaceWith(mixedTripletStepTrackCandidates, mkFitOutputConverter_cfi.mkFitOutputConverter.clone(
317 seeds =
'mixedTripletStepSeeds',
318 mkFitSeeds =
'mixedTripletStepTrackCandidatesMkFitSeeds',
319 tracks =
'mixedTripletStepTrackCandidatesMkFit',
321 (pp_on_XeXe_2017 | pp_on_AA).toModify(mixedTripletStepTrackCandidatesMkFitConfig, minPt=0.4)
323 import FastSimulation.Tracking.TrackCandidateProducer_cfi
324 fastSim.toReplaceWith(mixedTripletStepTrackCandidates,
325 FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone(
326 src =
'mixedTripletStepSeeds',
327 MinNumberOfCrossedLayers = 3,
328 hitMasks = cms.InputTag(
'mixedTripletStepMasks'),
334 mixedTripletStepTrajectoryCleanerBySharedHits = trajectoryCleanerBySharedHits.clone(
335 ComponentName =
'mixedTripletStepTrajectoryCleanerBySharedHits',
336 fractionShared = 0.11,
337 allowSharedFirstHit =
True 339 trackingLowPU.toModify(mixedTripletStepTrajectoryCleanerBySharedHits, fractionShared = 0.19)
344 mixedTripletStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
345 AlgorithmName =
'mixedTripletStep',
346 src =
'mixedTripletStepTrackCandidates',
347 Fitter =
'FlexibleKFFittingSmoother' 349 fastSim.toModify(mixedTripletStepTracks, TTRHBuilder =
'WithoutRefit')
354 mixedTripletStepClassifier1 = TrackMVAClassifierDetached.clone(
355 src =
'mixedTripletStepTracks',
356 mva = dict(GBRForestLabel =
'MVASelectorIter4_13TeV'),
357 qualityCuts = [-0.5,0.0,0.5]
359 fastSim.toModify(mixedTripletStepClassifier1, vertices =
'firstStepPrimaryVerticesBeforeMixing')
361 mixedTripletStepClassifier2 = TrackMVAClassifierPrompt.clone(
362 src =
'mixedTripletStepTracks',
363 mva = dict(GBRForestLabel =
'MVASelectorIter0_13TeV'),
364 qualityCuts = [-0.2,-0.2,-0.2]
366 fastSim.toModify(mixedTripletStepClassifier2,vertices =
'firstStepPrimaryVerticesBeforeMixing')
369 mixedTripletStep = ClassifierMerger.clone(
370 inputClassifiers=[
'mixedTripletStepClassifier1',
'mixedTripletStepClassifier2']
372 trackingPhase1.toReplaceWith(mixedTripletStep, mixedTripletStepClassifier1.clone(
373 mva = dict(GBRForestLabel =
'MVASelectorMixedTripletStep_Phase1'),
374 qualityCuts = [-0.5,0.0,0.5]
380 trackdnn.toReplaceWith(mixedTripletStep, trackTfClassifier.clone(
381 src =
'mixedTripletStepTracks',
382 qualityCuts = qualityCutDictionary.MixedTripletStep.value()
384 (trackdnn & fastSim).toModify(mixedTripletStep,vertices =
'firstStepPrimaryVerticesBeforeMixing')
386 highBetaStar_2018.toModify(mixedTripletStep,qualityCuts = [-0.7,0.0,0.5])
387 pp_on_AA.toModify(mixedTripletStep, qualityCuts = [-0.5,0.0,0.9])
390 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
391 mixedTripletStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
392 src =
'mixedTripletStepTracks',
393 useAnyMVA = cms.bool(
False),
394 GBRForestLabel = cms.string(
'MVASelectorIter4'),
396 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
397 name =
'mixedTripletStepVtxLoose',
399 res_par = ( 0.003, 0.001 ),
401 maxNumberLostLayers = 1,
402 minNumber3DLayers = 2,
403 d0_par1 = ( 1.2, 3.0 ),
404 dz_par1 = ( 1.2, 3.0 ),
405 d0_par2 = ( 1.3, 3.0 ),
406 dz_par2 = ( 1.3, 3.0 )
408 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
409 name =
'mixedTripletStepTrkLoose',
411 res_par = ( 0.003, 0.001 ),
413 maxNumberLostLayers = 1,
414 minNumber3DLayers = 3,
415 d0_par1 = ( 1.2, 4.0 ),
416 dz_par1 = ( 1.2, 4.0 ),
417 d0_par2 = ( 1.2, 4.0 ),
418 dz_par2 = ( 1.2, 4.0 )
420 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
421 name =
'mixedTripletStepVtxTight',
422 preFilterName =
'mixedTripletStepVtxLoose',
424 res_par = ( 0.003, 0.001 ),
426 maxNumberLostLayers = 1,
427 minNumber3DLayers = 3,
428 d0_par1 = ( 1.1, 3.0 ),
429 dz_par1 = ( 1.1, 3.0 ),
430 d0_par2 = ( 1.2, 3.0 ),
431 dz_par2 = ( 1.2, 3.0 )
433 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
434 name =
'mixedTripletStepTrkTight',
435 preFilterName =
'mixedTripletStepTrkLoose',
437 res_par = ( 0.003, 0.001 ),
439 maxNumberLostLayers = 1,
440 minNumber3DLayers = 4,
441 d0_par1 = ( 1.1, 4.0 ),
442 dz_par1 = ( 1.1, 4.0 ),
443 d0_par2 = ( 1.1, 4.0 ),
444 dz_par2 = ( 1.1, 4.0 )
446 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
447 name =
'mixedTripletStepVtx',
448 preFilterName =
'mixedTripletStepVtxTight',
450 res_par = ( 0.003, 0.001 ),
452 maxNumberLostLayers = 1,
453 minNumber3DLayers = 3,
454 d0_par1 = ( 1.1, 3.0 ),
455 dz_par1 = ( 1.1, 3.0 ),
456 d0_par2 = ( 1.2, 3.0 ),
457 dz_par2 = ( 1.2, 3.0 )
459 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
460 name =
'mixedTripletStepTrk',
461 preFilterName =
'mixedTripletStepTrkTight',
463 res_par = ( 0.003, 0.001 ),
465 maxNumberLostLayers = 0,
466 minNumber3DLayers = 4,
467 d0_par1 = ( 0.9, 4.0 ),
468 dz_par1 = ( 0.9, 4.0 ),
469 d0_par2 = ( 0.9, 4.0 ),
470 dz_par2 = ( 0.9, 4.0 )
476 from RecoTracker.FinalTrackSelectors.trackAlgoPriorityOrder_cfi
import trackAlgoPriorityOrder
478 _trackListMergerBase = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
479 TrackProducers = [
'mixedTripletStepTracks',
480 'mixedTripletStepTracks'],
482 selectedTrackQuals = [
'mixedTripletStepSelector:mixedTripletStepVtx',
483 'mixedTripletStepSelector:mixedTripletStepTrk'],
484 setsToMerge = [cms.PSet( tLists=cms.vint32(0,1), pQual=cms.bool(
True) )],
485 writeOnlyTrkQuals =
True 487 trackingLowPU.toReplaceWith(mixedTripletStep, _trackListMergerBase)
491 MixedTripletStepTask = cms.Task(chargeCut2069Clusters,mixedTripletStepClusters,
492 mixedTripletStepSeedLayersA,
493 mixedTripletStepTrackingRegionsA,
494 mixedTripletStepHitDoubletsA,
495 mixedTripletStepHitTripletsA,
496 mixedTripletStepSeedsA,
497 mixedTripletStepSeedLayersB,
498 mixedTripletStepTrackingRegionsB,
499 mixedTripletStepHitDoubletsB,
500 mixedTripletStepHitTripletsB,
501 mixedTripletStepSeedsB,
502 mixedTripletStepSeeds,
503 mixedTripletStepTrackCandidates,
504 mixedTripletStepTracks,
505 mixedTripletStepClassifier1,mixedTripletStepClassifier2,
507 MixedTripletStep = cms.Sequence(MixedTripletStepTask)
509 _MixedTripletStepTask_trackingMkFit = MixedTripletStepTask.copy()
510 _MixedTripletStepTask_trackingMkFit.add(mixedTripletStepTrackCandidatesMkFitSeeds, mixedTripletStepTrackCandidatesMkFit, mixedTripletStepTrackCandidatesMkFitConfig)
511 trackingMkFitMixedTripletStep.toReplaceWith(MixedTripletStepTask, _MixedTripletStepTask_trackingMkFit)
513 _MixedTripletStepTask_LowPU = MixedTripletStepTask.copyAndExclude([chargeCut2069Clusters, mixedTripletStepClassifier1])
514 _MixedTripletStepTask_LowPU.replace(mixedTripletStepClassifier2, mixedTripletStepSelector)
515 trackingLowPU.toReplaceWith(MixedTripletStepTask, _MixedTripletStepTask_LowPU)
518 import FastSimulation.Tracking.FastTrackerRecHitMaskProducer_cfi
519 mixedTripletStepMasks = FastSimulation.Tracking.FastTrackerRecHitMaskProducer_cfi.maskProducerFromClusterRemover(mixedTripletStepClusters)
520 mixedTripletStepMasks.oldHitRemovalInfo = cms.InputTag(
'pixelPairStepMasks')
522 fastSim.toReplaceWith(MixedTripletStepTask,
523 cms.Task(mixedTripletStepMasks
524 ,mixedTripletStepTrackingRegionsA
525 ,mixedTripletStepSeedsA
526 ,mixedTripletStepTrackingRegionsB
527 ,mixedTripletStepSeedsB
528 ,mixedTripletStepSeeds
529 ,mixedTripletStepTrackCandidates
530 ,mixedTripletStepTracks
531 ,mixedTripletStepClassifier1,mixedTripletStepClassifier2
def _hitSetProducerToFactoryPSet(producer)