CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
SiPixelClusterThresholds Struct Reference

#include <SiPixelClusterThresholds.h>

Public Member Functions

constexpr int32_t getThresholdForLayerOnCondition (bool isLayer1) const noexcept
 

Public Attributes

const int32_t layer1
 
const int32_t otherLayers
 

Detailed Description

Definition at line 4 of file SiPixelClusterThresholds.h.

Member Function Documentation

◆ getThresholdForLayerOnCondition()

constexpr int32_t SiPixelClusterThresholds::getThresholdForLayerOnCondition ( bool  isLayer1) const
inlinenoexcept

Definition at line 5 of file SiPixelClusterThresholds.h.

References layer1, and otherLayers.

Referenced by gpuClustering::for().

5  {
6  return isLayer1 ? layer1 : otherLayers;
7  }

Member Data Documentation

◆ layer1

const int32_t SiPixelClusterThresholds::layer1

◆ otherLayers

const int32_t SiPixelClusterThresholds::otherLayers