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"),
23 from RecoLocalTracker.SubCollectionProducers.phase2trackClusterRemover_cfi
import phase2trackClusterRemover
as _phase2trackClusterRemover
24 from Configuration.Eras.Modifier_trackingPhase2PU140_cff
import trackingPhase2PU140
25 trackingPhase2PU140.toReplaceWith(convClusters, _phase2trackClusterRemover.clone(
27 phase2pixelClusters =
"siPixelClusters",
28 phase2OTClusters =
"siPhase2Clusters",
29 TrackQuality =
'highPurity',
30 minNumberOfLayersWithMeasBeforeFiltering = 0,
31 trajectories = cms.InputTag(
"detachedQuadStepTracks"),
32 oldClusterRemovalInfo = cms.InputTag(
"detachedQuadStepClusters"),
33 overrideTrkQuals = cms.InputTag(
"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 = cms.vstring(_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 = cms.InputTag(
'generalTracks')
248 photonConvTrajSeedFromSingleLeg.primaryVerticesTag = cms.InputTag(
'firstStepPrimaryVertices')
251 from Configuration.Eras.Modifier_trackingLowPU_cff
import trackingLowPU
252 trackingLowPU.toModify(photonConvTrajSeedFromSingleLeg, primaryVerticesTag =
"pixelVertices")
253 from Configuration.Eras.Modifier_pp_on_AA_2018_cff
import pp_on_AA_2018
254 pp_on_AA_2018.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 = cms.string(
'convStepChi2Est'),
270 nSigma = cms.double(3.0),
271 MaxChi2 = cms.double(30.0),
272 MaxDisplacement = cms.double(100),
273 MaxSagitta = cms.double(-1.),
274 clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight'))
280 _convCkfTrajectoryBuilderBase = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
281 trajectoryFilter = cms.PSet(refToPSet_ = cms.string(
'convCkfTrajectoryFilter')),
282 minNrOfHitsForRebuild = 3,
285 convCkfTrajectoryBuilder = _convCkfTrajectoryBuilderBase.clone(
286 estimator = cms.string(
'convStepChi2Est')
288 trackingPhase2PU140.toReplaceWith(convCkfTrajectoryBuilder, _convCkfTrajectoryBuilderBase.clone(
294 convTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
295 src = cms.InputTag(
'photonConvTrajSeedFromSingleLeg:convSeedCandidates'),
296 clustersToSkip = cms.InputTag(
'convClusters'),
297 TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string(
'convCkfTrajectoryBuilder'))
299 trackingPhase2PU140.toModify(convTrackCandidates,
300 clustersToSkip =
None,
301 phase2clustersToSkip = cms.InputTag(
"convClusters")
305 convStepFitterSmoother = TrackingTools.TrackFitters.RungeKuttaFitters_cff.KFFittingSmootherWithOutliersRejectionAndRK.clone(
306 ComponentName =
'convStepFitterSmoother',
308 Smoother = cms.string(
'convStepRKSmoother')
311 convStepRKTrajectorySmoother = TrackingTools.TrackFitters.RungeKuttaFitters_cff.RKTrajectorySmoother.clone(
312 ComponentName = cms.string(
'convStepRKSmoother'),
313 errorRescaling = 10.0
319 convStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
320 src =
'convTrackCandidates',
321 AlgorithmName = cms.string(
'conversionStep'),
322 Fitter =
'convStepFitterSmoother',
326 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
327 convStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
328 src=
'convStepTracks',
329 trackSelectors= cms.VPSet(
330 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
331 name =
'convStepLoose',
332 applyAdaptedPVCuts =
False,
334 res_par = ( 0.003, 0.001 ),
336 maxNumberLostLayers = 1,
337 minNumber3DLayers = 1,
338 d0_par1 = ( 5., 8.0 ),
339 dz_par1 = ( 5., 8.0 ),
340 d0_par2 = ( 5., 8.0 ),
341 dz_par2 = ( 5., 8.0 )
343 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
344 name =
'convStepTight',
345 preFilterName =
'convStepLoose',
347 res_par = ( 0.003, 0.001 ),
349 maxNumberLostLayers = 1,
350 minNumber3DLayers = 1,
351 d0_par1 = ( 5., 8.0 ),
352 dz_par1 = ( 5., 8.0 ),
353 d0_par2 = ( 5., 8.0 ),
354 dz_par2 = ( 5., 8.0 )
356 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
358 preFilterName =
'convStepTight',
360 res_par = ( 0.003, 0.001 ),
362 maxNumberLostLayers = 1,
363 minNumber3DLayers = 1,
364 d0_par1 = ( 5., 8.0 ),
365 dz_par1 = ( 5., 8.0 ),
366 d0_par2 = ( 5., 8.0 ),
367 dz_par2 = ( 5., 8.0 )
372 ConvStepTask = cms.Task( convClusters
374 , photonConvTrajSeedFromSingleLeg
375 , convTrackCandidates
380 ConvStep = cms.Sequence( ConvStepTask )