1 import FWCore.ParameterSet.Config
as cms
7 myTTRHBuilderWithoutAngle = RecoTracker.TransientTrackingRecHit.TransientTrackingRecHitBuilder_cfi.ttrhbwr.clone(
9 ComponentName =
'PixelTTRHBuilderWithoutAngle'
14 from RecoPixelVertexing.PixelTrackFitting.pixelTrackFilterByKinematics_cfi
import pixelTrackFilterByKinematics
16 from RecoPixelVertexing.PixelTrackFitting.pixelTracks_cfi
import pixelTracks
as _pixelTracks
17 from RecoTracker.TkTrackingRegions.globalTrackingRegion_cfi
import globalTrackingRegion
as _globalTrackingRegion
18 from RecoTracker.TkTrackingRegions.globalTrackingRegionFromBeamSpot_cfi
import globalTrackingRegionFromBeamSpot
as _globalTrackingRegionFromBeamSpot
19 from RecoTracker.TkHitPairs.hitPairEDProducer_cfi
import hitPairEDProducer
as _hitPairEDProducer
20 from RecoPixelVertexing.PixelTriplets.pixelTripletHLTEDProducer_cfi
import pixelTripletHLTEDProducer
as _pixelTripletHLTEDProducer
22 import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
23 from RecoTracker.FinalTrackSelectors.trackAlgoPriorityOrder_cfi
import trackAlgoPriorityOrder
25 from Configuration.Eras.Modifier_trackingLowPU_cff
import trackingLowPU
31 pixelTracksTrackingRegions = _globalTrackingRegion.clone()
32 trackingLowPU.toReplaceWith(pixelTracksTrackingRegions, _globalTrackingRegionFromBeamSpot.clone())
36 pixelTracksSeedLayers = initialStepSeedLayers.clone(
37 BPix = dict(HitProducer =
"siPixelRecHitsPreSplitting"),
38 FPix = dict(HitProducer =
"siPixelRecHitsPreSplitting")
41 pixelTracksHitDoublets = initialStepHitDoublets.clone(
43 seedingLayers =
"pixelTracksSeedLayers",
44 trackingRegions =
"pixelTracksTrackingRegions"
47 pixelTracksHitQuadruplets = _initialStepCAHitQuadruplets.clone(
48 doublets =
"pixelTracksHitDoublets",
49 SeedComparitorPSet = dict(clusterShapeCacheSrc =
'siPixelClusterShapeCachePreSplitting')
53 pixelTracksHitTriplets = _pixelTripletHLTEDProducer.clone(
54 doublets =
"pixelTracksHitDoublets",
55 produceSeedingHitSets =
True,
56 SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor.clone(
57 clusterShapeCacheSrc =
"siPixelClusterShapeCachePreSplitting"
61 pixelTracks = _pixelTracks.clone(
62 SeedingHitSets =
"pixelTracksHitQuadruplets"
64 trackingLowPU.toModify(pixelTracks, SeedingHitSets =
"pixelTracksHitTriplets")
66 pixelTracksTask = cms.Task(
67 pixelTracksTrackingRegions,
68 pixelFitterByHelixProjections,
69 pixelTrackFilterByKinematics,
70 pixelTracksSeedLayers,
71 pixelTracksHitDoublets,
72 pixelTracksHitQuadruplets,
75 _pixelTracksTask_lowPU = pixelTracksTask.copy()
76 _pixelTracksTask_lowPU.replace(pixelTracksHitQuadruplets, pixelTracksHitTriplets)
77 trackingLowPU.toReplaceWith(pixelTracksTask, _pixelTracksTask_lowPU)
79 pixelTracksSequence = cms.Sequence(pixelTracksTask)