CMS 3D CMS Logo

InitialStep_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from Configuration.Eras.Modifier_tracker_apv_vfp30_2016_cff import tracker_apv_vfp30_2016 as _tracker_apv_vfp30_2016
3 from Configuration.Eras.Modifier_fastSim_cff import fastSim
4 
5 #for dnn classifier
6 from Configuration.ProcessModifiers.trackdnn_cff import trackdnn
7 
8 
9 
10 # hit building
13 
14 # SEEDING LAYERS
16 import RecoTracker.TkSeedingLayers.PixelLayerQuadruplets_cfi
17 initialStepSeedLayers = RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi.PixelLayerTriplets.clone()
18 from Configuration.Eras.Modifier_trackingPhase1_cff import trackingPhase1
19 trackingPhase1.toModify(initialStepSeedLayers,
20  layerList = RecoTracker.TkSeedingLayers.PixelLayerQuadruplets_cfi.PixelLayerQuadruplets.layerList.value()
21 )
22 trackingPhase2PU140.toModify(initialStepSeedLayers,
23  layerList = RecoTracker.TkSeedingLayers.PixelLayerQuadruplets_cfi.PixelLayerQuadruplets.layerList.value()
24 )
25 
26 # TrackingRegion
27 from RecoTracker.TkTrackingRegions.globalTrackingRegionFromBeamSpot_cfi import globalTrackingRegionFromBeamSpot as _globalTrackingRegionFromBeamSpot
28 initialStepTrackingRegions = _globalTrackingRegionFromBeamSpot.clone(RegionPSet = dict(
29  ptMin = 0.6,
30  originRadius = 0.02,
31  nSigmaZ = 4.0
32 ))
33 from Configuration.Eras.Modifier_trackingPhase2PU140_cff import trackingPhase2PU140
34 trackingPhase1.toModify(initialStepTrackingRegions, RegionPSet = dict(ptMin = 0.5))
35 from Configuration.Eras.Modifier_highBetaStar_2018_cff import highBetaStar_2018
36 highBetaStar_2018.toModify(initialStepTrackingRegions,RegionPSet = dict(
37  ptMin = 0.05,
38  originRadius = 0.2
39 ))
40 trackingPhase2PU140.toModify(initialStepTrackingRegions, RegionPSet = dict(ptMin = 0.6,originRadius = 0.03))
41 
42 # seeding
43 from RecoTracker.TkHitPairs.hitPairEDProducer_cfi import hitPairEDProducer as _hitPairEDProducer
44 initialStepHitDoublets = _hitPairEDProducer.clone(
45  seedingLayers = "initialStepSeedLayers",
46  trackingRegions = "initialStepTrackingRegions",
47  maxElement = 50000000,
48  produceIntermediateHitDoublets = True,
49 )
50 from RecoPixelVertexing.PixelTriplets.pixelTripletHLTEDProducer_cfi import pixelTripletHLTEDProducer as _pixelTripletHLTEDProducer
52 import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
53 initialStepHitTriplets = _pixelTripletHLTEDProducer.clone(
54  doublets = "initialStepHitDoublets",
55  produceSeedingHitSets = True,
56  SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor.clone()
57 )
58 from RecoTracker.TkSeedGenerator.seedCreatorFromRegionConsecutiveHitsEDProducer_cff import seedCreatorFromRegionConsecutiveHitsEDProducer as _seedCreatorFromRegionConsecutiveHitsEDProducer
59 initialStepSeeds = _seedCreatorFromRegionConsecutiveHitsEDProducer.clone(
60  seedingHitSets = "initialStepHitTriplets",
61 )
62 from RecoPixelVertexing.PixelTriplets.caHitQuadrupletEDProducer_cfi import caHitQuadrupletEDProducer as _caHitQuadrupletEDProducer
63 _initialStepCAHitQuadruplets = _caHitQuadrupletEDProducer.clone(
64  doublets = "initialStepHitDoublets",
65  extraHitRPhitolerance = initialStepHitTriplets.extraHitRPhitolerance,
66  SeedComparitorPSet = initialStepHitTriplets.SeedComparitorPSet,
67  maxChi2 = dict(
68  pt1 = 0.7, pt2 = 2,
69  value1 = 200, value2 = 50,
70  ),
71  useBendingCorrection = True,
72  fitFastCircle = True,
73  fitFastCircleChi2Cut = True,
74  CAThetaCut = 0.0012,
75  CAPhiCut = 0.2,
76 )
77 highBetaStar_2018.toModify(_initialStepCAHitQuadruplets,
78  CAThetaCut = 0.0024,
79  CAPhiCut = 0.4
80 )
81 initialStepHitQuadruplets = _initialStepCAHitQuadruplets.clone()
82 
83 trackingPhase1.toModify(initialStepHitDoublets, layerPairs = [0,1,2]) # layer pairs (0,1), (1,2), (2,3)
84 
85 trackingPhase2PU140.toModify(initialStepHitDoublets, layerPairs = [0,1,2]) # layer pairs (0,1), (1,2), (2,3)
86 trackingPhase2PU140.toModify(initialStepHitQuadruplets,
87  CAThetaCut = 0.0010,
88  CAPhiCut = 0.175,
89 )
90 
91 from RecoTracker.TkSeedGenerator.seedCreatorFromRegionConsecutiveHitsTripletOnlyEDProducer_cff import seedCreatorFromRegionConsecutiveHitsTripletOnlyEDProducer as _seedCreatorFromRegionConsecutiveHitsTripletOnlyEDProducer
92 _initialStepSeedsConsecutiveHitsTripletOnly = _seedCreatorFromRegionConsecutiveHitsTripletOnlyEDProducer.clone(
93  seedingHitSets = "initialStepHitTriplets",
94  SeedComparitorPSet = dict(# FIXME: is this defined in any cfi that could be imported instead of copy-paste?
95  ComponentName = 'PixelClusterShapeSeedComparitor',
96  FilterAtHelixStage = cms.bool(False),
97  FilterPixelHits = cms.bool(True),
98  FilterStripHits = cms.bool(False),
99  ClusterShapeHitFilterName = cms.string('ClusterShapeHitFilter'),
100  ClusterShapeCacheSrc = cms.InputTag('siPixelClusterShapeCache')
101  ),
102 )
103 trackingPhase1.toReplaceWith(initialStepSeeds, _initialStepSeedsConsecutiveHitsTripletOnly.clone(
104  seedingHitSets = "initialStepHitQuadruplets"
105 ))
106 trackingPhase2PU140.toReplaceWith(initialStepSeeds, _initialStepSeedsConsecutiveHitsTripletOnly.clone(
107  seedingHitSets = "initialStepHitQuadruplets"
108 ))
109 import FastSimulation.Tracking.TrajectorySeedProducer_cfi
110 from FastSimulation.Tracking.SeedingMigration import _hitSetProducerToFactoryPSet
111 _fastSim_initialStepSeeds = FastSimulation.Tracking.TrajectorySeedProducer_cfi.trajectorySeedProducer.clone(
112  trackingRegions = "initialStepTrackingRegions",
113  seedFinderSelector = dict( pixelTripletGeneratorFactory = _hitSetProducerToFactoryPSet(initialStepHitTriplets),
114  layerList = initialStepSeedLayers.layerList.value())
115 )
116 _fastSim_initialStepSeeds.seedFinderSelector.pixelTripletGeneratorFactory.SeedComparitorPSet.ComponentName = "none"
117 #new for phase1
118 trackingPhase1.toModify(_fastSim_initialStepSeeds, seedFinderSelector = dict(
119  pixelTripletGeneratorFactory = None,
120  CAHitQuadrupletGeneratorFactory = _hitSetProducerToFactoryPSet(initialStepHitQuadruplets).clone(SeedComparitorPSet = dict(ComponentName = "none")),
121  #new parameters required for phase1 seeding
122  BPix = dict(
123  TTRHBuilder = 'WithoutRefit',
124  HitProducer = 'TrackingRecHitProducer',
125  ),
126  FPix = dict(
127  TTRHBuilder = 'WithoutRefit',
128  HitProducer = 'TrackingRecHitProducer',
129  ),
130  layerPairs = initialStepHitDoublets.layerPairs.value()
131  )
132 )
133 
134 fastSim.toReplaceWith(initialStepSeeds,_fastSim_initialStepSeeds)
135 
136 
137 # building
139 _initialStepTrajectoryFilterBase = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
140  minimumNumberOfHits = 3,
141  minPt = 0.2,
142 )
143 initialStepTrajectoryFilterBase = _initialStepTrajectoryFilterBase.clone(
144  maxCCCLostHits = 0,
145  minGoodStripCharge = cms.PSet(refToPSet_ = cms.string('SiStripClusterChargeCutLoose'))
146 )
147 from Configuration.Eras.Modifier_tracker_apv_vfp30_2016_cff import tracker_apv_vfp30_2016
148 _tracker_apv_vfp30_2016.toModify(initialStepTrajectoryFilterBase, maxCCCLostHits = 2)
149 
150 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
151 from Configuration.Eras.Modifier_pp_on_AA_2018_cff import pp_on_AA_2018
152 for e in [pp_on_XeXe_2017, pp_on_AA_2018]:
153  e.toModify(initialStepTrajectoryFilterBase, minPt=0.6)
154 highBetaStar_2018.toModify(initialStepTrajectoryFilterBase, minPt = 0.05)
155 
156 initialStepTrajectoryFilterInOut = initialStepTrajectoryFilterBase.clone(
157  minimumNumberOfHits = 4,
158  seedExtension = 1,
159  strictSeedExtension = True, # don't allow inactive
160  pixelSeedExtension = True,
161 )
162 from Configuration.Eras.Modifier_trackingLowPU_cff import trackingLowPU
163 trackingLowPU.toReplaceWith(initialStepTrajectoryFilterBase, _initialStepTrajectoryFilterBase)
164 trackingPhase2PU140.toReplaceWith(initialStepTrajectoryFilterBase, _initialStepTrajectoryFilterBase)
165 
166 import RecoPixelVertexing.PixelLowPtUtilities.StripSubClusterShapeTrajectoryFilter_cfi
167 initialStepTrajectoryFilterShape = RecoPixelVertexing.PixelLowPtUtilities.StripSubClusterShapeTrajectoryFilter_cfi.StripSubClusterShapeTrajectoryFilterTIX12.clone()
168 initialStepTrajectoryFilter = cms.PSet(
169  ComponentType = cms.string('CompositeTrajectoryFilter'),
170  filters = cms.VPSet(
171  cms.PSet( refToPSet_ = cms.string('initialStepTrajectoryFilterBase')),
172  # cms.PSet( refToPSet_ = cms.string('initialStepTrajectoryFilterShape'))
173  ),
174 )
175 
176 trackingPhase2PU140.toReplaceWith(initialStepTrajectoryFilter, TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
177  minimumNumberOfHits = 3,
178  minPt = 0.2
179  )
180 )
181 import RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi
182 initialStepChi2Est = RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi.Chi2ChargeMeasurementEstimator.clone(
183  ComponentName = cms.string('initialStepChi2Est'),
184  nSigma = cms.double(3.0),
185  MaxChi2 = cms.double(30.0),
186  clusterChargeCut = cms.PSet(refToPSet_ = cms.string('SiStripClusterChargeCutLoose')),
187  pTChargeCutThreshold = cms.double(15.)
188 )
189 _tracker_apv_vfp30_2016.toModify(initialStepChi2Est,
190  clusterChargeCut = dict(refToPSet_ = "SiStripClusterChargeCutTiny")
191 )
192 trackingPhase2PU140.toModify(initialStepChi2Est,
193  clusterChargeCut = dict(refToPSet_ = 'SiStripClusterChargeCutNone'),
194 )
195 
196 
198 initialStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
199  trajectoryFilter = cms.PSet(refToPSet_ = cms.string('initialStepTrajectoryFilter')),
200  alwaysUseInvalidHits = True,
201  maxCand = 3,
202  estimator = cms.string('initialStepChi2Est'),
203  maxDPhiForLooperReconstruction = cms.double(2.0),
204  maxPtForLooperReconstruction = cms.double(0.7)
205  )
206 trackingLowPU.toModify(initialStepTrajectoryBuilder, maxCand = 5)
207 trackingPhase1.toModify(initialStepTrajectoryBuilder,
208  minNrOfHitsForRebuild = 1,
209  keepOriginalIfRebuildFails = True,
210 )
211 trackingPhase2PU140.toModify(initialStepTrajectoryBuilder,
212  minNrOfHitsForRebuild = 1,
213  keepOriginalIfRebuildFails = True,
214 )
215 
217 initialStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
218  src = cms.InputTag('initialStepSeeds'),
219 
220  numHitsForSeedCleaner = cms.int32(50),
221  onlyPixelHitsForSeedCleaner = cms.bool(True),
222  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('initialStepTrajectoryBuilder')),
223  doSeedingRegionRebuilding = True,
224  useHitsSplitting = True
225  )
226 
227 from Configuration.ProcessModifiers.trackingMkFit_cff import trackingMkFit
228 import RecoTracker.MkFit.mkFitInputConverter_cfi as mkFitInputConverter_cfi
229 import RecoTracker.MkFit.mkFitProducer_cfi as mkFitProducer_cfi
230 import RecoTracker.MkFit.mkFitOutputConverter_cfi as mkFitOutputConverter_cfi
231 initialStepTrackCandidatesMkFitInput = mkFitInputConverter_cfi.mkFitInputConverter.clone(
232  seeds = "initialStepSeeds",
233 )
234 initialStepTrackCandidatesMkFit = mkFitProducer_cfi.mkFitProducer.clone(
235  hitsSeeds = "initialStepTrackCandidatesMkFitInput",
236 )
237 trackingMkFit.toReplaceWith(initialStepTrackCandidates, mkFitOutputConverter_cfi.mkFitOutputConverter.clone(
238  seeds = "initialStepSeeds",
239  hitsSeeds = "initialStepTrackCandidatesMkFitInput",
240  tracks = "initialStepTrackCandidatesMkFit",
241 ))
242 
243 import FastSimulation.Tracking.TrackCandidateProducer_cfi
244 fastSim.toReplaceWith(initialStepTrackCandidates,
245  FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone(
246  src = cms.InputTag("initialStepSeeds"),
247  MinNumberOfCrossedLayers = 3
248  ))
249 
250 
251 # fitting
253 initialStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
254  src = 'initialStepTrackCandidates',
255  AlgorithmName = cms.string('initialStep'),
256  Fitter = cms.string('FlexibleKFFittingSmoother')
257  )
258 fastSim.toModify(initialStepTracks, TTRHBuilder = 'WithoutRefit')
259 
260 #vertices
261 from RecoVertex.PrimaryVertexProducer.OfflinePrimaryVertices_cfi import offlinePrimaryVertices as _offlinePrimaryVertices
262 firstStepPrimaryVerticesUnsorted = _offlinePrimaryVertices.clone()
263 firstStepPrimaryVerticesUnsorted.TrackLabel = cms.InputTag("initialStepTracks")
264 firstStepPrimaryVerticesUnsorted.vertexCollections = [_offlinePrimaryVertices.vertexCollections[0].clone()]
265 
266 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
267 from Configuration.Eras.Modifier_pp_on_AA_2018_cff import pp_on_AA_2018
268 (pp_on_XeXe_2017 | pp_on_AA_2018).toModify(firstStepPrimaryVerticesUnsorted, TkFilterParameters = dict(trackQuality = "any"))
269 
270 # we need a replacment for the firstStepPrimaryVerticesUnsorted
271 # that includes tracker information of signal and pile up
272 # after mixing there is no such thing as initialStepTracks,
273 # so we replace the input collection for firstStepPrimaryVerticesUnsorted with generalTracks
274 firstStepPrimaryVerticesBeforeMixing = firstStepPrimaryVerticesUnsorted.clone()
275 fastSim.toModify(firstStepPrimaryVerticesUnsorted, TrackLabel = "generalTracks")
276 
277 
278 from RecoJets.JetProducers.TracksForJets_cff import trackRefsForJets
279 initialStepTrackRefsForJets = trackRefsForJets.clone(src = cms.InputTag('initialStepTracks'))
280 fastSim.toModify(initialStepTrackRefsForJets, src = "generalTracks")
282 from CommonTools.RecoAlgos.sortedPrimaryVertices_cfi import sortedPrimaryVertices as _sortedPrimaryVertices
283 firstStepPrimaryVertices = _sortedPrimaryVertices.clone(
284  vertices = "firstStepPrimaryVerticesUnsorted",
285  particles = "initialStepTrackRefsForJets",
286 )
287 
288 
289 # Final selection
292 
293 initialStepClassifier1 = TrackMVAClassifierPrompt.clone()
294 initialStepClassifier1.src = 'initialStepTracks'
295 initialStepClassifier1.mva.GBRForestLabel = 'MVASelectorIter0_13TeV'
296 initialStepClassifier1.qualityCuts = [-0.9,-0.8,-0.7]
297 fastSim.toModify(initialStepClassifier1,vertices = "firstStepPrimaryVerticesBeforeMixing")
298 
299 from RecoTracker.IterativeTracking.DetachedTripletStep_cff import detachedTripletStepClassifier1
300 from RecoTracker.IterativeTracking.LowPtTripletStep_cff import lowPtTripletStep
301 initialStepClassifier2 = detachedTripletStepClassifier1.clone()
302 initialStepClassifier2.src = 'initialStepTracks'
303 fastSim.toModify(initialStepClassifier2,vertices = "firstStepPrimaryVerticesBeforeMixing")
304 initialStepClassifier3 = lowPtTripletStep.clone()
305 initialStepClassifier3.src = 'initialStepTracks'
306 fastSim.toModify(initialStepClassifier3,vertices = "firstStepPrimaryVerticesBeforeMixing")
307 
309 initialStep = ClassifierMerger.clone()
310 initialStep.inputClassifiers=['initialStepClassifier1','initialStepClassifier2','initialStepClassifier3']
311 
312 trackingPhase1.toReplaceWith(initialStep, initialStepClassifier1.clone(
313  mva = dict(GBRForestLabel = 'MVASelectorInitialStep_Phase1'),
314  qualityCuts = [-0.95,-0.85,-0.75]
315 ))
316 
319 trackdnn.toReplaceWith(initialStep, TrackLwtnnClassifier.clone(
320  src = 'initialStepTracks',
321  qualityCuts = [0.0, 0.3, 0.6]
322 ))
323 (trackdnn & fastSim).toModify(initialStep,vertices = "firstStepPrimaryVerticesBeforeMixing")
324 
325 pp_on_AA_2018.toModify(initialStep,
326  mva = dict(GBRForestLabel = 'HIMVASelectorInitialStep_Phase1'),
327  qualityCuts = [-0.9, -0.5, 0.2],
328 )
329 
330 # For LowPU and Phase2PU140
331 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
332 initialStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
333  src = 'initialStepTracks',
334  useAnyMVA = cms.bool(False),
335  GBRForestLabel = cms.string('MVASelectorIter0'),
336  trackSelectors = [
337  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
338  name = 'initialStepLoose',
339  ), #end of pset
340  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
341  name = 'initialStepTight',
342  preFilterName = 'initialStepLoose',
343  ),
344  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
345  name = 'QualityMasks',
346  preFilterName = 'initialStepTight',
347  ),
348  ] #end of vpset
349 ) #end of clone
350 trackingPhase2PU140.toModify(initialStepSelector,
351  useAnyMVA = None,
352  GBRForestLabel = None,
353  trackSelectors= cms.VPSet(
354  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
355  name = 'initialStepLoose',
356  chi2n_par = 2.0,
357  res_par = ( 0.003, 0.002 ),
358  minNumberLayers = 3,
359  maxNumberLostLayers = 3,
360  minNumber3DLayers = 3,
361  d0_par1 = ( 0.8, 4.0 ),
362  dz_par1 = ( 0.9, 4.0 ),
363  d0_par2 = ( 0.6, 4.0 ),
364  dz_par2 = ( 0.8, 4.0 )
365  ), #end of pset
366  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
367  name = 'initialStepTight',
368  preFilterName = 'initialStepLoose',
369  chi2n_par = 1.4,
370  res_par = ( 0.003, 0.002 ),
371  minNumberLayers = 3,
372  maxNumberLostLayers = 2,
373  minNumber3DLayers = 3,
374  d0_par1 = ( 0.7, 4.0 ),
375  dz_par1 = ( 0.8, 4.0 ),
376  d0_par2 = ( 0.5, 4.0 ),
377  dz_par2 = ( 0.7, 4.0 )
378  ),
379  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
380  name = 'initialStep',
381  preFilterName = 'initialStepTight',
382  min_eta = -4.1,
383  max_eta = 4.1,
384  chi2n_par = 1.2,
385  res_par = ( 0.003, 0.001 ),
386  minNumberLayers = 3,
387  maxNumberLostLayers = 2,
388  minNumber3DLayers = 3,
389  d0_par1 = ( 0.6, 4.0 ),
390  dz_par1 = ( 0.7, 4.0 ),
391  d0_par2 = ( 0.45, 4.0 ),
392  dz_par2 = ( 0.55, 4.0 )
393  ),
394  ), #end of vpset
395 ) #end of clone
396 
397 
398 
399 # Final sequence
400 InitialStepTask = cms.Task(initialStepSeedLayers,
401  initialStepTrackingRegions,
402  initialStepHitDoublets,
403  initialStepHitTriplets,
404  initialStepSeeds,
405  initialStepTrackCandidates,
406  initialStepTracks,
407  firstStepPrimaryVerticesUnsorted,
408  initialStepTrackRefsForJets,
409  firstStepPrimaryVertices,
410  initialStepClassifier1,initialStepClassifier2,initialStepClassifier3,
411  initialStep,caloJetsForTrkTask)
412 InitialStep = cms.Sequence(InitialStepTask)
413 
414 _InitialStepTask_trackingMkFit = InitialStepTask.copy()
415 _InitialStepTask_trackingMkFit.add(initialStepTrackCandidatesMkFitInput, initialStepTrackCandidatesMkFit)
416 trackingMkFit.toReplaceWith(InitialStepTask, _InitialStepTask_trackingMkFit)
417 
418 _InitialStepTask_LowPU = InitialStepTask.copyAndExclude([firstStepPrimaryVerticesUnsorted, initialStepTrackRefsForJets, caloJetsForTrkTask, firstStepPrimaryVertices, initialStepClassifier1, initialStepClassifier2, initialStepClassifier3])
419 _InitialStepTask_LowPU.replace(initialStep, initialStepSelector)
420 trackingLowPU.toReplaceWith(InitialStepTask, _InitialStepTask_LowPU)
421 
422 _InitialStepTask_Phase1 = InitialStepTask.copyAndExclude([initialStepClassifier2, initialStepClassifier3])
423 _InitialStepTask_Phase1.replace(initialStepHitTriplets, initialStepHitQuadruplets)
424 trackingPhase1.toReplaceWith(InitialStepTask, _InitialStepTask_Phase1)
425 
426 _InitialStepTask_trackingPhase2 = InitialStepTask.copyAndExclude([initialStepClassifier1, initialStepClassifier2, initialStepClassifier3])
427 _InitialStepTask_trackingPhase2.replace(initialStepHitTriplets, initialStepHitQuadruplets)
428 _InitialStepTask_trackingPhase2.replace(initialStep, initialStepSelector)
429 trackingPhase2PU140.toReplaceWith(InitialStepTask, _InitialStepTask_trackingPhase2)
430 
431 from Configuration.Eras.Modifier_fastSim_cff import fastSim
432 _InitialStepTask_fastSim = cms.Task(initialStepTrackingRegions
433  ,initialStepSeeds
434  ,initialStepTrackCandidates
435  ,initialStepTracks
436  ,firstStepPrimaryVerticesBeforeMixing
437  ,initialStepClassifier1,initialStepClassifier2,initialStepClassifier3
438  ,initialStep
439  )
440 fastSim.toReplaceWith(InitialStepTask, _InitialStepTask_fastSim)
DetachedTripletStep_cff
TrajectoryFilter_cff
TrackLwtnnClassifier_cfi
GroupedCkfTrajectoryBuilder_cfi
caloJetsForTrk_cff
PixelCPEESProducers_cff
OfflinePrimaryVertices_cfi
ClusterShapeHitFilterESProducer_cfi
SeedingMigration._hitSetProducerToFactoryPSet
def _hitSetProducerToFactoryPSet(producer)
Definition: SeedingMigration.py:10
clone
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Definition: eve_macros.cc:135
TTRHBuilders_cff
TrackMVAClassifierDetached_cfi
LowPtTripletStep_cff
trackSelectionLwtnn_cfi
ClassifierMerger_cfi
PixelLayerTriplets_cfi
TRIGGER SELECTION #####.
TrackProducer_cfi
TrackMVAClassifierPrompt_cfi
TracksForJets_cff
CkfTrackCandidates_cfi
sortedPrimaryVertices_cfi