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)
124 convLayerPairs = cms.EDProducer(
'SeedingLayersEDProducer',
125 layerList = cms.vstring(_convLayerPairsLayerList),
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 rphiRecHits = cms.InputTag(
'siStripMatchedRecHits',
'rphiRecHit'),
144 skipClusters = cms.InputTag(
'convClusters'),
147 useSimpleRphiHitsCleaner = cms.bool(
False),
148 matchedRecHits = cms.InputTag(
'siStripMatchedRecHits',
'matchedRecHit'),
149 useRingSlector = cms.bool(
True),
150 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
151 maxRing = cms.int32(2),
152 minRing = cms.int32(1),
153 skipClusters = cms.InputTag(
'convClusters'),
156 useSimpleRphiHitsCleaner = cms.bool(
False),
157 minRing = cms.int32(1),
158 matchedRecHits = cms.InputTag(
'siStripMatchedRecHits',
'matchedRecHit'),
159 useRingSlector = cms.bool(
True),
160 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
161 rphiRecHits = cms.InputTag(
'siStripMatchedRecHits',
'rphiRecHitUnmatched'),
162 maxRing = cms.int32(7),
163 stereoRecHits = cms.InputTag(
'siStripMatchedRecHits',
'stereoRecHitUnmatched'),
164 skipClusters = cms.InputTag(
'convClusters'),
167 matchedRecHits = cms.InputTag(
'siStripMatchedRecHits',
'matchedRecHit'),
168 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
169 skipClusters = cms.InputTag(
'convClusters'),
172 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
173 rphiRecHits = cms.InputTag(
'siStripMatchedRecHits',
'rphiRecHit'),
174 skipClusters = cms.InputTag(
'convClusters'),
181 _convLayerPairsLayerListPhaseI = [
'BPix1+BPix2',
193 'FPix1_pos+FPix2_pos',
194 'FPix1_neg+FPix2_neg',
196 'FPix2_pos+FPix3_pos',
197 'FPix2_neg+FPix3_neg',
204 _convLayerPairsLayerListPhaseI.extend(_convLayerPairsStripOnlyLayers)
206 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
207 trackingPhase1.toModify(convLayerPairs, layerList = _convLayerPairsLayerListPhaseI)
210 trackingPhase2PU140.toReplaceWith(convLayerPairs, cms.EDProducer(
'SeedingLayersEDProducer',
211 layerList = cms.vstring(
'BPix1+BPix2',
222 'FPix1_pos+FPix2_pos',
223 'FPix1_neg+FPix2_neg',
224 'FPix2_pos+FPix3_pos',
225 'FPix2_neg+FPix3_neg'
229 hitErrorRZ = cms.double(0.006),
230 hitErrorRPhi = cms.double(0.0027),
231 TTRHBuilder = cms.string(
'TTRHBuilderWithoutAngle4PixelPairs'),
232 HitProducer = cms.string(
'siPixelRecHits'),
233 useErrorsFromParam = cms.bool(
True),
234 skipClusters = cms.InputTag(
'convClusters'),
237 hitErrorRZ = cms.double(0.0036),
238 hitErrorRPhi = cms.double(0.0051),
239 TTRHBuilder = cms.string(
'TTRHBuilderWithoutAngle4PixelPairs'),
240 HitProducer = cms.string(
'siPixelRecHits'),
241 useErrorsFromParam = cms.bool(
True),
242 skipClusters = cms.InputTag(
'convClusters'),
247 photonConvTrajSeedFromSingleLeg.TrackRefitter =
'generalTracks'
248 photonConvTrajSeedFromSingleLeg.primaryVerticesTag =
'firstStepPrimaryVertices'
251 from Configuration.Eras.Modifier_trackingLowPU_cff
import trackingLowPU
252 trackingLowPU.toModify(photonConvTrajSeedFromSingleLeg, primaryVerticesTag =
'pixelVertices')
253 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
254 pp_on_AA.toModify(photonConvTrajSeedFromSingleLeg, vtxMinDoF = 999999.)
260 convCkfTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
262 minimumNumberOfHits = 3,
267 import RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi
268 convStepChi2Est = RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi.Chi2ChargeMeasurementEstimator.clone(
269 ComponentName =
'convStepChi2Est',
272 MaxDisplacement = 100,
274 clusterChargeCut = dict(refToPSet_ =
'SiStripClusterChargeCutTight')
280 _convCkfTrajectoryBuilderBase = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
281 trajectoryFilter = dict(refToPSet_ =
'convCkfTrajectoryFilter'),
282 minNrOfHitsForRebuild = 3,
286 convCkfTrajectoryBuilder = _convCkfTrajectoryBuilderBase.clone(
287 estimator =
'convStepChi2Est'
290 trackingPhase2PU140.toReplaceWith(convCkfTrajectoryBuilder, _convCkfTrajectoryBuilderBase.clone(
296 convTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
297 src =
'photonConvTrajSeedFromSingleLeg:convSeedCandidates',
298 clustersToSkip = cms.InputTag(
'convClusters'),
299 TrajectoryBuilderPSet = dict(refToPSet_ =
'convCkfTrajectoryBuilder')
302 trackingPhase2PU140.toModify(convTrackCandidates,
303 clustersToSkip =
None,
304 phase2clustersToSkip = cms.InputTag(
'convClusters')
308 convStepFitterSmoother = TrackingTools.TrackFitters.RungeKuttaFitters_cff.KFFittingSmootherWithOutliersRejectionAndRK.clone(
309 ComponentName =
'convStepFitterSmoother',
311 Smoother =
'convStepRKSmoother'
314 convStepRKTrajectorySmoother = TrackingTools.TrackFitters.RungeKuttaFitters_cff.RKTrajectorySmoother.clone(
315 ComponentName =
'convStepRKSmoother',
316 errorRescaling = 10.0
322 convStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
323 src =
'convTrackCandidates',
324 AlgorithmName =
'conversionStep',
325 Fitter =
'convStepFitterSmoother'
329 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
330 convStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
331 src=
'convStepTracks',
332 trackSelectors= cms.VPSet(
333 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
334 name =
'convStepLoose',
335 applyAdaptedPVCuts =
False,
337 res_par = ( 0.003, 0.001 ),
339 maxNumberLostLayers = 1,
340 minNumber3DLayers = 1,
341 d0_par1 = ( 5., 8.0 ),
342 dz_par1 = ( 5., 8.0 ),
343 d0_par2 = ( 5., 8.0 ),
344 dz_par2 = ( 5., 8.0 )
346 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
347 name =
'convStepTight',
348 preFilterName =
'convStepLoose',
350 res_par = ( 0.003, 0.001 ),
352 maxNumberLostLayers = 1,
353 minNumber3DLayers = 1,
354 d0_par1 = ( 5., 8.0 ),
355 dz_par1 = ( 5., 8.0 ),
356 d0_par2 = ( 5., 8.0 ),
357 dz_par2 = ( 5., 8.0 )
359 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
361 preFilterName =
'convStepTight',
363 res_par = ( 0.003, 0.001 ),
365 maxNumberLostLayers = 1,
366 minNumber3DLayers = 1,
367 d0_par1 = ( 5., 8.0 ),
368 dz_par1 = ( 5., 8.0 ),
369 d0_par2 = ( 5., 8.0 ),
370 dz_par2 = ( 5., 8.0 )
375 ConvStepTask = cms.Task( convClusters
377 , photonConvTrajSeedFromSingleLeg
378 , convTrackCandidates
383 ConvStep = cms.Sequence( ConvStepTask )