forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make cluster charge cut thresholds configurable for the function gpuC…
…lusterChargeCut See cms-sw#32483
- Loading branch information
Showing
6 changed files
with
42 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
RecoLocalTracker/SiPixelClusterizer/plugins/gpuClusterThresholds.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#ifndef RecoLocalTracker_SiPixelClusterizer_plugins_gpuClusterThresholds_h | ||
#define RecoLocalTracker_SiPixelClusterizer_plugins_gpuClusterThresholds_h | ||
|
||
struct gpuClusterThresholds { | ||
constexpr gpuClusterThresholds(int32_t clusterThreshold_L1, int32_t clusterThreshold): | ||
layer1(clusterThreshold_L1), otherLayers(clusterThreshold){}; | ||
const int32_t layer1; // Cluster threshold in electrons for Layer 1 | ||
const int32_t otherLayers; // Cluster threshold in electrons | ||
}; | ||
|
||
#endif // RecoLocalTracker_SiPixelClusterizer_plugins_gpuClusterThresholds_h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters