Skip to content

Commit

Permalink
Merge pull request #35570 from fwyzard/CUDA_pixel_clusterizer_reuse_t…
Browse files Browse the repository at this point in the history
…hresholds_121x

Make the CUDA/SoA pixel clusterizer use the same thresholds as the legacy module
  • Loading branch information
cmsbuild authored Oct 8, 2021
2 parents 6062579 + 052550f commit 32f3aad
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion HLTrigger/Configuration/python/customizeHLTforPatatrack.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,11 @@ def customisePixelLocalReconstruction(process):

# reconstruct the pixel digis and clusters on the gpu
from RecoLocalTracker.SiPixelClusterizer.siPixelRawToClusterCUDA_cfi import siPixelRawToClusterCUDA as _siPixelRawToClusterCUDA
process.hltSiPixelClustersCUDA = _siPixelRawToClusterCUDA.clone()
process.hltSiPixelClustersCUDA = _siPixelRawToClusterCUDA.clone(
# use the same thresholds as the legacy module
clusterThreshold_layer1 = process.hltSiPixelClusters.ClusterThreshold_L1,
clusterThreshold_otherLayers = process.hltSiPixelClusters.ClusterThreshold
)
# use the pixel channel calibrations scheme for Run 3
run3_common.toModify(process.hltSiPixelClustersCUDA, isRun2 = False)

Expand Down Expand Up @@ -179,6 +183,9 @@ def customisePixelLocalReconstruction(process):
src = "hltSiPixelDigisSoA",
produceDigis = False,
storeDigis = False,
# use the same thresholds as the legacy module
clusterThreshold_layer1 = process.hltSiPixelClusters.ClusterThreshold_L1,
clusterThreshold_otherLayers = process.hltSiPixelClusters.ClusterThreshold
)
)

Expand Down

0 comments on commit 32f3aad

Please sign in to comment.