1 import FWCore.ParameterSet.Config
as cms
7 myTTRHBuilderWithoutAngle = RecoTracker.TransientTrackingRecHit.TransientTrackingRecHitBuilder_cfi.ttrhbwr.clone(
9 ComponentName =
'PixelTTRHBuilderWithoutAngle'
14 from RecoPixelVertexing.PixelTrackFitting.pixelNtupletsFitter_cfi
import pixelNtupletsFitter
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)
81 from Configuration.ProcessModifiers.pixelNtupleFit_cff
import pixelNtupleFit
as ntupleFit
82 ntupleFit.toModify(pixelTracks, Fitter =
"pixelNtupletsFitter")
83 _pixelTracksTask_ntupleFit = pixelTracksTask.copy()
84 _pixelTracksTask_ntupleFit.replace(pixelFitterByHelixProjections, pixelNtupletsFitter)
85 ntupleFit.toReplaceWith(pixelTracksTask, _pixelTracksTask_ntupleFit)
88 from Configuration.ProcessModifiers.gpu_cff
import gpu
89 from RecoPixelVertexing.PixelTriplets.caHitNtupletCUDA_cfi
import caHitNtupletCUDA
90 from RecoPixelVertexing.PixelTrackFitting.pixelTrackSoA_cfi
import pixelTrackSoA
91 from RecoPixelVertexing.PixelTrackFitting.pixelTrackProducerFromSoA_cfi
import pixelTrackProducerFromSoA
as _pixelTrackFromSoA
92 _pixelTracksGPUTask = cms.Task(
98 gpu.toReplaceWith(pixelTracksTask, _pixelTracksGPUTask)
99 gpu.toReplaceWith(pixelTracks,_pixelTrackFromSoA)
102 pixelTracksSequence = cms.Sequence(pixelTracksTask)