CMS 3D CMS Logo

HighPtTripletStep_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 import RecoTracker.IterativeTracking.iterativeTkConfig as _cfg
3 from Configuration.Eras.Modifier_fastSim_cff import fastSim
4 
5 #for dnn classifier
6 from Configuration.ProcessModifiers.trackdnn_cff import trackdnn
7 from RecoTracker.IterativeTracking.dnnQualityCuts import qualityCutDictionary
8 
9 # for no-loopers
10 from Configuration.ProcessModifiers.trackingNoLoopers_cff import trackingNoLoopers
11 
12 
13 
14 # NEW CLUSTERS (remove previously used clusters)
15 highPtTripletStepClusters = _cfg.clusterRemoverForIter('HighPtTripletStep')
16 for _eraName, _postfix, _era in _cfg.nonDefaultEras():
17  _era.toReplaceWith(highPtTripletStepClusters, _cfg.clusterRemoverForIter('HighPtTripletStep', _eraName, _postfix))
18 
19 
20 # SEEDING LAYERS
21 import RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi as _PixelLayerTriplets_cfi
22 highPtTripletStepSeedLayers = _PixelLayerTriplets_cfi.PixelLayerTriplets.clone(
23  layerList = [
24  'BPix1+BPix2+BPix3',
25  'BPix2+BPix3+BPix4',
26  'BPix1+BPix3+BPix4',
27  'BPix1+BPix2+BPix4',
28  'BPix2+BPix3+FPix1_pos', 'BPix2+BPix3+FPix1_neg',
29  'BPix1+BPix2+FPix1_pos', 'BPix1+BPix2+FPix1_neg',
30  'BPix1+BPix3+FPix1_pos', 'BPix1+BPix3+FPix1_neg',
31  'BPix2+FPix1_pos+FPix2_pos', 'BPix2+FPix1_neg+FPix2_neg',
32  'BPix1+FPix1_pos+FPix2_pos', 'BPix1+FPix1_neg+FPix2_neg',
33  'BPix1+BPix2+FPix2_pos', 'BPix1+BPix2+FPix2_neg',
34  'FPix1_pos+FPix2_pos+FPix3_pos', 'FPix1_neg+FPix2_neg+FPix3_neg',
35  'BPix1+FPix2_pos+FPix3_pos', 'BPix1+FPix2_neg+FPix3_neg',
36  'BPix1+FPix1_pos+FPix3_pos', 'BPix1+FPix1_neg+FPix3_neg'
37  ],
38  BPix = dict(skipClusters = cms.InputTag('highPtTripletStepClusters')),
39  FPix = dict(skipClusters = cms.InputTag('highPtTripletStepClusters'))
40 )
41 
42 from Configuration.Eras.Modifier_trackingPhase2PU140_cff import trackingPhase2PU140
43 trackingPhase2PU140.toModify(highPtTripletStepSeedLayers,
44 # combination with gap removed as only source of fakes in current geometry (kept for doc)
45  layerList = ['BPix1+BPix2+BPix3', 'BPix2+BPix3+BPix4',
46  'BPix1+BPix3+BPix4', 'BPix1+BPix2+BPix4',
47  'BPix2+BPix3+FPix1_pos', 'BPix2+BPix3+FPix1_neg',
48  'BPix1+BPix2+FPix1_pos', 'BPix1+BPix2+FPix1_neg',
49  'BPix2+FPix1_pos+FPix2_pos', 'BPix2+FPix1_neg+FPix2_neg',
50  'BPix1+FPix1_pos+FPix2_pos', 'BPix1+FPix1_neg+FPix2_neg',
51 # 'BPix1+BPix2+FPix2_pos', 'BPix1+BPix2+FPix2_neg',
52  'FPix1_pos+FPix2_pos+FPix3_pos', 'FPix1_neg+FPix2_neg+FPix3_neg',
53  'BPix1+FPix2_pos+FPix3_pos', 'BPix1+FPix2_neg+FPix3_neg',
54 # 'BPix1+FPix1_pos+FPix3_pos', 'BPix1+FPix1_neg+FPix3_neg',
55  'FPix2_pos+FPix3_pos+FPix4_pos', 'FPix2_neg+FPix3_neg+FPix4_neg',
56  'FPix3_pos+FPix4_pos+FPix5_pos', 'FPix3_neg+FPix4_neg+FPix5_neg',
57  'FPix4_pos+FPix5_pos+FPix6_pos', 'FPix4_neg+FPix5_neg+FPix6_neg',
58  'FPix5_pos+FPix6_pos+FPix7_pos', 'FPix5_neg+FPix6_neg+FPix7_neg',
59  'FPix6_pos+FPix7_pos+FPix8_pos', 'FPix6_neg+FPix7_neg+FPix8_neg',
60 # removed as redunant and covering effectively only eta>4 (here for documentation, to be optimized after TDR)
61 # 'FPix6_pos+FPix7_pos+FPix9_pos', 'FPix6_neg+FPix7_neg+FPix9_neg']
62  ]
63 )
64 # TrackingRegion
65 from RecoTracker.TkTrackingRegions.globalTrackingRegionFromBeamSpot_cfi import globalTrackingRegionFromBeamSpot as _globalTrackingRegionFromBeamSpot
66 highPtTripletStepTrackingRegions = _globalTrackingRegionFromBeamSpot.clone(RegionPSet = dict(
67  ptMin = 0.55,
68  originRadius = 0.02,
69  nSigmaZ = 4.0
70 ))
71 trackingPhase2PU140.toModify(highPtTripletStepTrackingRegions, RegionPSet = dict(ptMin = 0.7, originRadius = 0.02))
72 
73 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
74 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
75 from RecoTracker.TkTrackingRegions.globalTrackingRegionWithVertices_cff import globalTrackingRegionWithVertices as _globalTrackingRegionWithVertices
76 (pp_on_XeXe_2017 | pp_on_AA).toReplaceWith(highPtTripletStepTrackingRegions,
77  _globalTrackingRegionWithVertices.clone(RegionPSet=dict(
78  fixedError = 0.2,
79  ptMin = 0.7,
80  originRadius = 0.02
81  )
82  )
83 )
84 from Configuration.Eras.Modifier_highBetaStar_2018_cff import highBetaStar_2018
85 highBetaStar_2018.toModify(highPtTripletStepTrackingRegions,RegionPSet = dict(
86  ptMin = 0.05,
87  originRadius = 0.2
88 ))
89 
90 
91 # seeding
92 from RecoTracker.TkHitPairs.hitPairEDProducer_cfi import hitPairEDProducer as _hitPairEDProducer
93 highPtTripletStepHitDoublets = _hitPairEDProducer.clone(
94  seedingLayers = 'highPtTripletStepSeedLayers',
95  trackingRegions = 'highPtTripletStepTrackingRegions',
96  layerPairs = [0,1], # layer pairs (0,1), (1,2)
97  maxElement = 50000000,
98  produceIntermediateHitDoublets = True,
99 )
100 from RecoPixelVertexing.PixelTriplets.caHitTripletEDProducer_cfi import caHitTripletEDProducer as _caHitTripletEDProducer
101 from RecoPixelVertexing.PixelTriplets.pixelTripletHLTEDProducer_cfi import pixelTripletHLTEDProducer as _pixelTripletHLTEDProducer
103 import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
104 highPtTripletStepHitTriplets = _caHitTripletEDProducer.clone(
105  doublets = 'highPtTripletStepHitDoublets',
106  extraHitRPhitolerance = _pixelTripletHLTEDProducer.extraHitRPhitolerance,
107  SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor.clone(),
108  maxChi2 = dict(
109  pt1 = 0.8, pt2 = 8,
110  value1 = 100, value2 = 6,
111  ),
112  useBendingCorrection = True,
113  CAThetaCut = 0.004,
114  CAPhiCut = 0.07,
115  CAHardPtCut = 0.3,
116 )
117 
118 trackingPhase2PU140.toModify(highPtTripletStepHitTriplets,CAThetaCut = 0.003,CAPhiCut = 0.06,CAHardPtCut = 0.5)
119 highBetaStar_2018.toModify(highPtTripletStepHitTriplets,CAThetaCut = 0.008,CAPhiCut = 0.14,CAHardPtCut = 0)
120 
121 from RecoTracker.TkSeedGenerator.seedCreatorFromRegionConsecutiveHitsEDProducer_cff import seedCreatorFromRegionConsecutiveHitsEDProducer as _seedCreatorFromRegionConsecutiveHitsEDProducer
122 highPtTripletStepSeeds = _seedCreatorFromRegionConsecutiveHitsEDProducer.clone(
123  seedingHitSets = 'highPtTripletStepHitTriplets',
124 )
125 
126 #For FastSim phase1 tracking
127 import FastSimulation.Tracking.TrajectorySeedProducer_cfi
128 from FastSimulation.Tracking.SeedingMigration import _hitSetProducerToFactoryPSet
129 _fastSim_highPtTripletStepSeeds = FastSimulation.Tracking.TrajectorySeedProducer_cfi.trajectorySeedProducer.clone(
130  trackingRegions = 'highPtTripletStepTrackingRegions',
131  hitMasks = cms.InputTag('highPtTripletStepMasks'),
132  seedFinderSelector = dict( CAHitTripletGeneratorFactory = _hitSetProducerToFactoryPSet(highPtTripletStepHitTriplets),
133  layerList = highPtTripletStepSeedLayers.layerList.value(),
134  #new parameters required for phase1 seeding
135  BPix = dict(TTRHBuilder = 'WithoutRefit', HitProducer = 'TrackingRecHitProducer',),
136  FPix = dict(TTRHBuilder = 'WithoutRefit', HitProducer = 'TrackingRecHitProducer',),
137  layerPairs = highPtTripletStepHitDoublets.layerPairs.value()
138  ))
139 
140 _fastSim_highPtTripletStepSeeds.seedFinderSelector.CAHitTripletGeneratorFactory.SeedComparitorPSet.ComponentName = 'none'
141 fastSim.toReplaceWith(highPtTripletStepSeeds,_fastSim_highPtTripletStepSeeds)
142 
143 # QUALITY CUTS DURING TRACK BUILDING
144 import TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff as _TrajectoryFilter_cff
145 _highPtTripletStepTrajectoryFilterBase = _TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
146  minimumNumberOfHits = 3,
147  minPt = 0.2,
148 )
149 highPtTripletStepTrajectoryFilterBase = _highPtTripletStepTrajectoryFilterBase.clone(
150  maxCCCLostHits = 0,
151  minGoodStripCharge = dict(refToPSet_ = 'SiStripClusterChargeCutLoose')
152 )
153 trackingPhase2PU140.toReplaceWith(highPtTripletStepTrajectoryFilterBase, _highPtTripletStepTrajectoryFilterBase)
154 
155 (pp_on_XeXe_2017 | pp_on_AA).toModify(highPtTripletStepTrajectoryFilterBase, minPt=0.7)
156 highBetaStar_2018.toModify(highPtTripletStepTrajectoryFilterBase, minPt=0.05)
157 
158 highPtTripletStepTrajectoryFilter = _TrajectoryFilter_cff.CompositeTrajectoryFilter_block.clone(
159  filters = [cms.PSet(refToPSet_ = cms.string('highPtTripletStepTrajectoryFilterBase'))]
160 )
161 
162 trackingPhase2PU140.toModify(highPtTripletStepTrajectoryFilter,
163  filters = highPtTripletStepTrajectoryFilter.filters + [cms.PSet(refToPSet_ = cms.string('ClusterShapeTrajectoryFilter'))]
164 )
165 
166 
167 highPtTripletStepTrajectoryFilterInOut = highPtTripletStepTrajectoryFilterBase.clone(
168  minPt = 0.4,
169  minimumNumberOfHits = 4,
170  seedExtension = 1,
171  strictSeedExtension = False, # allow inactive
172  pixelSeedExtension = False,
173 )
174 highBetaStar_2018.toModify(highPtTripletStepTrajectoryFilterInOut, minPt=0.05)
175 
176 import RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi
177 highPtTripletStepChi2Est = RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi.Chi2ChargeMeasurementEstimator.clone(
178  ComponentName = 'highPtTripletStepChi2Est',
179  nSigma = 3.0,
180  MaxChi2 = 30.0,
181  clusterChargeCut = dict(refToPSet_ = 'SiStripClusterChargeCutLoose'),
182  pTChargeCutThreshold = 15.
183 )
184 trackingPhase2PU140.toModify(highPtTripletStepChi2Est,
185  clusterChargeCut = dict(refToPSet_ = 'SiStripClusterChargeCutNone'),
186  MaxChi2 = 20.0
187 )
188 
189 
190 # TRACK BUILDING
191 import RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi as _GroupedCkfTrajectoryBuilder_cfi
192 highPtTripletStepTrajectoryBuilder = _GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
193  trajectoryFilter = dict(refToPSet_ = 'highPtTripletStepTrajectoryFilter'),
194  alwaysUseInvalidHits = True,
195  maxCand = 3,
196  estimator = 'highPtTripletStepChi2Est',
197  maxDPhiForLooperReconstruction = 2.0,
198  # 0.63 GeV is the maximum pT for a charged particle to loop within the 1.1m radius
199  # of the outermost Tracker barrel layer (with B=3.8T)
200  maxPtForLooperReconstruction = 0.7
201 )
202 trackingNoLoopers.toModify(highPtTripletStepTrajectoryBuilder,
203  maxPtForLooperReconstruction = 0.0)
204 trackingPhase2PU140.toModify(highPtTripletStepTrajectoryBuilder,
205  inOutTrajectoryFilter = dict(refToPSet_ = 'highPtTripletStepTrajectoryFilterInOut'),
206  useSameTrajFilter = False,
207  maxCand = 3,
208 )
209 
210 # MAKING OF TRACK CANDIDATES
211 import RecoTracker.CkfPattern.CkfTrackCandidates_cfi as _CkfTrackCandidates_cfi
212 highPtTripletStepTrackCandidates = _CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
213  src = 'highPtTripletStepSeeds',
214  clustersToSkip = 'highPtTripletStepClusters',
215 
216  numHitsForSeedCleaner = 50,
217  onlyPixelHitsForSeedCleaner = True,
218  TrajectoryBuilderPSet = dict(refToPSet_ = 'highPtTripletStepTrajectoryBuilder'),
219  doSeedingRegionRebuilding = True,
220  useHitsSplitting = True
221 )
222 
223 from Configuration.ProcessModifiers.trackingMkFitHighPtTripletStep_cff import trackingMkFitHighPtTripletStep
224 import RecoTracker.MkFit.mkFitSeedConverter_cfi as mkFitSeedConverter_cfi
225 import RecoTracker.MkFit.mkFitIterationConfigESProducer_cfi as mkFitIterationConfigESProducer_cfi
226 import RecoTracker.MkFit.mkFitProducer_cfi as mkFitProducer_cfi
227 import RecoTracker.MkFit.mkFitOutputConverter_cfi as mkFitOutputConverter_cfi
228 highPtTripletStepTrackCandidatesMkFitSeeds = mkFitSeedConverter_cfi.mkFitSeedConverter.clone(
229  seeds = 'highPtTripletStepSeeds',
230 )
231 highPtTripletStepTrackCandidatesMkFitConfig = mkFitIterationConfigESProducer_cfi.mkFitIterationConfigESProducer.clone(
232  ComponentName = 'highPtTripletStepTrackCandidatesMkFitConfig',
233  config = 'RecoTracker/MkFit/data/mkfit-phase1-highPtTripletStep.json',
234 )
235 highPtTripletStepTrackCandidatesMkFit = mkFitProducer_cfi.mkFitProducer.clone(
236  seeds = 'highPtTripletStepTrackCandidatesMkFitSeeds',
237  config = ('', 'highPtTripletStepTrackCandidatesMkFitConfig'),
238  clustersToSkip = 'highPtTripletStepClusters',
239 )
240 trackingMkFitHighPtTripletStep.toReplaceWith(highPtTripletStepTrackCandidates, mkFitOutputConverter_cfi.mkFitOutputConverter.clone(
241  seeds = 'highPtTripletStepSeeds',
242  mkFitSeeds = 'highPtTripletStepTrackCandidatesMkFitSeeds',
243  tracks = 'highPtTripletStepTrackCandidatesMkFit',
244  candMVASel = True,
245  candWP = -0.3,
246 ))
247 (pp_on_XeXe_2017 | pp_on_AA).toModify(highPtTripletStepTrackCandidatesMkFitConfig, minPt=0.7)
248 
249 # For Phase2PU140
250 from TrackingTools.TrajectoryCleaning.TrajectoryCleanerBySharedHits_cfi import trajectoryCleanerBySharedHits as _trajectoryCleanerBySharedHits
251 highPtTripletStepTrajectoryCleanerBySharedHits = _trajectoryCleanerBySharedHits.clone(
252  ComponentName = 'highPtTripletStepTrajectoryCleanerBySharedHits',
253  fractionShared = 0.16,
254  allowSharedFirstHit = True
255 )
256 trackingPhase2PU140.toModify(highPtTripletStepTrackCandidates,
257  TrajectoryCleaner = 'highPtTripletStepTrajectoryCleanerBySharedHits',
258  clustersToSkip = '',
259  phase2clustersToSkip = 'highPtTripletStepClusters'
260 )
261 
262 #For FastSim phase1 tracking
263 import FastSimulation.Tracking.TrackCandidateProducer_cfi
264 _fastSim_highPtTripletStepTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone(
265  src = 'highPtTripletStepSeeds',
266  MinNumberOfCrossedLayers = 3,
267  hitMasks = cms.InputTag('highPtTripletStepMasks')
268 )
269 fastSim.toReplaceWith(highPtTripletStepTrackCandidates,_fastSim_highPtTripletStepTrackCandidates)
270 
271 # TRACK FITTING
273 highPtTripletStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
274  src = 'highPtTripletStepTrackCandidates',
275  AlgorithmName = 'highPtTripletStep',
276  Fitter = 'FlexibleKFFittingSmoother',
277 )
278 fastSim.toModify(highPtTripletStepTracks,TTRHBuilder = 'WithoutRefit')
279 
280 from Configuration.Eras.Modifier_phase2_timing_layer_cff import phase2_timing_layer
281 phase2_timing_layer.toModify(highPtTripletStepTracks, TrajectoryInEvent = True)
282 
283 # Final selection
285 highPtTripletStep = TrackMVAClassifierPrompt.clone(
286  mva = dict(GBRForestLabel = 'MVASelectorHighPtTripletStep_Phase1'),
287  src = 'highPtTripletStepTracks',
288  qualityCuts = [0.2,0.3,0.4]
289 )
290 
294 trackdnn.toReplaceWith(highPtTripletStep, trackTfClassifier.clone(
295  src = 'highPtTripletStepTracks',
296  qualityCuts = qualityCutDictionary.HighPtTripletStep.value()
297 ))
298 highBetaStar_2018.toModify(highPtTripletStep,qualityCuts = [-0.2,0.3,0.4])
299 pp_on_AA.toModify(highPtTripletStep,
300  mva = dict(GBRForestLabel = 'HIMVASelectorHighPtTripletStep_Phase1'),
301  qualityCuts = [-0.9, -0.3, 0.85],
302 )
303 
304 fastSim.toModify(highPtTripletStep,vertices = 'firstStepPrimaryVerticesBeforeMixing')
305 
306 # For Phase2PU140
307 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
308 highPtTripletStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
309  src = 'highPtTripletStepTracks',
310  trackSelectors = [
311  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
312  name = 'highPtTripletStepLoose',
313  chi2n_par = 2.0,
314  res_par = ( 0.003, 0.002 ),
315  minNumberLayers = 3,
316  maxNumberLostLayers = 3,
317  minNumber3DLayers = 3,
318  d0_par1 = ( 0.7, 4.0 ),
319  dz_par1 = ( 0.8, 4.0 ),
320  d0_par2 = ( 0.6, 4.0 ),
321  dz_par2 = ( 0.6, 4.0 )
322  ), #end of pset
323  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
324  name = 'highPtTripletStepTight',
325  preFilterName = 'highPtTripletStepLoose',
326  chi2n_par = 1.0,
327  res_par = ( 0.003, 0.002 ),
328  minNumberLayers = 3,
329  maxNumberLostLayers = 2,
330  minNumber3DLayers = 3,
331  d0_par1 = ( 0.6, 4.0 ),
332  dz_par1 = ( 0.7, 4.0 ),
333  d0_par2 = ( 0.5, 4.0 ),
334  dz_par2 = ( 0.6, 4.0 )
335  ),
336  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
337  name = 'highPtTripletStep',
338  preFilterName = 'highPtTripletStepTight',
339  min_eta = -4.1,
340  max_eta = 4.1,
341  chi2n_par = 0.8,
342  res_par = ( 0.003, 0.001 ),
343  min_nhits = 4,
344  minNumberLayers = 4,
345  maxNumberLostLayers = 2,
346  minNumber3DLayers = 4,
347  d0_par1 = ( 0.6, 4.0 ),
348  dz_par1 = ( 0.7, 4.0 ),
349  d0_par2 = ( 0.45, 4.0 ),
350  dz_par2 = ( 0.55, 4.0 )
351  ),
352  ] #end of vpset
353 ) #end of clone
354 
355 from Configuration.ProcessModifiers.vectorHits_cff import vectorHits
356 vectorHits.toModify(highPtTripletStepSelector.trackSelectors[2], minNumberLayers = 3, minNumber3DLayers = 3, d0_par1 = ( 0.5, 4.0 ), dz_par1 = ( 0.6, 4.0 ))
357 
358 # Final sequence
359 HighPtTripletStepTask = cms.Task(highPtTripletStepClusters,
360  highPtTripletStepSeedLayers,
361  highPtTripletStepTrackingRegions,
362  highPtTripletStepHitDoublets,
363  highPtTripletStepHitTriplets,
364  highPtTripletStepSeeds,
365  highPtTripletStepTrackCandidates,
366  highPtTripletStepTracks,
367  highPtTripletStep)
368 HighPtTripletStep = cms.Sequence(HighPtTripletStepTask)
369 
370 _HighPtTripletStepTask_trackingMkFit = HighPtTripletStepTask.copy()
371 _HighPtTripletStepTask_trackingMkFit.add(highPtTripletStepTrackCandidatesMkFitSeeds, highPtTripletStepTrackCandidatesMkFit, highPtTripletStepTrackCandidatesMkFitConfig)
372 trackingMkFitHighPtTripletStep.toReplaceWith(HighPtTripletStepTask, _HighPtTripletStepTask_trackingMkFit)
373 
374 _HighPtTripletStepTask_Phase2PU140 = HighPtTripletStepTask.copy()
375 _HighPtTripletStepTask_Phase2PU140.replace(highPtTripletStep, highPtTripletStepSelector)
376 _HighPtTripletStep_Phase2PU140 = cms.Sequence(_HighPtTripletStepTask_Phase2PU140)
377 trackingPhase2PU140.toReplaceWith(HighPtTripletStepTask, _HighPtTripletStepTask_Phase2PU140)
378 
379 # fast tracking mask producer
380 from FastSimulation.Tracking.FastTrackerRecHitMaskProducer_cfi import maskProducerFromClusterRemover
381 highPtTripletStepMasks = maskProducerFromClusterRemover(highPtTripletStepClusters)
382 fastSim.toReplaceWith(HighPtTripletStepTask,
383  cms.Task(highPtTripletStepMasks
384  ,highPtTripletStepTrackingRegions
385  ,highPtTripletStepSeeds
386  ,highPtTripletStepTrackCandidates
387  ,highPtTripletStepTracks
388  ,highPtTripletStep
389  ) )
TRIGGER SELECTION #####.
def _hitSetProducerToFactoryPSet(producer)