1 import FWCore.ParameterSet.Config
as cms
3 from RecoTracker.TkHitPairs.hitPairEDProducer_cfi
import hitPairEDProducer
as _hitPairEDProducer
4 from RecoTracker.PixelSeeding.pixelTripletHLTEDProducer_cfi
import pixelTripletHLTEDProducer
as _pixelTripletHLTEDProducer
12 hiConformalPixelTracksHitDoublets = _hitPairEDProducer.clone(
14 seedingLayers =
"PixelLayerTriplets",
15 trackingRegions =
"hiTrackingRegionWithVertex",
16 maxElement = 50000000,
17 produceIntermediateHitDoublets =
True,
20 hiConformalPixelTracksHitTriplets = _pixelTripletHLTEDProducer.clone(
21 doublets =
"hiConformalPixelTracksHitDoublets",
23 produceSeedingHitSets =
True,
26 import RecoTracker.PixelTrackFitting.pixelTracks_cfi
as _mod
28 hiConformalPixelTracks = _mod.pixelTracks.clone(
31 SeedingHitSets =
"hiConformalPixelTracksHitTriplets",
33 Fitter =
'pixelFitterByConformalMappingAndLine',
35 Filter =
"hiConformalPixelFilter",
37 Cleaner =
"trackCleaner" 44 hiConformalPixelTracksPhase1TrackingRegions = globalTrackingRegionWithVertices.clone(
47 useMultipleScattering =
False,
48 useFakeVertices =
False,
49 beamSpot =
"offlineBeamSpot",
54 VertexCollection =
"offlinePrimaryVertices",
56 useFoundVertices =
True,
64 hiConformalPixelTracksPhase1SeedLayers = lowPtQuadStepSeedLayers.clone(
66 HitProducer = cms.string(
'siPixelRecHits'),
67 TTRHBuilder = cms.string(
'WithTrackAngle'),
70 HitProducer = cms.string(
'siPixelRecHits'),
71 TTRHBuilder = cms.string(
'WithTrackAngle'),
78 hiConformalPixelTracksPhase1HitDoubletsCA = lowPtQuadStepHitDoublets.clone(
79 seedingLayers =
"hiConformalPixelTracksPhase1SeedLayers",
80 trackingRegions =
"hiConformalPixelTracksPhase1TrackingRegions" 85 hiConformalPixelTracksPhase1HitQuadrupletsCA = lowPtQuadStepHitQuadruplets.clone(
86 doublets =
"hiConformalPixelTracksPhase1HitDoubletsCA",
89 SeedComparitorPSet = dict(
90 ComponentName =
'none' 92 extraHitRPhitolerance = 0.032,
103 hiConformalPixelTracksPhase1Filter = hiConformalPixelFilter.clone(
104 VertexCollection =
"offlinePrimaryVertices",
107 nSigmaLipMaxTolerance = 3.0,
108 nSigmaTipMaxTolerance = 3.0,
114 from RecoTracker.PixelTrackFitting.pixelNtupletsFitter_cfi
import pixelNtupletsFitter
116 from Configuration.Eras.Modifier_phase1Pixel_cff
import phase1Pixel
117 phase1Pixel.toModify(hiConformalPixelTracks,
118 Cleaner =
'pixelTrackCleanerBySharedHits',
119 Filter =
"hiConformalPixelTracksPhase1Filter",
120 Fitter =
"pixelNtupletsFitter",
121 SeedingHitSets =
"hiConformalPixelTracksPhase1HitQuadrupletsCA",
124 hiConformalPixelTracksTask = cms.Task(
125 hiTrackingRegionWithVertex ,
126 hiConformalPixelTracksHitDoublets ,
127 hiConformalPixelTracksHitTriplets ,
128 pixelFitterByConformalMappingAndLine ,
129 hiConformalPixelFilter ,
130 hiConformalPixelTracks
134 from Configuration.ProcessModifiers.pixelNtupletFit_cff
import pixelNtupletFit
135 from RecoTracker.PixelTrackFitting.pixelTrackSoAFromCUDAHIonPhase1_cfi
import pixelTrackSoAFromCUDAHIonPhase1
as _pixelTracksSoA
136 from RecoTracker.PixelSeeding.caHitNtupletCUDAHIonPhase1_cfi
import caHitNtupletCUDAHIonPhase1
as _pixelTracksCUDA
137 from RecoTracker.PixelTrackFitting.pixelTrackProducerFromSoAHIonPhase1_cfi
import pixelTrackProducerFromSoAHIonPhase1
as _pixelTrackProducerFromSoA
139 from HeterogeneousCore.CUDACore.SwitchProducerCUDA
import SwitchProducerCUDA
141 hiPixelTracksCUDA = _pixelTracksCUDA.clone(pixelRecHitSrc=
"siPixelRecHitsPreSplittingCUDA", idealConditions =
False,
142 ptmin = 0.25, hardCurvCut = 0.0756, doPtCut =
False,
144 phiCuts = cms.vint32(19*[900]),
145 trackQualityCuts = dict(
147 chi2Coeff = [0.9,1.8],
152 quadrupletMinPt = 0.3,
153 quadrupletMaxTip = 0.5,
154 quadrupletMaxZip = 12
160 cpu = _pixelTracksCUDA.clone(
161 pixelRecHitSrc =
"siPixelRecHitsPreSplittingCPU",
162 idealConditions =
False,
165 hardCurvCut = 0.0756,
167 phiCuts = cms.vint32(19*[900]),
168 trackQualityCuts = dict(
170 chi2Coeff = [0.9,1.8],
175 quadrupletMinPt = 0.3,
176 quadrupletMaxTip = 0.5,
177 quadrupletMaxZip = 12
181 gpu.toModify(hiPixelTracksSoA,
183 cuda = _pixelTracksSoA.clone(src=
"hiPixelTracksCUDA")
186 pixelNtupletFit.toReplaceWith(hiConformalPixelTracks,_pixelTrackProducerFromSoA.clone(
187 pixelRecHitLegacySrc =
"siPixelRecHitsPreSplitting",
188 trackSrc =
"hiPixelTracksSoA",
189 minQuality =
"highPurity" 193 hiConformalPixelTracksTaskPhase1 = cms.Task(
194 hiConformalPixelTracksPhase1TrackingRegions ,
195 hiConformalPixelTracksPhase1SeedLayers ,
196 hiConformalPixelTracksPhase1HitDoubletsCA ,
197 hiConformalPixelTracksPhase1HitQuadrupletsCA ,
198 pixelNtupletsFitter ,
199 hiConformalPixelTracksPhase1Filter ,
200 hiConformalPixelTracks
203 pixelNtupletFit.toReplaceWith(hiConformalPixelTracksTaskPhase1, cms.Task(
207 hiConformalPixelTracks
210 (gpu & pixelNtupletFit).toReplaceWith(hiConformalPixelTracksTaskPhase1, cms.Task(
214 hiConformalPixelTracksTaskPhase1.copy()
217 hiConformalPixelTracksSequencePhase1 = cms.Sequence(hiConformalPixelTracksTaskPhase1)
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...