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, z0Cut = 8.0, hardCurvCut = 0.0756, doPtCut =
False,
144 dcaCutInnerTriplet = 0.05, dcaCutOuterTriplet = 0.10,
145 CAThetaCutForward = 0.002, CAThetaCutBarrel = 0.001,
146 phiCuts = cms.vint32(19*[900]),
147 trackQualityCuts = dict(
149 chi2Coeff = [0.9,1.8],
154 quadrupletMinPt = 0.1,
155 quadrupletMaxTip = 0.5,
156 quadrupletMaxZip = 12
162 cpu = _pixelTracksCUDA.clone(
163 pixelRecHitSrc =
"siPixelRecHitsPreSplittingCPU",
164 idealConditions =
False,
167 hardCurvCut = 0.0756,
169 phiCuts = cms.vint32(19*[900]),
170 trackQualityCuts = dict(
172 chi2Coeff = [0.9,1.8],
177 quadrupletMinPt = 0.3,
178 quadrupletMaxTip = 0.5,
179 quadrupletMaxZip = 12
183 gpu.toModify(hiPixelTracksSoA,
185 cuda = _pixelTracksSoA.clone(src=
"hiPixelTracksCUDA")
188 pixelNtupletFit.toReplaceWith(hiConformalPixelTracks,_pixelTrackProducerFromSoA.clone(
189 pixelRecHitLegacySrc =
"siPixelRecHitsPreSplitting",
190 trackSrc =
"hiPixelTracksSoA",
191 minQuality =
"highPurity" 195 hiConformalPixelTracksTaskPhase1 = cms.Task(
196 hiConformalPixelTracksPhase1TrackingRegions ,
197 hiConformalPixelTracksPhase1SeedLayers ,
198 hiConformalPixelTracksPhase1HitDoubletsCA ,
199 hiConformalPixelTracksPhase1HitQuadrupletsCA ,
200 pixelNtupletsFitter ,
201 hiConformalPixelTracksPhase1Filter ,
202 hiConformalPixelTracks
205 pixelNtupletFit.toReplaceWith(hiConformalPixelTracksTaskPhase1, cms.Task(
209 hiConformalPixelTracks
212 (gpu & pixelNtupletFit).toReplaceWith(hiConformalPixelTracksTaskPhase1, cms.Task(
216 hiConformalPixelTracksTaskPhase1.copy()
219 hiConformalPixelTracksSequencePhase1 = cms.Sequence(hiConformalPixelTracksTaskPhase1)
221 from Configuration.Eras.Modifier_run3_upc_cff
import run3_upc
222 run3_upc.toModify(hiConformalPixelTracksPhase1TrackingRegions.RegionPSet, ptMin = 0.05)
223 run3_upc.toModify(hiConformalPixelTracksPhase1Filter, ptMin = 0.05)