CMS 3D CMS Logo

SiPixelClusterThresholds.h
Go to the documentation of this file.
1 #ifndef RecoLocalTracker_SiPixelClusterizer_plugins_SiPixelClusterThresholds_h
2 #define RecoLocalTracker_SiPixelClusterizer_plugins_SiPixelClusterThresholds_h
3 
5  inline constexpr int32_t getThresholdForLayerOnCondition(bool isLayer1) const noexcept {
6  return isLayer1 ? layer1 : otherLayers;
7  }
8  const int32_t layer1;
9  const int32_t otherLayers;
10 };
11 
13 
14 #endif // RecoLocalTracker_SiPixelClusterizer_plugins_SiPixelClusterThresholds_h
SiPixelClusterThresholds::getThresholdForLayerOnCondition
constexpr int32_t getThresholdForLayerOnCondition(bool isLayer1) const noexcept
Definition: SiPixelClusterThresholds.h:5
SiPixelClusterThresholds
Definition: SiPixelClusterThresholds.h:4
kSiPixelClusterThresholdsDefaultPhase1
constexpr SiPixelClusterThresholds kSiPixelClusterThresholdsDefaultPhase1
Definition: SiPixelClusterThresholds.h:12
SiPixelClusterThresholds::otherLayers
const int32_t otherLayers
Definition: SiPixelClusterThresholds.h:9
SiPixelClusterThresholds::layer1
const int32_t layer1
Definition: SiPixelClusterThresholds.h:8