Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the CUDA/SoA pixel clusterizer use the same thresholds as the legacy module [12.0.x] #35571

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 12 additions & 2 deletions HLTrigger/Configuration/python/customizeHLTforPatatrack.py
Expand Up @@ -121,7 +121,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 @@ -159,7 +163,10 @@ def customisePixelLocalReconstruction(process):
)

# reconstruct the pixel clusters on the cpu
process.hltSiPixelClustersLegacy = process.hltSiPixelClusters.clone()
process.hltSiPixelClustersLegacy = process.hltSiPixelClusters.clone(
# update the threshold for compatibility with the gpu reconstruction
ChannelThreshold = 10
)

# SwitchProducer wrapping a subset of the legacy pixel cluster producer, or the conversion of the pixel digis (except errors) and clusters to the legacy format
from RecoLocalTracker.SiPixelClusterizer.siPixelDigisClustersFromSoA_cfi import siPixelDigisClustersFromSoA as _siPixelDigisClustersFromSoA
Expand All @@ -175,6 +182,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