Skip to content

Commit

Permalink
Add pixel cluster thresholds in electrons to gpuClusteringConstants
Browse files Browse the repository at this point in the history
Since these are used in the gpuClustering::clusterChargeCut function, it makes sense to set them here (than make them configurable for the SiPixelDigisClustersFromSoA class)
See cms-sw#32483 (comment cms-sw#1 cms-sw#32483 (comment), comment cms-sw#2 cms-sw#32483 (comment))
  • Loading branch information
czangela committed Mar 24, 2021
1 parent c0f6283 commit 80e02ae
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ namespace gpuClustering {
constexpr uint16_t invalidModuleId = std::numeric_limits<uint16_t>::max() - 1;
static_assert(invalidModuleId > maxNumModules); // invalidModuleId must be > maxNumModules

constexpr int32_t thresholdElectrons = 4000;
constexpr int32_t thresholdElectrons_L1 = 2000;

} // namespace gpuClustering

#endif // CUDADataFormats_SiPixelCluster_interface_gpuClusteringConstants_h

0 comments on commit 80e02ae

Please sign in to comment.