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"),
20 from Configuration.Eras.Modifier_trackingPhase1PU70_cff
import trackingPhase1PU70
21 trackingPhase1PU70.toReplaceWith(convClusters, _convClustersBase.clone(
22 overrideTrkQuals =
"tobTecStepSelector:tobTecStep",
26 from RecoLocalTracker.SubCollectionProducers.phase2trackClusterRemover_cfi
import phase2trackClusterRemover
as _phase2trackClusterRemover
27 from Configuration.Eras.Modifier_trackingPhase2PU140_cff
import trackingPhase2PU140
28 trackingPhase2PU140.toReplaceWith(convClusters, _phase2trackClusterRemover.clone(
30 phase2pixelClusters =
"siPixelClusters",
31 phase2OTClusters =
"siPhase2Clusters",
32 TrackQuality =
'highPurity',
33 minNumberOfLayersWithMeasBeforeFiltering = 0,
34 trajectories = cms.InputTag(
"detachedQuadStepTracks"),
35 oldClusterRemovalInfo = cms.InputTag(
"detachedQuadStepClusters"),
36 overrideTrkQuals = cms.InputTag(
"detachedQuadStepSelector",
"detachedQuadStepTrk"),
40 convLayerPairs = cms.EDProducer(
"SeedingLayersEDProducer",
41 layerList = cms.vstring(
'BPix1+BPix2',
49 'FPix1_pos+FPix2_pos',
50 'FPix1_neg+FPix2_neg',
127 TTRHBuilder = cms.string(
'WithTrackAngle'),
128 HitProducer = cms.string(
'siPixelRecHits'),
129 skipClusters = cms.InputTag(
'convClusters'),
132 TTRHBuilder = cms.string(
'WithTrackAngle'),
133 HitProducer = cms.string(
'siPixelRecHits'),
134 skipClusters = cms.InputTag(
'convClusters'),
137 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
138 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
139 skipClusters = cms.InputTag(
'convClusters'),
142 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
143 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
144 skipClusters = cms.InputTag(
'convClusters'),
147 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
148 rphiRecHits = cms.InputTag(
"siStripMatchedRecHits",
"rphiRecHit"),
149 skipClusters = cms.InputTag(
'convClusters'),
152 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
153 rphiRecHits = cms.InputTag(
"siStripMatchedRecHits",
"rphiRecHit"),
154 skipClusters = cms.InputTag(
'convClusters'),
157 useSimpleRphiHitsCleaner = cms.bool(
False),
158 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
159 useRingSlector = cms.bool(
True),
160 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
161 maxRing = cms.int32(2),
162 minRing = cms.int32(1),
163 skipClusters = cms.InputTag(
'convClusters'),
166 useSimpleRphiHitsCleaner = cms.bool(
False),
167 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
168 useRingSlector = cms.bool(
True),
169 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
170 maxRing = cms.int32(2),
171 minRing = cms.int32(1),
172 skipClusters = cms.InputTag(
'convClusters'),
175 useSimpleRphiHitsCleaner = cms.bool(
False),
176 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
177 useRingSlector = cms.bool(
True),
178 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
179 maxRing = cms.int32(2),
180 minRing = cms.int32(1),
181 skipClusters = cms.InputTag(
'convClusters'),
184 useSimpleRphiHitsCleaner = cms.bool(
False),
185 minRing = cms.int32(1),
186 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
187 useRingSlector = cms.bool(
True),
188 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
189 rphiRecHits = cms.InputTag(
"siStripMatchedRecHits",
"rphiRecHitUnmatched"),
190 maxRing = cms.int32(7),
191 stereoRecHits = cms.InputTag(
"siStripMatchedRecHits",
"stereoRecHitUnmatched"),
192 skipClusters = cms.InputTag(
'convClusters'),
195 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
196 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
197 skipClusters = cms.InputTag(
'convClusters'),
200 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
201 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
202 skipClusters = cms.InputTag(
'convClusters'),
205 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
206 rphiRecHits = cms.InputTag(
"siStripMatchedRecHits",
"rphiRecHit"),
207 skipClusters = cms.InputTag(
'convClusters'),
210 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
211 rphiRecHits = cms.InputTag(
"siStripMatchedRecHits",
"rphiRecHit"),
212 skipClusters = cms.InputTag(
'convClusters'),
215 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
216 rphiRecHits = cms.InputTag(
"siStripMatchedRecHits",
"rphiRecHit"),
217 skipClusters = cms.InputTag(
'convClusters'),
220 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
221 rphiRecHits = cms.InputTag(
"siStripMatchedRecHits",
"rphiRecHit"),
222 skipClusters = cms.InputTag(
'convClusters'),
225 trackingPhase1PU70.toModify(convLayerPairs,
235 'FPix1_pos+FPix2_pos',
236 'FPix1_neg+FPix2_neg',
311 BPix =
dict(TTRHBuilder =
"TTRHBuilderWithoutAngle4PixelPairs"),
312 FPix =
dict(TTRHBuilder =
"TTRHBuilderWithoutAngle4PixelPairs"),
313 TIB1 =
dict(clusterChargeCut =
dict(refToPSet_ =
"SiStripClusterChargeCutNone")),
314 TIB2 =
dict(clusterChargeCut =
dict(refToPSet_ =
"SiStripClusterChargeCutNone")),
315 TIB3 =
dict(clusterChargeCut =
dict(refToPSet_ =
"SiStripClusterChargeCutNone")),
316 TIB4 =
dict(clusterChargeCut =
dict(refToPSet_ =
"SiStripClusterChargeCutNone")),
317 TID1 =
dict(clusterChargeCut =
dict(refToPSet_ =
"SiStripClusterChargeCutNone")),
318 TID2 =
dict(clusterChargeCut =
dict(refToPSet_ =
"SiStripClusterChargeCutNone")),
319 TID3 =
dict(clusterChargeCut =
dict(refToPSet_ =
"SiStripClusterChargeCutNone")),
320 TEC =
dict(clusterChargeCut =
dict(refToPSet_ =
"SiStripClusterChargeCutNone")),
321 TOB1 =
dict(clusterChargeCut =
dict(refToPSet_ =
"SiStripClusterChargeCutNone")),
322 TOB2 =
dict(clusterChargeCut =
dict(refToPSet_ =
"SiStripClusterChargeCutNone")),
323 TOB3 =
dict(clusterChargeCut =
dict(refToPSet_ =
"SiStripClusterChargeCutNone")),
324 TOB4 =
dict(clusterChargeCut =
dict(refToPSet_ =
"SiStripClusterChargeCutNone")),
325 TOB5 =
dict(clusterChargeCut =
dict(refToPSet_ =
"SiStripClusterChargeCutNone")),
326 TOB6 =
dict(clusterChargeCut =
dict(refToPSet_ =
"SiStripClusterChargeCutNone")),
328 trackingPhase2PU140.toReplaceWith(convLayerPairs, cms.EDProducer(
"SeedingLayersEDProducer",
329 layerList = cms.vstring(
'BPix1+BPix2',
340 'FPix1_pos+FPix2_pos',
341 'FPix1_neg+FPix2_neg',
342 'FPix2_pos+FPix3_pos',
343 'FPix2_neg+FPix3_neg' 347 hitErrorRZ = cms.double(0.006),
348 hitErrorRPhi = cms.double(0.0027),
349 TTRHBuilder = cms.string(
'TTRHBuilderWithoutAngle4PixelPairs'),
350 HitProducer = cms.string(
'siPixelRecHits'),
351 useErrorsFromParam = cms.bool(
True),
352 skipClusters = cms.InputTag(
'convClusters'),
355 hitErrorRZ = cms.double(0.0036),
356 hitErrorRPhi = cms.double(0.0051),
357 TTRHBuilder = cms.string(
'TTRHBuilderWithoutAngle4PixelPairs'),
358 HitProducer = cms.string(
'siPixelRecHits'),
359 useErrorsFromParam = cms.bool(
True),
360 skipClusters = cms.InputTag(
'convClusters'),
365 photonConvTrajSeedFromSingleLeg.TrackRefitter = cms.InputTag(
'generalTracks')
366 photonConvTrajSeedFromSingleLeg.primaryVerticesTag = cms.InputTag(
'firstStepPrimaryVertices')
369 from Configuration.Eras.Modifier_trackingLowPU_cff
import trackingLowPU
370 trackingLowPU.toModify(photonConvTrajSeedFromSingleLeg, primaryVerticesTag =
"pixelVertices")
371 trackingPhase1PU70.toModify(photonConvTrajSeedFromSingleLeg, primaryVerticesTag =
"pixelVertices")
372 trackingPhase2PU140.toModify(photonConvTrajSeedFromSingleLeg, primaryVerticesTag =
"pixelVertices")
378 convCkfTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
380 minimumNumberOfHits = 3,
385 import RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi
386 convStepChi2Est = RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi.Chi2ChargeMeasurementEstimator.clone(
387 ComponentName = cms.string(
'convStepChi2Est'),
388 nSigma = cms.double(3.0),
389 MaxChi2 = cms.double(30.0),
390 MaxDisplacement = cms.double(100),
391 MaxSagitta = cms.double(-1.),
392 clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight'))
398 _convCkfTrajectoryBuilderBase = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
399 trajectoryFilter = cms.PSet(refToPSet_ = cms.string(
'convCkfTrajectoryFilter')),
400 minNrOfHitsForRebuild = 3,
403 convCkfTrajectoryBuilder = _convCkfTrajectoryBuilderBase.clone(
404 estimator = cms.string(
'convStepChi2Est')
406 trackingPhase1PU70.toReplaceWith(convCkfTrajectoryBuilder, _convCkfTrajectoryBuilderBase.clone(
409 trackingPhase2PU140.toReplaceWith(convCkfTrajectoryBuilder, _convCkfTrajectoryBuilderBase.clone(
415 convTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
416 src = cms.InputTag(
'photonConvTrajSeedFromSingleLeg:convSeedCandidates'),
417 clustersToSkip = cms.InputTag(
'convClusters'),
418 TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string(
'convCkfTrajectoryBuilder'))
420 trackingPhase2PU140.toModify(convTrackCandidates,
421 clustersToSkip =
None,
422 phase2clustersToSkip = cms.InputTag(
"convClusters")
426 convStepFitterSmoother = TrackingTools.TrackFitters.RungeKuttaFitters_cff.KFFittingSmootherWithOutliersRejectionAndRK.clone(
427 ComponentName =
'convStepFitterSmoother',
429 Smoother = cms.string(
'convStepRKSmoother')
432 convStepRKTrajectorySmoother = TrackingTools.TrackFitters.RungeKuttaFitters_cff.RKTrajectorySmoother.clone(
433 ComponentName = cms.string(
'convStepRKSmoother'),
434 errorRescaling = 10.0
440 convStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
441 src =
'convTrackCandidates',
442 AlgorithmName = cms.string(
'conversionStep'),
443 Fitter =
'convStepFitterSmoother',
447 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
448 convStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
449 src=
'convStepTracks',
450 trackSelectors= cms.VPSet(
451 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
452 name =
'convStepLoose',
453 applyAdaptedPVCuts =
False,
455 res_par = ( 0.003, 0.001 ),
457 maxNumberLostLayers = 1,
458 minNumber3DLayers = 1,
459 d0_par1 = ( 5., 8.0 ),
460 dz_par1 = ( 5., 8.0 ),
461 d0_par2 = ( 5., 8.0 ),
462 dz_par2 = ( 5., 8.0 )
464 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
465 name =
'convStepTight',
466 preFilterName =
'convStepLoose',
468 res_par = ( 0.003, 0.001 ),
470 maxNumberLostLayers = 1,
471 minNumber3DLayers = 1,
472 d0_par1 = ( 5., 8.0 ),
473 dz_par1 = ( 5., 8.0 ),
474 d0_par2 = ( 5., 8.0 ),
475 dz_par2 = ( 5., 8.0 )
477 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
479 preFilterName =
'convStepTight',
481 res_par = ( 0.003, 0.001 ),
483 maxNumberLostLayers = 1,
484 minNumber3DLayers = 1,
485 d0_par1 = ( 5., 8.0 ),
486 dz_par1 = ( 5., 8.0 ),
487 d0_par2 = ( 5., 8.0 ),
488 dz_par2 = ( 5., 8.0 )
493 ConvStep = cms.Sequence( convClusters
495 + photonConvTrajSeedFromSingleLeg
496 + convTrackCandidates