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
inlineconstexprnoexcept

Definition at line 5 of file SiPixelClusterThresholds.h.

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

References layer1, and otherLayers.

Referenced by gpuClustering::for(), and SiPixelDigisClustersFromSoA::produce().

Member Data Documentation

◆ layer1

const int32_t SiPixelClusterThresholds::layer1

◆ otherLayers

const int32_t SiPixelClusterThresholds::otherLayers
SiPixelClusterThresholds::otherLayers
const int32_t otherLayers
Definition: SiPixelClusterThresholds.h:9
SiPixelClusterThresholds::layer1
const int32_t layer1
Definition: SiPixelClusterThresholds.h:8