Skip to content

Commit

Permalink
Make the CUDA/SoA pixel clusterizer use the same thresholds as the le…
Browse files Browse the repository at this point in the history
…gacy module
  • Loading branch information
fwyzard committed Oct 7, 2021
1 parent 668228d commit 052550f
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 052550f

Please sign in to comment.