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"),
22 from RecoLocalTracker.SubCollectionProducers.phase2trackClusterRemover_cfi
import phase2trackClusterRemover
as _phase2trackClusterRemover
23 from Configuration.Eras.Modifier_trackingPhase2PU140_cff
import trackingPhase2PU140
24 trackingPhase2PU140.toReplaceWith(convClusters, _phase2trackClusterRemover.clone(
26 phase2pixelClusters =
"siPixelClusters",
27 phase2OTClusters =
"siPhase2Clusters",
28 TrackQuality =
'highPurity',
29 minNumberOfLayersWithMeasBeforeFiltering = 0,
30 trajectories = cms.InputTag(
"detachedQuadStepTracks"),
31 oldClusterRemovalInfo = cms.InputTag(
"detachedQuadStepClusters"),
32 overrideTrkQuals = cms.InputTag(
"detachedQuadStepSelector",
"detachedQuadStepTrk"),
36 convLayerPairs = cms.EDProducer(
"SeedingLayersEDProducer",
37 layerList = cms.vstring(
'BPix1+BPix2',
45 'FPix1_pos+FPix2_pos',
46 'FPix1_neg+FPix2_neg',
123 TTRHBuilder = cms.string(
'WithTrackAngle'),
124 HitProducer = cms.string(
'siPixelRecHits'),
125 skipClusters = cms.InputTag(
'convClusters'),
128 TTRHBuilder = cms.string(
'WithTrackAngle'),
129 HitProducer = cms.string(
'siPixelRecHits'),
130 skipClusters = cms.InputTag(
'convClusters'),
133 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
134 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
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 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
149 rphiRecHits = cms.InputTag(
"siStripMatchedRecHits",
"rphiRecHit"),
150 skipClusters = cms.InputTag(
'convClusters'),
153 useSimpleRphiHitsCleaner = cms.bool(
False),
154 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
155 useRingSlector = cms.bool(
True),
156 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
157 maxRing = cms.int32(2),
158 minRing = cms.int32(1),
159 skipClusters = cms.InputTag(
'convClusters'),
162 useSimpleRphiHitsCleaner = cms.bool(
False),
163 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
164 useRingSlector = cms.bool(
True),
165 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
166 maxRing = cms.int32(2),
167 minRing = cms.int32(1),
168 skipClusters = cms.InputTag(
'convClusters'),
171 useSimpleRphiHitsCleaner = cms.bool(
False),
172 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
173 useRingSlector = cms.bool(
True),
174 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
175 maxRing = cms.int32(2),
176 minRing = cms.int32(1),
177 skipClusters = cms.InputTag(
'convClusters'),
180 useSimpleRphiHitsCleaner = cms.bool(
False),
181 minRing = cms.int32(1),
182 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
183 useRingSlector = cms.bool(
True),
184 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
185 rphiRecHits = cms.InputTag(
"siStripMatchedRecHits",
"rphiRecHitUnmatched"),
186 maxRing = cms.int32(7),
187 stereoRecHits = cms.InputTag(
"siStripMatchedRecHits",
"stereoRecHitUnmatched"),
188 skipClusters = cms.InputTag(
'convClusters'),
191 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
192 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
193 skipClusters = cms.InputTag(
'convClusters'),
196 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
197 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
198 skipClusters = cms.InputTag(
'convClusters'),
201 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
202 rphiRecHits = cms.InputTag(
"siStripMatchedRecHits",
"rphiRecHit"),
203 skipClusters = cms.InputTag(
'convClusters'),
206 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
207 rphiRecHits = cms.InputTag(
"siStripMatchedRecHits",
"rphiRecHit"),
208 skipClusters = cms.InputTag(
'convClusters'),
211 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
212 rphiRecHits = cms.InputTag(
"siStripMatchedRecHits",
"rphiRecHit"),
213 skipClusters = cms.InputTag(
'convClusters'),
216 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight')),
217 rphiRecHits = cms.InputTag(
"siStripMatchedRecHits",
"rphiRecHit"),
218 skipClusters = cms.InputTag(
'convClusters'),
221 trackingPhase2PU140.toReplaceWith(convLayerPairs, cms.EDProducer(
"SeedingLayersEDProducer",
222 layerList = cms.vstring(
'BPix1+BPix2',
233 'FPix1_pos+FPix2_pos',
234 'FPix1_neg+FPix2_neg',
235 'FPix2_pos+FPix3_pos',
236 'FPix2_neg+FPix3_neg' 240 hitErrorRZ = cms.double(0.006),
241 hitErrorRPhi = cms.double(0.0027),
242 TTRHBuilder = cms.string(
'TTRHBuilderWithoutAngle4PixelPairs'),
243 HitProducer = cms.string(
'siPixelRecHits'),
244 useErrorsFromParam = cms.bool(
True),
245 skipClusters = cms.InputTag(
'convClusters'),
248 hitErrorRZ = cms.double(0.0036),
249 hitErrorRPhi = cms.double(0.0051),
250 TTRHBuilder = cms.string(
'TTRHBuilderWithoutAngle4PixelPairs'),
251 HitProducer = cms.string(
'siPixelRecHits'),
252 useErrorsFromParam = cms.bool(
True),
253 skipClusters = cms.InputTag(
'convClusters'),
258 photonConvTrajSeedFromSingleLeg.TrackRefitter = cms.InputTag(
'generalTracks')
259 photonConvTrajSeedFromSingleLeg.primaryVerticesTag = cms.InputTag(
'firstStepPrimaryVertices')
262 from Configuration.Eras.Modifier_trackingLowPU_cff
import trackingLowPU
263 trackingLowPU.toModify(photonConvTrajSeedFromSingleLeg, primaryVerticesTag =
"pixelVertices")
269 convCkfTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
271 minimumNumberOfHits = 3,
276 import RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi
277 convStepChi2Est = RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi.Chi2ChargeMeasurementEstimator.clone(
278 ComponentName = cms.string(
'convStepChi2Est'),
279 nSigma = cms.double(3.0),
280 MaxChi2 = cms.double(30.0),
281 MaxDisplacement = cms.double(100),
282 MaxSagitta = cms.double(-1.),
283 clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight'))
289 _convCkfTrajectoryBuilderBase = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
290 trajectoryFilter = cms.PSet(refToPSet_ = cms.string(
'convCkfTrajectoryFilter')),
291 minNrOfHitsForRebuild = 3,
294 convCkfTrajectoryBuilder = _convCkfTrajectoryBuilderBase.clone(
295 estimator = cms.string(
'convStepChi2Est')
297 trackingPhase2PU140.toReplaceWith(convCkfTrajectoryBuilder, _convCkfTrajectoryBuilderBase.clone(
303 convTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
304 src = cms.InputTag(
'photonConvTrajSeedFromSingleLeg:convSeedCandidates'),
305 clustersToSkip = cms.InputTag(
'convClusters'),
306 TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string(
'convCkfTrajectoryBuilder'))
308 trackingPhase2PU140.toModify(convTrackCandidates,
309 clustersToSkip =
None,
310 phase2clustersToSkip = cms.InputTag(
"convClusters")
314 convStepFitterSmoother = TrackingTools.TrackFitters.RungeKuttaFitters_cff.KFFittingSmootherWithOutliersRejectionAndRK.clone(
315 ComponentName =
'convStepFitterSmoother',
317 Smoother = cms.string(
'convStepRKSmoother')
320 convStepRKTrajectorySmoother = TrackingTools.TrackFitters.RungeKuttaFitters_cff.RKTrajectorySmoother.clone(
321 ComponentName = cms.string(
'convStepRKSmoother'),
322 errorRescaling = 10.0
328 convStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
329 src =
'convTrackCandidates',
330 AlgorithmName = cms.string(
'conversionStep'),
331 Fitter =
'convStepFitterSmoother',
335 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
336 convStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
337 src=
'convStepTracks',
338 trackSelectors= cms.VPSet(
339 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
340 name =
'convStepLoose',
341 applyAdaptedPVCuts =
False,
343 res_par = ( 0.003, 0.001 ),
345 maxNumberLostLayers = 1,
346 minNumber3DLayers = 1,
347 d0_par1 = ( 5., 8.0 ),
348 dz_par1 = ( 5., 8.0 ),
349 d0_par2 = ( 5., 8.0 ),
350 dz_par2 = ( 5., 8.0 )
352 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
353 name =
'convStepTight',
354 preFilterName =
'convStepLoose',
356 res_par = ( 0.003, 0.001 ),
358 maxNumberLostLayers = 1,
359 minNumber3DLayers = 1,
360 d0_par1 = ( 5., 8.0 ),
361 dz_par1 = ( 5., 8.0 ),
362 d0_par2 = ( 5., 8.0 ),
363 dz_par2 = ( 5., 8.0 )
365 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
367 preFilterName =
'convStepTight',
369 res_par = ( 0.003, 0.001 ),
371 maxNumberLostLayers = 1,
372 minNumber3DLayers = 1,
373 d0_par1 = ( 5., 8.0 ),
374 dz_par1 = ( 5., 8.0 ),
375 d0_par2 = ( 5., 8.0 ),
376 dz_par2 = ( 5., 8.0 )
381 ConvStep = cms.Sequence( convClusters
383 + photonConvTrajSeedFromSingleLeg
384 + convTrackCandidates