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)
inline

Definition at line 53 of file SiPixelDigiConstants.h.

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

Referenced by PixelDataFormatter::interpretRawData().

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

◆ getCol()

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

◆ getDCol()

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

Definition at line 56 of file SiPixelDigiConstants.h.

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

Referenced by PixelDataFormatter::interpretRawData().

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

◆ getLink()

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

◆ getPxId()

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

Definition at line 57 of file SiPixelDigiConstants.h.

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

Referenced by PixelDataFormatter::interpretRawData().

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

◆ getROC()

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

Definition at line 52 of file SiPixelDigiConstants.h.

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

Referenced by PixelDataFormatter::interpretRawData(), and CTPPSPixelFramePosition::printXML().

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

◆ getRow()

constexpr uint32_t sipixelconstants::functions::getRow ( uint32_t  ww)
inline