CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 ### high-pT triplets ###
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 = cms.double(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 = cms.double(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 = cms.InputTag('highPtTripletStepClusters'),
215  ### these two parameters are relevant only for the CachingSeedCleanerBySharedInput
216  numHitsForSeedCleaner = cms.int32(50),
217  onlyPixelHitsForSeedCleaner = cms.bool(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 ))
245 
246 # For Phase2PU140
247 from TrackingTools.TrajectoryCleaning.TrajectoryCleanerBySharedHits_cfi import trajectoryCleanerBySharedHits as _trajectoryCleanerBySharedHits
248 highPtTripletStepTrajectoryCleanerBySharedHits = _trajectoryCleanerBySharedHits.clone(
249  ComponentName = 'highPtTripletStepTrajectoryCleanerBySharedHits',
250  fractionShared = 0.16,
251  allowSharedFirstHit = True
252 )
253 trackingPhase2PU140.toModify(highPtTripletStepTrackCandidates,
254  TrajectoryCleaner = 'highPtTripletStepTrajectoryCleanerBySharedHits',
255  clustersToSkip = None,
256  phase2clustersToSkip = cms.InputTag('highPtTripletStepClusters')
257 )
258 
259 #For FastSim phase1 tracking
260 import FastSimulation.Tracking.TrackCandidateProducer_cfi
261 _fastSim_highPtTripletStepTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone(
262  src = 'highPtTripletStepSeeds',
263  MinNumberOfCrossedLayers = 3,
264  hitMasks = cms.InputTag('highPtTripletStepMasks')
265 )
266 fastSim.toReplaceWith(highPtTripletStepTrackCandidates,_fastSim_highPtTripletStepTrackCandidates)
267 
268 # TRACK FITTING
270 highPtTripletStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
271  src = 'highPtTripletStepTrackCandidates',
272  AlgorithmName = 'highPtTripletStep',
273  Fitter = 'FlexibleKFFittingSmoother',
274 )
275 fastSim.toModify(highPtTripletStepTracks,TTRHBuilder = 'WithoutRefit')
276 
277 # Final selection
279 highPtTripletStep = TrackMVAClassifierPrompt.clone(
280  mva = dict(GBRForestLabel = 'MVASelectorHighPtTripletStep_Phase1'),
281  src = 'highPtTripletStepTracks',
282  qualityCuts = [0.2,0.3,0.4]
283 )
284 
288 trackdnn.toReplaceWith(highPtTripletStep, trackTfClassifier.clone(
289  src = 'highPtTripletStepTracks',
290  qualityCuts = qualityCutDictionary.HighPtTripletStep.value()
291 ))
292 highBetaStar_2018.toModify(highPtTripletStep,qualityCuts = [-0.2,0.3,0.4])
293 pp_on_AA.toModify(highPtTripletStep,
294  mva = dict(GBRForestLabel = 'HIMVASelectorHighPtTripletStep_Phase1'),
295  qualityCuts = [-0.9, -0.3, 0.85],
296 )
297 
298 fastSim.toModify(highPtTripletStep,vertices = 'firstStepPrimaryVerticesBeforeMixing')
299 
300 # For Phase2PU140
301 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
302 highPtTripletStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
303  src = 'highPtTripletStepTracks',
304  trackSelectors = [
305  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
306  name = 'highPtTripletStepLoose',
307  chi2n_par = 2.0,
308  res_par = ( 0.003, 0.002 ),
309  minNumberLayers = 3,
310  maxNumberLostLayers = 3,
311  minNumber3DLayers = 3,
312  d0_par1 = ( 0.7, 4.0 ),
313  dz_par1 = ( 0.8, 4.0 ),
314  d0_par2 = ( 0.6, 4.0 ),
315  dz_par2 = ( 0.6, 4.0 )
316  ), #end of pset
317  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
318  name = 'highPtTripletStepTight',
319  preFilterName = 'highPtTripletStepLoose',
320  chi2n_par = 1.0,
321  res_par = ( 0.003, 0.002 ),
322  minNumberLayers = 3,
323  maxNumberLostLayers = 2,
324  minNumber3DLayers = 3,
325  d0_par1 = ( 0.6, 4.0 ),
326  dz_par1 = ( 0.7, 4.0 ),
327  d0_par2 = ( 0.5, 4.0 ),
328  dz_par2 = ( 0.6, 4.0 )
329  ),
330  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
331  name = 'highPtTripletStep',
332  preFilterName = 'highPtTripletStepTight',
333  min_eta = -4.1,
334  max_eta = 4.1,
335  chi2n_par = 0.8,
336  res_par = ( 0.003, 0.001 ),
337  min_nhits = 4,
338  minNumberLayers = 4,
339  maxNumberLostLayers = 2,
340  minNumber3DLayers = 4,
341  d0_par1 = ( 0.6, 4.0 ),
342  dz_par1 = ( 0.7, 4.0 ),
343  d0_par2 = ( 0.45, 4.0 ),
344  dz_par2 = ( 0.55, 4.0 )
345  ),
346  ] #end of vpset
347 ) #end of clone
348 
349 from Configuration.ProcessModifiers.vectorHits_cff import vectorHits
350 vectorHits.toModify(highPtTripletStepSelector.trackSelectors[2], minNumberLayers = 3, minNumber3DLayers = 3, d0_par1 = ( 0.5, 4.0 ), dz_par1 = ( 0.6, 4.0 ))
351 
352 # Final sequence
353 HighPtTripletStepTask = cms.Task(highPtTripletStepClusters,
354  highPtTripletStepSeedLayers,
355  highPtTripletStepTrackingRegions,
356  highPtTripletStepHitDoublets,
357  highPtTripletStepHitTriplets,
358  highPtTripletStepSeeds,
359  highPtTripletStepTrackCandidates,
360  highPtTripletStepTracks,
361  highPtTripletStep)
362 HighPtTripletStep = cms.Sequence(HighPtTripletStepTask)
363 
364 _HighPtTripletStepTask_trackingMkFit = HighPtTripletStepTask.copy()
365 _HighPtTripletStepTask_trackingMkFit.add(highPtTripletStepTrackCandidatesMkFitSeeds, highPtTripletStepTrackCandidatesMkFit, highPtTripletStepTrackCandidatesMkFitConfig)
366 trackingMkFitHighPtTripletStep.toReplaceWith(HighPtTripletStepTask, _HighPtTripletStepTask_trackingMkFit)
367 
368 _HighPtTripletStepTask_Phase2PU140 = HighPtTripletStepTask.copy()
369 _HighPtTripletStepTask_Phase2PU140.replace(highPtTripletStep, highPtTripletStepSelector)
370 _HighPtTripletStep_Phase2PU140 = cms.Sequence(_HighPtTripletStepTask_Phase2PU140)
371 trackingPhase2PU140.toReplaceWith(HighPtTripletStepTask, _HighPtTripletStepTask_Phase2PU140)
372 
373 # fast tracking mask producer
374 from FastSimulation.Tracking.FastTrackerRecHitMaskProducer_cfi import maskProducerFromClusterRemover
375 highPtTripletStepMasks = maskProducerFromClusterRemover(highPtTripletStepClusters)
376 fastSim.toReplaceWith(HighPtTripletStepTask,
377  cms.Task(highPtTripletStepMasks
378  ,highPtTripletStepTrackingRegions
379  ,highPtTripletStepSeeds
380  ,highPtTripletStepTrackCandidates
381  ,highPtTripletStepTracks
382  ,highPtTripletStep
383  ) )
COSMIC RUN SETTING.