1 import FWCore.ParameterSet.Config
as cms
4 from RecoTracker.TkHitPairs.hitPairEDProducer_cfi
import hitPairEDProducer
as _hitPairEDProducer
5 from RecoTracker.PixelSeeding.pixelTripletHLTEDProducer_cfi
import pixelTripletHLTEDProducer
as _pixelTripletHLTEDProducer
13 hiConformalPixelTracksHitDoublets = _hitPairEDProducer.clone(
15 seedingLayers =
"PixelLayerTriplets",
16 trackingRegions =
"hiTrackingRegionWithVertex",
17 maxElement = 50000000,
18 produceIntermediateHitDoublets =
True,
21 hiConformalPixelTracksHitTriplets = _pixelTripletHLTEDProducer.clone(
22 doublets =
"hiConformalPixelTracksHitDoublets",
24 produceSeedingHitSets =
True,
27 import RecoTracker.PixelTrackFitting.pixelTracks_cfi
as _mod
29 hiConformalPixelTracks = _mod.pixelTracks.clone(
32 SeedingHitSets =
"hiConformalPixelTracksHitTriplets",
34 Fitter =
'pixelFitterByConformalMappingAndLine',
36 Filter =
"hiConformalPixelFilter",
38 Cleaner =
"trackCleaner" 45 hiConformalPixelTracksPhase1TrackingRegions = globalTrackingRegionWithVertices.clone(
48 useMultipleScattering =
False,
49 useFakeVertices =
False,
50 beamSpot =
"offlineBeamSpot",
55 VertexCollection =
"offlinePrimaryVertices",
57 useFoundVertices =
True,
65 hiConformalPixelTracksPhase1SeedLayers = lowPtQuadStepSeedLayers.clone(
67 HitProducer = cms.string(
'siPixelRecHits'),
68 TTRHBuilder = cms.string(
'WithTrackAngle'),
71 HitProducer = cms.string(
'siPixelRecHits'),
72 TTRHBuilder = cms.string(
'WithTrackAngle'),
79 hiConformalPixelTracksPhase1HitDoubletsCA = lowPtQuadStepHitDoublets.clone(
80 seedingLayers =
"hiConformalPixelTracksPhase1SeedLayers",
81 trackingRegions =
"hiConformalPixelTracksPhase1TrackingRegions" 86 hiConformalPixelTracksPhase1HitQuadrupletsCA = lowPtQuadStepHitQuadruplets.clone(
87 doublets =
"hiConformalPixelTracksPhase1HitDoubletsCA",
90 SeedComparitorPSet = dict(
91 ComponentName =
'none' 93 extraHitRPhitolerance = 0.032,
104 hiConformalPixelTracksPhase1Filter = hiConformalPixelFilter.clone(
105 VertexCollection =
"offlinePrimaryVertices",
108 nSigmaLipMaxTolerance = 3.0,
109 nSigmaTipMaxTolerance = 3.0,
115 from RecoTracker.PixelTrackFitting.pixelNtupletsFitter_cfi
import pixelNtupletsFitter
117 from Configuration.Eras.Modifier_phase1Pixel_cff
import phase1Pixel
118 phase1Pixel.toModify(hiConformalPixelTracks,
119 Cleaner =
'pixelTrackCleanerBySharedHits',
120 Filter =
"hiConformalPixelTracksPhase1Filter",
121 Fitter =
"pixelNtupletsFitter",
122 SeedingHitSets =
"hiConformalPixelTracksPhase1HitQuadrupletsCA",
125 hiConformalPixelTracksTask = cms.Task(
126 hiTrackingRegionWithVertex ,
128 hiConformalPixelTracksHitDoublets ,
129 hiConformalPixelTracksHitTriplets ,
130 pixelFitterByConformalMappingAndLine ,
131 hiConformalPixelFilter ,
132 hiConformalPixelTracks
136 from Configuration.ProcessModifiers.pixelNtupletFit_cff
import pixelNtupletFit
137 from RecoTracker.PixelTrackFitting.pixelTrackSoAFromCUDAHIonPhase1_cfi
import pixelTrackSoAFromCUDAHIonPhase1
as _pixelTracksSoA
138 from RecoTracker.PixelSeeding.caHitNtupletCUDAHIonPhase1_cfi
import caHitNtupletCUDAHIonPhase1
as _pixelTracksCUDA
139 from RecoTracker.PixelTrackFitting.pixelTrackProducerFromSoAHIonPhase1_cfi
import pixelTrackProducerFromSoAHIonPhase1
as _pixelTrackProducerFromSoA
141 from HeterogeneousCore.CUDACore.SwitchProducerCUDA
import SwitchProducerCUDA
143 hiPixelTracksCUDA = _pixelTracksCUDA.clone(pixelRecHitSrc=
"siPixelRecHitsPreSplittingCUDA", idealConditions =
False,
144 ptmin = 0.25, z0Cut = 8.0, hardCurvCut = 0.0756, doPtCut =
False,
146 dcaCutInnerTriplet = 0.05, dcaCutOuterTriplet = 0.10,
147 CAThetaCutForward = 0.002, CAThetaCutBarrel = 0.001,
148 phiCuts = cms.vint32(19*[900]),
149 trackQualityCuts = dict(
151 chi2Coeff = [0.9,1.8],
156 quadrupletMinPt = 0.1,
157 quadrupletMaxTip = 0.5,
158 quadrupletMaxZip = 12
164 cpu = _pixelTracksCUDA.clone(
165 pixelRecHitSrc =
"siPixelRecHitsPreSplittingCPU",
166 idealConditions =
False,
169 hardCurvCut = 0.0756,
171 phiCuts = cms.vint32(19*[900]),
172 trackQualityCuts = dict(
174 chi2Coeff = [0.9,1.8],
179 quadrupletMinPt = 0.3,
180 quadrupletMaxTip = 0.5,
181 quadrupletMaxZip = 12
185 gpu.toModify(hiPixelTracksSoA,
187 cuda = _pixelTracksSoA.clone(src=
"hiPixelTracksCUDA")
190 pixelNtupletFit.toReplaceWith(hiConformalPixelTracks,_pixelTrackProducerFromSoA.clone(
191 pixelRecHitLegacySrc =
"siPixelRecHitsPreSplitting",
192 trackSrc =
"hiPixelTracksSoA",
193 minQuality =
"highPurity" 197 hiConformalPixelTracksTaskPhase1 = cms.Task(
198 hiConformalPixelTracksPhase1TrackingRegions ,
199 hiConformalPixelTracksPhase1SeedLayers ,
200 hiConformalPixelTracksPhase1HitDoubletsCA ,
201 hiConformalPixelTracksPhase1HitQuadrupletsCA ,
202 pixelNtupletsFitter ,
203 hiConformalPixelTracksPhase1Filter ,
204 hiConformalPixelTracks
207 pixelNtupletFit.toReplaceWith(hiConformalPixelTracksTaskPhase1, cms.Task(
211 hiConformalPixelTracks
214 (gpu & pixelNtupletFit).toReplaceWith(hiConformalPixelTracksTaskPhase1, cms.Task(
218 hiConformalPixelTracksTaskPhase1.copy()
221 phase1Pixel.toReplaceWith(hiConformalPixelTracksTask, hiConformalPixelTracksTaskPhase1)
223 from Configuration.Eras.Modifier_run3_upc_cff
import run3_upc
224 run3_upc.toModify(hiConformalPixelTracksPhase1TrackingRegions.RegionPSet, ptMin = 0.05)
225 run3_upc.toModify(hiConformalPixelTracksPhase1Filter, ptMin = 0.05)
226 run3_upc.toModify(hiTrackingRegionWithVertex.RegionPSet, VertexCollection =
"offlinePrimaryVertices", ptMin = 0.05)
227 run3_upc.toModify(hiConformalPixelFilter, VertexCollection =
"offlinePrimaryVertices", ptMin = 0.05)