1 import FWCore.ParameterSet.Config
as cms
9 _convClustersBase = _trackClusterRemover.clone(
10 maxChi2 = cms.double(30.0),
11 trajectories = cms.InputTag(
"tobTecStepTracks"),
12 pixelClusters = cms.InputTag(
"siPixelClusters"),
13 stripClusters = cms.InputTag(
"siStripClusters"),
14 oldClusterRemovalInfo = cms.InputTag(
"tobTecStepClusters"),
15 TrackQuality = cms.string(
'highPurity'),
17 convClusters = _convClustersBase.clone(
18 trackClassifier = cms.InputTag(
'tobTecStep',
"QualityMasks"),
22 from RecoLocalTracker.SubCollectionProducers.phase2trackClusterRemover_cfi
import phase2trackClusterRemover
as _phase2trackClusterRemover
23 from Configuration.Eras.Modifier_trackingPhase2PU140_cff
import trackingPhase2PU140
24 trackingPhase2PU140.toReplaceWith(convClusters, _phase2trackClusterRemover.clone(
26 phase2pixelClusters =
"siPixelClusters",
27 phase2OTClusters =
"siPhase2Clusters",
28 TrackQuality =
'highPurity',
29 minNumberOfLayersWithMeasBeforeFiltering = 0,
30 trajectories = cms.InputTag(
"detachedQuadStepTracks"),
31 oldClusterRemovalInfo = cms.InputTag(
"detachedQuadStepClusters"),
32 overrideTrkQuals = cms.InputTag(
"detachedQuadStepSelector",
"detachedQuadStepTrk"),
36 _convLayerPairsStripOnlyLayers = [
'TIB1+TID1_pos',
105 _convLayerPairsLayerList = _convLayerPairsStripOnlyLayers
106 _convLayerPairsLayerList =[
'BPix1+BPix2',
114 'FPix1_pos+FPix2_pos',
115 'FPix1_neg+FPix2_neg',
119 _convLayerPairsLayerList.extend(_convLayerPairsStripOnlyLayers)
123 convLayerPairs = cms.EDProducer(
"SeedingLayersEDProducer",
124 layerList = cms.vstring(_convLayerPairsLayerList),
126 TTRHBuilder = cms.string(
'WithTrackAngle'),
127 HitProducer = cms.string(
'siPixelRecHits'),
128 skipClusters = cms.InputTag(
'convClusters'),
131 TTRHBuilder = cms.string(
'WithTrackAngle'),
132 HitProducer = cms.string(
'siPixelRecHits'),
133 skipClusters = cms.InputTag(
'convClusters'),
136 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
137 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
138 skipClusters = cms.InputTag(
'convClusters'),
141 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
142 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
143 skipClusters = cms.InputTag(
'convClusters'),
146 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
147 rphiRecHits = cms.InputTag(
"siStripMatchedRecHits",
"rphiRecHit"),
148 skipClusters = cms.InputTag(
'convClusters'),
151 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
152 rphiRecHits = cms.InputTag(
"siStripMatchedRecHits",
"rphiRecHit"),
153 skipClusters = cms.InputTag(
'convClusters'),
156 useSimpleRphiHitsCleaner = cms.bool(
False),
157 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
158 useRingSlector = cms.bool(
True),
159 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
160 maxRing = cms.int32(2),
161 minRing = cms.int32(1),
162 skipClusters = cms.InputTag(
'convClusters'),
165 useSimpleRphiHitsCleaner = cms.bool(
False),
166 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
167 useRingSlector = cms.bool(
True),
168 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
169 maxRing = cms.int32(2),
170 minRing = cms.int32(1),
171 skipClusters = cms.InputTag(
'convClusters'),
174 useSimpleRphiHitsCleaner = cms.bool(
False),
175 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
176 useRingSlector = cms.bool(
True),
177 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
178 maxRing = cms.int32(2),
179 minRing = cms.int32(1),
180 skipClusters = cms.InputTag(
'convClusters'),
183 useSimpleRphiHitsCleaner = cms.bool(
False),
184 minRing = cms.int32(1),
185 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
186 useRingSlector = cms.bool(
True),
187 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
188 rphiRecHits = cms.InputTag(
"siStripMatchedRecHits",
"rphiRecHitUnmatched"),
189 maxRing = cms.int32(7),
190 stereoRecHits = cms.InputTag(
"siStripMatchedRecHits",
"stereoRecHitUnmatched"),
191 skipClusters = cms.InputTag(
'convClusters'),
194 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
195 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
196 skipClusters = cms.InputTag(
'convClusters'),
199 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
200 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
201 skipClusters = cms.InputTag(
'convClusters'),
204 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
205 rphiRecHits = cms.InputTag(
"siStripMatchedRecHits",
"rphiRecHit"),
206 skipClusters = cms.InputTag(
'convClusters'),
209 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
210 rphiRecHits = cms.InputTag(
"siStripMatchedRecHits",
"rphiRecHit"),
211 skipClusters = cms.InputTag(
'convClusters'),
214 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
215 rphiRecHits = cms.InputTag(
"siStripMatchedRecHits",
"rphiRecHit"),
216 skipClusters = cms.InputTag(
'convClusters'),
219 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
220 rphiRecHits = cms.InputTag(
"siStripMatchedRecHits",
"rphiRecHit"),
221 skipClusters = cms.InputTag(
'convClusters'),
228 _convLayerPairsLayerListPhaseI = [
'BPix1+BPix2',
240 'FPix1_pos+FPix2_pos',
241 'FPix1_neg+FPix2_neg',
243 'FPix2_pos+FPix3_pos',
244 'FPix2_neg+FPix3_neg',
251 _convLayerPairsLayerListPhaseI.extend(_convLayerPairsStripOnlyLayers)
253 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
254 trackingPhase1.toModify(convLayerPairs, layerList = cms.vstring(_convLayerPairsLayerListPhaseI))
257 trackingPhase2PU140.toReplaceWith(convLayerPairs, cms.EDProducer(
"SeedingLayersEDProducer",
258 layerList = cms.vstring(
'BPix1+BPix2',
269 'FPix1_pos+FPix2_pos',
270 'FPix1_neg+FPix2_neg',
271 'FPix2_pos+FPix3_pos',
272 'FPix2_neg+FPix3_neg' 276 hitErrorRZ = cms.double(0.006),
277 hitErrorRPhi = cms.double(0.0027),
278 TTRHBuilder = cms.string(
'TTRHBuilderWithoutAngle4PixelPairs'),
279 HitProducer = cms.string(
'siPixelRecHits'),
280 useErrorsFromParam = cms.bool(
True),
281 skipClusters = cms.InputTag(
'convClusters'),
284 hitErrorRZ = cms.double(0.0036),
285 hitErrorRPhi = cms.double(0.0051),
286 TTRHBuilder = cms.string(
'TTRHBuilderWithoutAngle4PixelPairs'),
287 HitProducer = cms.string(
'siPixelRecHits'),
288 useErrorsFromParam = cms.bool(
True),
289 skipClusters = cms.InputTag(
'convClusters'),
294 photonConvTrajSeedFromSingleLeg.TrackRefitter = cms.InputTag(
'generalTracks')
295 photonConvTrajSeedFromSingleLeg.primaryVerticesTag = cms.InputTag(
'firstStepPrimaryVertices')
298 from Configuration.Eras.Modifier_trackingLowPU_cff
import trackingLowPU
299 trackingLowPU.toModify(photonConvTrajSeedFromSingleLeg, primaryVerticesTag =
"pixelVertices")
301 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
302 pp_on_XeXe_2017.toModify(photonConvTrajSeedFromSingleLeg,
303 RegionFactoryPSet =
dict(RegionPSet =
dict(ptMin = 999999.0,
313 convCkfTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
315 minimumNumberOfHits = 3,
320 import RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi
321 convStepChi2Est = RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi.Chi2ChargeMeasurementEstimator.clone(
322 ComponentName = cms.string(
'convStepChi2Est'),
323 nSigma = cms.double(3.0),
324 MaxChi2 = cms.double(30.0),
325 MaxDisplacement = cms.double(100),
326 MaxSagitta = cms.double(-1.),
327 clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight'))
333 _convCkfTrajectoryBuilderBase = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
334 trajectoryFilter = cms.PSet(refToPSet_ = cms.string(
'convCkfTrajectoryFilter')),
335 minNrOfHitsForRebuild = 3,
338 convCkfTrajectoryBuilder = _convCkfTrajectoryBuilderBase.clone(
339 estimator = cms.string(
'convStepChi2Est')
341 trackingPhase2PU140.toReplaceWith(convCkfTrajectoryBuilder, _convCkfTrajectoryBuilderBase.clone(
347 convTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
348 src = cms.InputTag(
'photonConvTrajSeedFromSingleLeg:convSeedCandidates'),
349 clustersToSkip = cms.InputTag(
'convClusters'),
350 TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string(
'convCkfTrajectoryBuilder'))
352 trackingPhase2PU140.toModify(convTrackCandidates,
353 clustersToSkip =
None,
354 phase2clustersToSkip = cms.InputTag(
"convClusters")
358 convStepFitterSmoother = TrackingTools.TrackFitters.RungeKuttaFitters_cff.KFFittingSmootherWithOutliersRejectionAndRK.clone(
359 ComponentName =
'convStepFitterSmoother',
361 Smoother = cms.string(
'convStepRKSmoother')
364 convStepRKTrajectorySmoother = TrackingTools.TrackFitters.RungeKuttaFitters_cff.RKTrajectorySmoother.clone(
365 ComponentName = cms.string(
'convStepRKSmoother'),
366 errorRescaling = 10.0
372 convStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
373 src =
'convTrackCandidates',
374 AlgorithmName = cms.string(
'conversionStep'),
375 Fitter =
'convStepFitterSmoother',
379 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
380 convStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
381 src=
'convStepTracks',
382 trackSelectors= cms.VPSet(
383 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
384 name =
'convStepLoose',
385 applyAdaptedPVCuts =
False,
387 res_par = ( 0.003, 0.001 ),
389 maxNumberLostLayers = 1,
390 minNumber3DLayers = 1,
391 d0_par1 = ( 5., 8.0 ),
392 dz_par1 = ( 5., 8.0 ),
393 d0_par2 = ( 5., 8.0 ),
394 dz_par2 = ( 5., 8.0 )
396 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
397 name =
'convStepTight',
398 preFilterName =
'convStepLoose',
400 res_par = ( 0.003, 0.001 ),
402 maxNumberLostLayers = 1,
403 minNumber3DLayers = 1,
404 d0_par1 = ( 5., 8.0 ),
405 dz_par1 = ( 5., 8.0 ),
406 d0_par2 = ( 5., 8.0 ),
407 dz_par2 = ( 5., 8.0 )
409 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
411 preFilterName =
'convStepTight',
413 res_par = ( 0.003, 0.001 ),
415 maxNumberLostLayers = 1,
416 minNumber3DLayers = 1,
417 d0_par1 = ( 5., 8.0 ),
418 dz_par1 = ( 5., 8.0 ),
419 d0_par2 = ( 5., 8.0 ),
420 dz_par2 = ( 5., 8.0 )
425 ConvStep = cms.Sequence( convClusters
427 + photonConvTrajSeedFromSingleLeg
428 + convTrackCandidates