From 052550f7cbf15e265f055fd5e782cb4335b96bb2 Mon Sep 17 00:00:00 2001 From: Andrea Bocci Date: Thu, 7 Oct 2021 11:51:15 +0200 Subject: [PATCH] Make the CUDA/SoA pixel clusterizer use the same thresholds as the legacy module --- .../Configuration/python/customizeHLTforPatatrack.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/HLTrigger/Configuration/python/customizeHLTforPatatrack.py b/HLTrigger/Configuration/python/customizeHLTforPatatrack.py index 7a4e649ed7161..879b7028e74ed 100644 --- a/HLTrigger/Configuration/python/customizeHLTforPatatrack.py +++ b/HLTrigger/Configuration/python/customizeHLTforPatatrack.py @@ -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) @@ -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 ) )