CMS 3D CMS Logo

Functions
sipixelconstants::functions Namespace Reference

Functions

constexpr uint32_t getADC (uint32_t ww)
 
constexpr uint32_t getCol (uint32_t ww)
 
constexpr uint32_t getDCol (uint32_t ww)
 
constexpr uint32_t getLink (uint32_t ww)
 
constexpr uint32_t getPxId (uint32_t ww)
 
constexpr uint32_t getROC (uint32_t ww)
 
constexpr uint32_t getRow (uint32_t ww)
 

Function Documentation

◆ getADC()

constexpr uint32_t sipixelconstants::functions::getADC ( uint32_t  ww)
inlineconstexpr

Definition at line 53 of file SiPixelDigiConstants.h.

53 { return ((ww >> ADC_shift) & ADC_mask); }

References sipixelconstants::ADC_mask, and sipixelconstants::ADC_shift.

◆ getCol()

constexpr uint32_t sipixelconstants::functions::getCol ( uint32_t  ww)
inlineconstexpr

◆ getDCol()

constexpr uint32_t sipixelconstants::functions::getDCol ( uint32_t  ww)
inlineconstexpr

Definition at line 56 of file SiPixelDigiConstants.h.

56 { return ((ww >> DCOL_shift) & DCOL_mask); }

References sipixelconstants::DCOL_mask, and sipixelconstants::DCOL_shift.

◆ getLink()

constexpr uint32_t sipixelconstants::functions::getLink ( uint32_t  ww)
inlineconstexpr

Definition at line 51 of file SiPixelDigiConstants.h.

51 { return ((ww >> LINK_shift) & LINK_mask); }

References sipixelconstants::LINK_mask, and sipixelconstants::LINK_shift.

◆ getPxId()

constexpr uint32_t sipixelconstants::functions::getPxId ( uint32_t  ww)
inlineconstexpr

Definition at line 57 of file SiPixelDigiConstants.h.

57 { return ((ww >> PXID_shift) & PXID_mask); }

References sipixelconstants::PXID_mask, and sipixelconstants::PXID_shift.

◆ getROC()

constexpr uint32_t sipixelconstants::functions::getROC ( uint32_t  ww)
inlineconstexpr

Definition at line 52 of file SiPixelDigiConstants.h.

52 { return ((ww >> ROC_shift) & ROC_mask); }

References sipixelconstants::ROC_mask, and sipixelconstants::ROC_shift.

◆ getRow()

constexpr uint32_t sipixelconstants::functions::getRow ( uint32_t  ww)
inlineconstexpr
sipixelconstants::LINK_shift
constexpr uint32_t LINK_shift
Definition: SiPixelDigiConstants.h:27
sipixelconstants::DCOL_mask
constexpr uint32_t DCOL_mask
Definition: SiPixelDigiConstants.h:35
sipixelconstants::LINK_mask
constexpr uint32_t LINK_mask
Definition: SiPixelDigiConstants.h:32
sipixelconstants::ADC_mask
constexpr uint32_t ADC_mask
Definition: SiPixelDigiConstants.h:37
sipixelconstants::ROC_shift
constexpr uint32_t ROC_shift
Definition: SiPixelDigiConstants.h:26
sipixelconstants::phase1layer1::COL_shift
constexpr uint32_t COL_shift
Definition: SiPixelDigiConstants.h:44
sipixelconstants::phase1layer1::ROW_shift
constexpr uint32_t ROW_shift
Definition: SiPixelDigiConstants.h:43
sipixelconstants::ADC_shift
constexpr uint32_t ADC_shift
Definition: SiPixelDigiConstants.h:23
sipixelconstants::PXID_mask
constexpr uint32_t PXID_mask
Definition: SiPixelDigiConstants.h:36
sipixelconstants::ROC_mask
constexpr uint32_t ROC_mask
Definition: SiPixelDigiConstants.h:33
sipixelconstants::DCOL_shift
constexpr uint32_t DCOL_shift
Definition: SiPixelDigiConstants.h:25
sipixelconstants::PXID_shift
constexpr uint32_t PXID_shift
Definition: SiPixelDigiConstants.h:24
sipixelconstants::phase1layer1::COL_mask
constexpr uint32_t COL_mask
Definition: SiPixelDigiConstants.h:45
sipixelconstants::phase1layer1::ROW_mask
constexpr uint32_t ROW_mask
Definition: SiPixelDigiConstants.h:46