1 import FWCore.ParameterSet.Config
as cms
8 myTTRHBuilderWithoutAngle = RecoTracker.TransientTrackingRecHit.TransientTrackingRecHitBuilder_cfi.ttrhbwr.clone(
10 ComponentName =
'PixelTTRHBuilderWithoutAngle'
15 from RecoPixelVertexing.PixelTrackFitting.pixelTrackFilterByKinematics_cfi
import pixelTrackFilterByKinematics
17 from RecoPixelVertexing.PixelTrackFitting.pixelTracks_cfi
import pixelTracks
as _pixelTracks
18 from RecoTracker.TkTrackingRegions.globalTrackingRegion_cfi
import globalTrackingRegion
as _globalTrackingRegion
19 from RecoTracker.TkTrackingRegions.globalTrackingRegionFromBeamSpot_cfi
import globalTrackingRegionFromBeamSpot
as _globalTrackingRegionFromBeamSpot
20 from RecoTracker.TkHitPairs.hitPairEDProducer_cfi
import hitPairEDProducer
as _hitPairEDProducer
21 from RecoPixelVertexing.PixelTriplets.pixelTripletHLTEDProducer_cfi
import pixelTripletHLTEDProducer
as _pixelTripletHLTEDProducer
23 import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
24 from RecoTracker.FinalTrackSelectors.trackAlgoPriorityOrder_cfi
import trackAlgoPriorityOrder
26 from Configuration.Eras.Modifier_trackingLowPU_cff
import trackingLowPU
32 pixelTracksTrackingRegions = _globalTrackingRegion.clone()
33 trackingLowPU.toReplaceWith(pixelTracksTrackingRegions, _globalTrackingRegionFromBeamSpot.clone())
37 pixelTracksSeedLayers = initialStepSeedLayers.clone(
38 BPix = dict(HitProducer =
"siPixelRecHitsPreSplitting"),
39 FPix = dict(HitProducer =
"siPixelRecHitsPreSplitting")
42 pixelTracksHitDoublets = initialStepHitDoublets.clone(
44 seedingLayers =
"pixelTracksSeedLayers",
45 trackingRegions =
"pixelTracksTrackingRegions"
48 pixelTracksHitQuadruplets = _initialStepCAHitQuadruplets.clone(
49 doublets =
"pixelTracksHitDoublets",
50 SeedComparitorPSet = dict(clusterShapeCacheSrc =
'siPixelClusterShapeCachePreSplitting')
54 pixelTracksHitTriplets = _pixelTripletHLTEDProducer.clone(
55 doublets =
"pixelTracksHitDoublets",
56 produceSeedingHitSets =
True,
57 SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor.clone(
58 clusterShapeCacheSrc =
"siPixelClusterShapeCachePreSplitting"
62 pixelTracks = _pixelTracks.clone(
63 SeedingHitSets =
"pixelTracksHitQuadruplets"
65 trackingLowPU.toModify(pixelTracks, SeedingHitSets =
"pixelTracksHitTriplets")
67 pixelTracksTask = cms.Task(
68 pixelTracksTrackingRegions,
69 pixelFitterByHelixProjections,
70 pixelTrackFilterByKinematics,
71 pixelTracksSeedLayers,
72 pixelTracksHitDoublets,
73 pixelTracksHitQuadruplets,
76 _pixelTracksTask_lowPU = pixelTracksTask.copy()
77 _pixelTracksTask_lowPU.replace(pixelTracksHitQuadruplets, pixelTracksHitTriplets)
78 trackingLowPU.toReplaceWith(pixelTracksTask, _pixelTracksTask_lowPU)
80 pixelTracksSequence = cms.Sequence(pixelTracksTask)