1 import FWCore.ParameterSet.Config
as cms
9 _convClustersBase = _trackClusterRemover.clone(
11 trajectories =
'tobTecStepTracks',
12 pixelClusters =
'siPixelClusters',
13 stripClusters =
'siStripClusters',
14 oldClusterRemovalInfo =
'tobTecStepClusters',
15 TrackQuality =
'highPurity' 18 convClusters = _convClustersBase.clone(
19 trackClassifier =
'tobTecStep:QualityMasks',
24 from RecoLocalTracker.SubCollectionProducers.phase2trackClusterRemover_cfi
import phase2trackClusterRemover
as _phase2trackClusterRemover
25 from Configuration.Eras.Modifier_trackingPhase2PU140_cff
import trackingPhase2PU140
26 trackingPhase2PU140.toReplaceWith(convClusters, _phase2trackClusterRemover.clone(
28 phase2pixelClusters =
'siPixelClusters',
29 phase2OTClusters =
'siPhase2Clusters',
30 TrackQuality =
'highPurity',
31 minNumberOfLayersWithMeasBeforeFiltering = 0,
32 trajectories =
'detachedQuadStepTracks',
33 oldClusterRemovalInfo =
'detachedQuadStepClusters',
34 overrideTrkQuals =
'detachedQuadStepSelector:detachedQuadStepTrk' 37 _convLayerPairsStripOnlyLayers = [
'TIB1+TID1_pos',
106 _convLayerPairsLayerList = _convLayerPairsStripOnlyLayers
107 _convLayerPairsLayerList =[
'BPix1+BPix2',
115 'FPix1_pos+FPix2_pos',
116 'FPix1_neg+FPix2_neg',
120 _convLayerPairsLayerList.extend(_convLayerPairsStripOnlyLayers)
125 convLayerPairs = _mod.seedingLayersEDProducer.clone(
126 layerList = _convLayerPairsLayerList,
128 TTRHBuilder = cms.string(
'WithTrackAngle'),
129 HitProducer = cms.string(
'siPixelRecHits'),
130 skipClusters = cms.InputTag(
'convClusters'),
133 TTRHBuilder = cms.string(
'WithTrackAngle'),
134 HitProducer = cms.string(
'siPixelRecHits'),
135 skipClusters = cms.InputTag(
'convClusters'),
138 TTRHBuilder = cms.string(
'WithTrackAngle'),
139 clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
140 matchedRecHits = cms.InputTag(
'siStripMatchedRecHits',
'matchedRecHit'),
141 skipClusters = cms.InputTag(
'convClusters'),
144 TTRHBuilder = cms.string(
'WithTrackAngle'),
145 clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
146 rphiRecHits = cms.InputTag(
'siStripMatchedRecHits',
'rphiRecHit'),
147 skipClusters = cms.InputTag(
'convClusters'),
150 useSimpleRphiHitsCleaner = cms.bool(
False),
151 matchedRecHits = cms.InputTag(
'siStripMatchedRecHits',
'matchedRecHit'),
152 useRingSlector = cms.bool(
True),
153 TTRHBuilder = cms.string(
'WithTrackAngle'),
154 clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
155 maxRing = cms.int32(2),
156 minRing = cms.int32(1),
157 skipClusters = cms.InputTag(
'convClusters'),
160 useSimpleRphiHitsCleaner = cms.bool(
False),
161 minRing = cms.int32(1),
162 matchedRecHits = cms.InputTag(
'siStripMatchedRecHits',
'matchedRecHit'),
163 useRingSlector = cms.bool(
True),
164 TTRHBuilder = cms.string(
'WithTrackAngle'),
165 clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
166 rphiRecHits = cms.InputTag(
'siStripMatchedRecHits',
'rphiRecHitUnmatched'),
167 maxRing = cms.int32(7),
168 stereoRecHits = cms.InputTag(
'siStripMatchedRecHits',
'stereoRecHitUnmatched'),
169 skipClusters = cms.InputTag(
'convClusters'),
172 matchedRecHits = cms.InputTag(
'siStripMatchedRecHits',
'matchedRecHit'),
173 TTRHBuilder = cms.string(
'WithTrackAngle'),
174 clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
175 skipClusters = cms.InputTag(
'convClusters'),
178 TTRHBuilder = cms.string(
'WithTrackAngle'),
179 clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
180 rphiRecHits = cms.InputTag(
'siStripMatchedRecHits',
'rphiRecHit'),
181 skipClusters = cms.InputTag(
'convClusters'),
188 _convLayerPairsLayerListPhaseI = [
'BPix1+BPix2',
200 'FPix1_pos+FPix2_pos',
201 'FPix1_neg+FPix2_neg',
203 'FPix2_pos+FPix3_pos',
204 'FPix2_neg+FPix3_neg',
211 _convLayerPairsLayerListPhaseI.extend(_convLayerPairsStripOnlyLayers)
213 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
214 trackingPhase1.toModify(convLayerPairs, layerList = _convLayerPairsLayerListPhaseI)
217 trackingPhase2PU140.toReplaceWith(convLayerPairs, cms.EDProducer(
'SeedingLayersEDProducer',
218 layerList = cms.vstring(
'BPix1+BPix2',
229 'FPix1_pos+FPix2_pos',
230 'FPix1_neg+FPix2_neg',
231 'FPix2_pos+FPix3_pos',
232 'FPix2_neg+FPix3_neg' 236 hitErrorRZ = cms.double(0.006),
237 hitErrorRPhi = cms.double(0.0027),
238 TTRHBuilder = cms.string(
'TTRHBuilderWithoutAngle4PixelPairs'),
239 HitProducer = cms.string(
'siPixelRecHits'),
240 useErrorsFromParam = cms.bool(
True),
241 skipClusters = cms.InputTag(
'convClusters'),
244 hitErrorRZ = cms.double(0.0036),
245 hitErrorRPhi = cms.double(0.0051),
246 TTRHBuilder = cms.string(
'TTRHBuilderWithoutAngle4PixelPairs'),
247 HitProducer = cms.string(
'siPixelRecHits'),
248 useErrorsFromParam = cms.bool(
True),
249 skipClusters = cms.InputTag(
'convClusters'),
254 photonConvTrajSeedFromSingleLeg.TrackRefitter =
'generalTracks' 255 photonConvTrajSeedFromSingleLeg.primaryVerticesTag =
'firstStepPrimaryVertices' 258 from Configuration.Eras.Modifier_trackingLowPU_cff
import trackingLowPU
259 trackingLowPU.toModify(photonConvTrajSeedFromSingleLeg, primaryVerticesTag =
'pixelVertices')
260 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
261 pp_on_AA.toModify(photonConvTrajSeedFromSingleLeg, vtxMinDoF = 999999.)
267 convCkfTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
269 minimumNumberOfHits = 3,
274 import RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi
275 convStepChi2Est = RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi.Chi2ChargeMeasurementEstimator.clone(
276 ComponentName =
'convStepChi2Est',
279 MaxDisplacement = 100,
281 clusterChargeCut = dict(refToPSet_ =
'SiStripClusterChargeCutTight')
287 _convCkfTrajectoryBuilderBase = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
288 trajectoryFilter = dict(refToPSet_ =
'convCkfTrajectoryFilter'),
289 minNrOfHitsForRebuild = 3,
293 convCkfTrajectoryBuilder = _convCkfTrajectoryBuilderBase.clone(
294 estimator =
'convStepChi2Est' 297 trackingPhase2PU140.toReplaceWith(convCkfTrajectoryBuilder, _convCkfTrajectoryBuilderBase.clone(
303 convTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
304 src =
'photonConvTrajSeedFromSingleLeg:convSeedCandidates',
305 clustersToSkip =
'convClusters',
306 TrajectoryBuilderPSet = dict(refToPSet_ =
'convCkfTrajectoryBuilder')
309 trackingPhase2PU140.toModify(convTrackCandidates,
311 phase2clustersToSkip =
'convClusters' 315 convStepFitterSmoother = TrackingTools.TrackFitters.RungeKuttaFitters_cff.KFFittingSmootherWithOutliersRejectionAndRK.clone(
316 ComponentName =
'convStepFitterSmoother',
318 Smoother =
'convStepRKSmoother' 321 convStepRKTrajectorySmoother = TrackingTools.TrackFitters.RungeKuttaFitters_cff.RKTrajectorySmoother.clone(
322 ComponentName =
'convStepRKSmoother',
323 errorRescaling = 10.0
329 convStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
330 src =
'convTrackCandidates',
331 AlgorithmName =
'conversionStep',
332 Fitter =
'convStepFitterSmoother' 336 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
337 convStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
338 src=
'convStepTracks',
339 trackSelectors= cms.VPSet(
340 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
341 name =
'convStepLoose',
342 applyAdaptedPVCuts =
False,
344 res_par = ( 0.003, 0.001 ),
346 maxNumberLostLayers = 1,
347 minNumber3DLayers = 1,
348 d0_par1 = ( 5., 8.0 ),
349 dz_par1 = ( 5., 8.0 ),
350 d0_par2 = ( 5., 8.0 ),
351 dz_par2 = ( 5., 8.0 )
353 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
354 name =
'convStepTight',
355 preFilterName =
'convStepLoose',
357 res_par = ( 0.003, 0.001 ),
359 maxNumberLostLayers = 1,
360 minNumber3DLayers = 1,
361 d0_par1 = ( 5., 8.0 ),
362 dz_par1 = ( 5., 8.0 ),
363 d0_par2 = ( 5., 8.0 ),
364 dz_par2 = ( 5., 8.0 )
366 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
368 preFilterName =
'convStepTight',
370 res_par = ( 0.003, 0.001 ),
372 maxNumberLostLayers = 1,
373 minNumber3DLayers = 1,
374 d0_par1 = ( 5., 8.0 ),
375 dz_par1 = ( 5., 8.0 ),
376 d0_par2 = ( 5., 8.0 ),
377 dz_par2 = ( 5., 8.0 )
382 ConvStepTask = cms.Task( convClusters
384 , photonConvTrajSeedFromSingleLeg
385 , convTrackCandidates
390 ConvStep = cms.Sequence( ConvStepTask )