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' 36 from Configuration.ProcessModifiers.trackingIters01_cff
import trackingIters01
37 trackingIters01.toModify(convClusters,
38 trajectories =
"highPtTripletStepTracks",
39 oldClusterRemovalInfo =
"highPtTripletStepClusters",
40 overrideTrkQuals =
"highPtTripletStepSelector:highPtTripletStep" 42 from Configuration.ProcessModifiers.trackingLST_cff
import trackingLST
43 (trackingIters01 & trackingPhase2PU140 & trackingLST).toModify(convClusters,
47 _convLayerPairsStripOnlyLayers = [
'TIB1+TID1_pos',
116 _convLayerPairsLayerList = _convLayerPairsStripOnlyLayers
117 _convLayerPairsLayerList =[
'BPix1+BPix2',
125 'FPix1_pos+FPix2_pos',
126 'FPix1_neg+FPix2_neg',
130 _convLayerPairsLayerList.extend(_convLayerPairsStripOnlyLayers)
135 convLayerPairs = _mod.seedingLayersEDProducer.clone(
136 layerList = _convLayerPairsLayerList,
138 TTRHBuilder = cms.string(
'WithTrackAngle'),
139 HitProducer = cms.string(
'siPixelRecHits'),
140 skipClusters = cms.InputTag(
'convClusters'),
143 TTRHBuilder = cms.string(
'WithTrackAngle'),
144 HitProducer = cms.string(
'siPixelRecHits'),
145 skipClusters = cms.InputTag(
'convClusters'),
148 TTRHBuilder = cms.string(
'WithTrackAngle'),
149 clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
150 matchedRecHits = cms.InputTag(
'siStripMatchedRecHits',
'matchedRecHit'),
151 skipClusters = cms.InputTag(
'convClusters'),
154 TTRHBuilder = cms.string(
'WithTrackAngle'),
155 clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
156 rphiRecHits = cms.InputTag(
'siStripMatchedRecHits',
'rphiRecHit'),
157 skipClusters = cms.InputTag(
'convClusters'),
160 useSimpleRphiHitsCleaner = cms.bool(
False),
161 matchedRecHits = cms.InputTag(
'siStripMatchedRecHits',
'matchedRecHit'),
162 useRingSlector = cms.bool(
True),
163 TTRHBuilder = cms.string(
'WithTrackAngle'),
164 clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
165 maxRing = cms.int32(2),
166 minRing = cms.int32(1),
167 skipClusters = cms.InputTag(
'convClusters'),
170 useSimpleRphiHitsCleaner = cms.bool(
False),
171 minRing = cms.int32(1),
172 matchedRecHits = cms.InputTag(
'siStripMatchedRecHits',
'matchedRecHit'),
173 useRingSlector = cms.bool(
True),
174 TTRHBuilder = cms.string(
'WithTrackAngle'),
175 clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
176 rphiRecHits = cms.InputTag(
'siStripMatchedRecHits',
'rphiRecHitUnmatched'),
177 maxRing = cms.int32(7),
178 stereoRecHits = cms.InputTag(
'siStripMatchedRecHits',
'stereoRecHitUnmatched'),
179 skipClusters = cms.InputTag(
'convClusters'),
182 matchedRecHits = cms.InputTag(
'siStripMatchedRecHits',
'matchedRecHit'),
183 TTRHBuilder = cms.string(
'WithTrackAngle'),
184 clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
185 skipClusters = cms.InputTag(
'convClusters'),
188 TTRHBuilder = cms.string(
'WithTrackAngle'),
189 clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
190 rphiRecHits = cms.InputTag(
'siStripMatchedRecHits',
'rphiRecHit'),
191 skipClusters = cms.InputTag(
'convClusters'),
198 _convLayerPairsLayerListPhaseI = [
'BPix1+BPix2',
210 'FPix1_pos+FPix2_pos',
211 'FPix1_neg+FPix2_neg',
213 'FPix2_pos+FPix3_pos',
214 'FPix2_neg+FPix3_neg',
221 _convLayerPairsLayerListPhaseI.extend(_convLayerPairsStripOnlyLayers)
223 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
224 trackingPhase1.toModify(convLayerPairs, layerList = _convLayerPairsLayerListPhaseI)
227 trackingPhase2PU140.toReplaceWith(convLayerPairs, cms.EDProducer(
'SeedingLayersEDProducer',
228 layerList = cms.vstring(
'BPix1+BPix2',
239 'FPix1_pos+FPix2_pos',
240 'FPix1_neg+FPix2_neg',
241 'FPix2_pos+FPix3_pos',
242 'FPix2_neg+FPix3_neg' 246 hitErrorRZ = cms.double(0.006),
247 hitErrorRPhi = cms.double(0.0027),
248 TTRHBuilder = cms.string(
'TTRHBuilderWithoutAngle4PixelPairs'),
249 HitProducer = cms.string(
'siPixelRecHits'),
250 useErrorsFromParam = cms.bool(
True),
251 skipClusters = cms.InputTag(
'convClusters'),
254 hitErrorRZ = cms.double(0.0036),
255 hitErrorRPhi = cms.double(0.0051),
256 TTRHBuilder = cms.string(
'TTRHBuilderWithoutAngle4PixelPairs'),
257 HitProducer = cms.string(
'siPixelRecHits'),
258 useErrorsFromParam = cms.bool(
True),
259 skipClusters = cms.InputTag(
'convClusters'),
264 photonConvTrajSeedFromSingleLeg.TrackRefitter =
'generalTracks' 265 photonConvTrajSeedFromSingleLeg.primaryVerticesTag =
'firstStepPrimaryVertices' 268 from Configuration.Eras.Modifier_trackingLowPU_cff
import trackingLowPU
269 trackingLowPU.toModify(photonConvTrajSeedFromSingleLeg, primaryVerticesTag =
'pixelVertices')
270 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
271 pp_on_AA.toModify(photonConvTrajSeedFromSingleLeg, vtxMinDoF = 999999.)
277 convCkfTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
279 minimumNumberOfHits = 3,
284 import RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi
285 convStepChi2Est = RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi.Chi2ChargeMeasurementEstimator.clone(
286 ComponentName =
'convStepChi2Est',
289 MaxDisplacement = 100,
291 clusterChargeCut = dict(refToPSet_ =
'SiStripClusterChargeCutTight')
297 _convCkfTrajectoryBuilderBase = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
298 trajectoryFilter = dict(refToPSet_ =
'convCkfTrajectoryFilter'),
299 minNrOfHitsForRebuild = 3,
303 convCkfTrajectoryBuilder = _convCkfTrajectoryBuilderBase.clone(
304 estimator =
'convStepChi2Est' 307 trackingPhase2PU140.toReplaceWith(convCkfTrajectoryBuilder, _convCkfTrajectoryBuilderBase.clone(
313 convTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
314 src =
'photonConvTrajSeedFromSingleLeg:convSeedCandidates',
315 clustersToSkip =
'convClusters',
316 TrajectoryBuilderPSet = dict(refToPSet_ =
'convCkfTrajectoryBuilder')
319 trackingPhase2PU140.toModify(convTrackCandidates,
321 phase2clustersToSkip =
'convClusters' 325 convStepFitterSmoother = TrackingTools.TrackFitters.RungeKuttaFitters_cff.KFFittingSmootherWithOutliersRejectionAndRK.clone(
326 ComponentName =
'convStepFitterSmoother',
328 Smoother =
'convStepRKSmoother' 331 convStepRKTrajectorySmoother = TrackingTools.TrackFitters.RungeKuttaFitters_cff.RKTrajectorySmoother.clone(
332 ComponentName =
'convStepRKSmoother',
333 errorRescaling = 10.0
339 convStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
340 src =
'convTrackCandidates',
341 AlgorithmName =
'conversionStep',
342 Fitter =
'convStepFitterSmoother' 346 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
347 convStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
348 src=
'convStepTracks',
349 trackSelectors= cms.VPSet(
350 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
351 name =
'convStepLoose',
352 applyAdaptedPVCuts =
False,
354 res_par = ( 0.003, 0.001 ),
356 maxNumberLostLayers = 1,
357 minNumber3DLayers = 1,
358 d0_par1 = ( 5., 8.0 ),
359 dz_par1 = ( 5., 8.0 ),
360 d0_par2 = ( 5., 8.0 ),
361 dz_par2 = ( 5., 8.0 )
363 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
364 name =
'convStepTight',
365 preFilterName =
'convStepLoose',
367 res_par = ( 0.003, 0.001 ),
369 maxNumberLostLayers = 1,
370 minNumber3DLayers = 1,
371 d0_par1 = ( 5., 8.0 ),
372 dz_par1 = ( 5., 8.0 ),
373 d0_par2 = ( 5., 8.0 ),
374 dz_par2 = ( 5., 8.0 )
376 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
378 preFilterName =
'convStepTight',
380 res_par = ( 0.003, 0.001 ),
382 maxNumberLostLayers = 1,
383 minNumber3DLayers = 1,
384 d0_par1 = ( 5., 8.0 ),
385 dz_par1 = ( 5., 8.0 ),
386 d0_par2 = ( 5., 8.0 ),
387 dz_par2 = ( 5., 8.0 )
392 ConvStepTask = cms.Task( convClusters
394 , photonConvTrajSeedFromSingleLeg
395 , convTrackCandidates
400 ConvStep = cms.Sequence( ConvStepTask )