CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

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(), and SiPixelDigisClustersFromSoA::produce().

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

Member Data Documentation

const int32_t SiPixelClusterThresholds::layer1
const int32_t SiPixelClusterThresholds::otherLayers