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
 
 SiPixelClusterThresholds (const int32_t layer1, const int32_t otherLayers)
 
 SiPixelClusterThresholds (const int32_t layer1, const int32_t otherLayers, const float vCaltoElectronGain, const float vCaltoElectronGain_L1, const float vCaltoElectronOffset, const float vCaltoElectronOffset_L1)
 
 SiPixelClusterThresholds (const int32_t layer1, const int32_t otherLayers, const float electronPerADCGain, const int8_t phase2ReadoutMode, const uint16_t phase2DigiBaseline, const uint8_t phase2KinkADC)
 

Public Attributes

const float electronPerADCGain = 0
 
const int32_t layer1 = 0
 
const int32_t otherLayers = 0
 
const uint16_t phase2DigiBaseline = 0
 
const uint8_t phase2KinkADC = 0
 
const int8_t phase2ReadoutMode = 0
 
const float vCaltoElectronGain = 0
 
const float vCaltoElectronGain_L1 = 0
 
const float vCaltoElectronOffset = 0
 
const float vCaltoElectronOffset_L1 = 0
 

Detailed Description

Definition at line 8 of file SiPixelClusterThresholds.h.

Constructor & Destructor Documentation

◆ SiPixelClusterThresholds() [1/3]

SiPixelClusterThresholds::SiPixelClusterThresholds ( const int32_t  layer1,
const int32_t  otherLayers 
)
inline

◆ SiPixelClusterThresholds() [2/3]

SiPixelClusterThresholds::SiPixelClusterThresholds ( const int32_t  layer1,
const int32_t  otherLayers,
const float  vCaltoElectronGain,
const float  vCaltoElectronGain_L1,
const float  vCaltoElectronOffset,
const float  vCaltoElectronOffset_L1 
)
inline

◆ SiPixelClusterThresholds() [3/3]

SiPixelClusterThresholds::SiPixelClusterThresholds ( const int32_t  layer1,
const int32_t  otherLayers,
const float  electronPerADCGain,
const int8_t  phase2ReadoutMode,
const uint16_t  phase2DigiBaseline,
const uint8_t  phase2KinkADC 
)
inline

Member Function Documentation

◆ getThresholdForLayerOnCondition()

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

Definition at line 9 of file SiPixelClusterThresholds.h.

References layer1, and otherLayers.

Referenced by gpuClustering::for(), and pixelClustering::ClusterChargeCut< TrackerTraits >::operator()().

9  {
10  return isLayer1 ? layer1 : otherLayers;
11  }

Member Data Documentation

◆ electronPerADCGain

const float SiPixelClusterThresholds::electronPerADCGain = 0

◆ layer1

const int32_t SiPixelClusterThresholds::layer1 = 0

Definition at line 12 of file SiPixelClusterThresholds.h.

Referenced by getThresholdForLayerOnCondition().

◆ otherLayers

const int32_t SiPixelClusterThresholds::otherLayers = 0

Definition at line 13 of file SiPixelClusterThresholds.h.

Referenced by getThresholdForLayerOnCondition().

◆ phase2DigiBaseline

const uint16_t SiPixelClusterThresholds::phase2DigiBaseline = 0

◆ phase2KinkADC

const uint8_t SiPixelClusterThresholds::phase2KinkADC = 0

◆ phase2ReadoutMode

const int8_t SiPixelClusterThresholds::phase2ReadoutMode = 0

◆ vCaltoElectronGain

const float SiPixelClusterThresholds::vCaltoElectronGain = 0

◆ vCaltoElectronGain_L1

const float SiPixelClusterThresholds::vCaltoElectronGain_L1 = 0

◆ vCaltoElectronOffset

const float SiPixelClusterThresholds::vCaltoElectronOffset = 0

◆ vCaltoElectronOffset_L1

const float SiPixelClusterThresholds::vCaltoElectronOffset_L1 = 0