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'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
139 matchedRecHits = cms.InputTag(
'siStripMatchedRecHits',
'matchedRecHit'),
140 skipClusters = cms.InputTag(
'convClusters'),
143 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
144 rphiRecHits = cms.InputTag(
'siStripMatchedRecHits',
'rphiRecHit'),
145 skipClusters = cms.InputTag(
'convClusters'),
148 useSimpleRphiHitsCleaner = cms.bool(
False),
149 matchedRecHits = cms.InputTag(
'siStripMatchedRecHits',
'matchedRecHit'),
150 useRingSlector = cms.bool(
True),
151 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
152 maxRing = cms.int32(2),
153 minRing = cms.int32(1),
154 skipClusters = cms.InputTag(
'convClusters'),
157 useSimpleRphiHitsCleaner = cms.bool(
False),
158 minRing = cms.int32(1),
159 matchedRecHits = cms.InputTag(
'siStripMatchedRecHits',
'matchedRecHit'),
160 useRingSlector = cms.bool(
True),
161 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
162 rphiRecHits = cms.InputTag(
'siStripMatchedRecHits',
'rphiRecHitUnmatched'),
163 maxRing = cms.int32(7),
164 stereoRecHits = cms.InputTag(
'siStripMatchedRecHits',
'stereoRecHitUnmatched'),
165 skipClusters = cms.InputTag(
'convClusters'),
168 matchedRecHits = cms.InputTag(
'siStripMatchedRecHits',
'matchedRecHit'),
169 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
170 skipClusters = cms.InputTag(
'convClusters'),
173 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
174 rphiRecHits = cms.InputTag(
'siStripMatchedRecHits',
'rphiRecHit'),
175 skipClusters = cms.InputTag(
'convClusters'),
182 _convLayerPairsLayerListPhaseI = [
'BPix1+BPix2',
194 'FPix1_pos+FPix2_pos',
195 'FPix1_neg+FPix2_neg',
197 'FPix2_pos+FPix3_pos',
198 'FPix2_neg+FPix3_neg',
205 _convLayerPairsLayerListPhaseI.extend(_convLayerPairsStripOnlyLayers)
207 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
208 trackingPhase1.toModify(convLayerPairs, layerList = _convLayerPairsLayerListPhaseI)
211 trackingPhase2PU140.toReplaceWith(convLayerPairs, cms.EDProducer(
'SeedingLayersEDProducer',
212 layerList = cms.vstring(
'BPix1+BPix2',
223 'FPix1_pos+FPix2_pos',
224 'FPix1_neg+FPix2_neg',
225 'FPix2_pos+FPix3_pos',
226 'FPix2_neg+FPix3_neg'
230 hitErrorRZ = cms.double(0.006),
231 hitErrorRPhi = cms.double(0.0027),
232 TTRHBuilder = cms.string(
'TTRHBuilderWithoutAngle4PixelPairs'),
233 HitProducer = cms.string(
'siPixelRecHits'),
234 useErrorsFromParam = cms.bool(
True),
235 skipClusters = cms.InputTag(
'convClusters'),
238 hitErrorRZ = cms.double(0.0036),
239 hitErrorRPhi = cms.double(0.0051),
240 TTRHBuilder = cms.string(
'TTRHBuilderWithoutAngle4PixelPairs'),
241 HitProducer = cms.string(
'siPixelRecHits'),
242 useErrorsFromParam = cms.bool(
True),
243 skipClusters = cms.InputTag(
'convClusters'),
248 photonConvTrajSeedFromSingleLeg.TrackRefitter =
'generalTracks'
249 photonConvTrajSeedFromSingleLeg.primaryVerticesTag =
'firstStepPrimaryVertices'
252 from Configuration.Eras.Modifier_trackingLowPU_cff
import trackingLowPU
253 trackingLowPU.toModify(photonConvTrajSeedFromSingleLeg, primaryVerticesTag =
'pixelVertices')
254 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
255 pp_on_AA.toModify(photonConvTrajSeedFromSingleLeg, vtxMinDoF = 999999.)
261 convCkfTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
263 minimumNumberOfHits = 3,
268 import RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi
269 convStepChi2Est = RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi.Chi2ChargeMeasurementEstimator.clone(
270 ComponentName =
'convStepChi2Est',
273 MaxDisplacement = 100,
275 clusterChargeCut = dict(refToPSet_ =
'SiStripClusterChargeCutTight')
281 _convCkfTrajectoryBuilderBase = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
282 trajectoryFilter = dict(refToPSet_ =
'convCkfTrajectoryFilter'),
283 minNrOfHitsForRebuild = 3,
287 convCkfTrajectoryBuilder = _convCkfTrajectoryBuilderBase.clone(
288 estimator =
'convStepChi2Est'
291 trackingPhase2PU140.toReplaceWith(convCkfTrajectoryBuilder, _convCkfTrajectoryBuilderBase.clone(
297 convTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
298 src =
'photonConvTrajSeedFromSingleLeg:convSeedCandidates',
299 clustersToSkip = cms.InputTag(
'convClusters'),
300 TrajectoryBuilderPSet = dict(refToPSet_ =
'convCkfTrajectoryBuilder')
303 trackingPhase2PU140.toModify(convTrackCandidates,
304 clustersToSkip =
None,
305 phase2clustersToSkip = cms.InputTag(
'convClusters')
309 convStepFitterSmoother = TrackingTools.TrackFitters.RungeKuttaFitters_cff.KFFittingSmootherWithOutliersRejectionAndRK.clone(
310 ComponentName =
'convStepFitterSmoother',
312 Smoother =
'convStepRKSmoother'
315 convStepRKTrajectorySmoother = TrackingTools.TrackFitters.RungeKuttaFitters_cff.RKTrajectorySmoother.clone(
316 ComponentName =
'convStepRKSmoother',
317 errorRescaling = 10.0
323 convStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
324 src =
'convTrackCandidates',
325 AlgorithmName =
'conversionStep',
326 Fitter =
'convStepFitterSmoother'
330 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
331 convStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
332 src=
'convStepTracks',
333 trackSelectors= cms.VPSet(
334 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
335 name =
'convStepLoose',
336 applyAdaptedPVCuts =
False,
338 res_par = ( 0.003, 0.001 ),
340 maxNumberLostLayers = 1,
341 minNumber3DLayers = 1,
342 d0_par1 = ( 5., 8.0 ),
343 dz_par1 = ( 5., 8.0 ),
344 d0_par2 = ( 5., 8.0 ),
345 dz_par2 = ( 5., 8.0 )
347 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
348 name =
'convStepTight',
349 preFilterName =
'convStepLoose',
351 res_par = ( 0.003, 0.001 ),
353 maxNumberLostLayers = 1,
354 minNumber3DLayers = 1,
355 d0_par1 = ( 5., 8.0 ),
356 dz_par1 = ( 5., 8.0 ),
357 d0_par2 = ( 5., 8.0 ),
358 dz_par2 = ( 5., 8.0 )
360 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
362 preFilterName =
'convStepTight',
364 res_par = ( 0.003, 0.001 ),
366 maxNumberLostLayers = 1,
367 minNumber3DLayers = 1,
368 d0_par1 = ( 5., 8.0 ),
369 dz_par1 = ( 5., 8.0 ),
370 d0_par2 = ( 5., 8.0 ),
371 dz_par2 = ( 5., 8.0 )
376 ConvStepTask = cms.Task( convClusters
378 , photonConvTrajSeedFromSingleLeg
379 , convTrackCandidates
384 ConvStep = cms.Sequence( ConvStepTask )