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")
264 trackingPhase2PU140.toModify(photonConvTrajSeedFromSingleLeg, primaryVerticesTag =
"pixelVertices")
270 convCkfTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
272 minimumNumberOfHits = 3,
277 import RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi
278 convStepChi2Est = RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi.Chi2ChargeMeasurementEstimator.clone(
279 ComponentName = cms.string(
'convStepChi2Est'),
280 nSigma = cms.double(3.0),
281 MaxChi2 = cms.double(30.0),
282 MaxDisplacement = cms.double(100),
283 MaxSagitta = cms.double(-1.),
284 clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutTight'))
290 _convCkfTrajectoryBuilderBase = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
291 trajectoryFilter = cms.PSet(refToPSet_ = cms.string(
'convCkfTrajectoryFilter')),
292 minNrOfHitsForRebuild = 3,
295 convCkfTrajectoryBuilder = _convCkfTrajectoryBuilderBase.clone(
296 estimator = cms.string(
'convStepChi2Est')
298 trackingPhase2PU140.toReplaceWith(convCkfTrajectoryBuilder, _convCkfTrajectoryBuilderBase.clone(
304 convTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
305 src = cms.InputTag(
'photonConvTrajSeedFromSingleLeg:convSeedCandidates'),
306 clustersToSkip = cms.InputTag(
'convClusters'),
307 TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string(
'convCkfTrajectoryBuilder'))
309 trackingPhase2PU140.toModify(convTrackCandidates,
310 clustersToSkip =
None,
311 phase2clustersToSkip = cms.InputTag(
"convClusters")
315 convStepFitterSmoother = TrackingTools.TrackFitters.RungeKuttaFitters_cff.KFFittingSmootherWithOutliersRejectionAndRK.clone(
316 ComponentName =
'convStepFitterSmoother',
318 Smoother = cms.string(
'convStepRKSmoother')
321 convStepRKTrajectorySmoother = TrackingTools.TrackFitters.RungeKuttaFitters_cff.RKTrajectorySmoother.clone(
322 ComponentName = cms.string(
'convStepRKSmoother'),
323 errorRescaling = 10.0
329 convStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
330 src =
'convTrackCandidates',
331 AlgorithmName = cms.string(
'conversionStep'),
332 Fitter =
'convStepFitterSmoother',
336 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
337 convStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
338 src=
'convStepTracks',
339 trackSelectors= cms.VPSet(
340 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
341 name =
'convStepLoose',
342 applyAdaptedPVCuts =
False,
344 res_par = ( 0.003, 0.001 ),
346 maxNumberLostLayers = 1,
347 minNumber3DLayers = 1,
348 d0_par1 = ( 5., 8.0 ),
349 dz_par1 = ( 5., 8.0 ),
350 d0_par2 = ( 5., 8.0 ),
351 dz_par2 = ( 5., 8.0 )
353 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
354 name =
'convStepTight',
355 preFilterName =
'convStepLoose',
357 res_par = ( 0.003, 0.001 ),
359 maxNumberLostLayers = 1,
360 minNumber3DLayers = 1,
361 d0_par1 = ( 5., 8.0 ),
362 dz_par1 = ( 5., 8.0 ),
363 d0_par2 = ( 5., 8.0 ),
364 dz_par2 = ( 5., 8.0 )
366 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
368 preFilterName =
'convStepTight',
370 res_par = ( 0.003, 0.001 ),
372 maxNumberLostLayers = 1,
373 minNumber3DLayers = 1,
374 d0_par1 = ( 5., 8.0 ),
375 dz_par1 = ( 5., 8.0 ),
376 d0_par2 = ( 5., 8.0 ),
377 dz_par2 = ( 5., 8.0 )
382 ConvStep = cms.Sequence( convClusters
384 + photonConvTrajSeedFromSingleLeg
385 + convTrackCandidates