CMS 3D CMS Logo

Namespaces | Functions | Variables
sipixelconstants Namespace Reference

Namespaces

 functions
 
 phase1layer1
 

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)
 

Variables

constexpr uint32_t ADC_bits = 8
 
constexpr uint32_t ADC_mask = ~(~Word32(0) << ADC_bits)
 
constexpr uint32_t ADC_shift = 0
 
constexpr uint32_t COL_bits1_l1 = 6
 
constexpr uint32_t COL_mask = ~(~Word32(0) << COL_bits1_l1)
 
constexpr uint32_t COL_shift = ROW_shift + ROW_bits1_l1
 
constexpr uint32_t CRC_bits = 1
 
constexpr uint64_t CRC_mask = ~(~Word64(0) << CRC_bits)
 
constexpr uint32_t CRC_shift = 2
 
constexpr uint32_t DCOL_bits = 5
 
constexpr uint32_t DCOL_mask = ~(~Word32(0) << DCOL_bits)
 
constexpr uint32_t DCOL_shift = PXID_shift + PXID_bits
 
constexpr cms_uint32_t dummyDetId = 0xffffffff
 
constexpr uint32_t ERROR_mask = ~(~Word32(0) << ROC_bits)
 
constexpr uint32_t LINK_bits = 6
 
constexpr uint32_t LINK_mask = ~(~Word32(0) << LINK_bits)
 
constexpr uint32_t LINK_shift = ROC_shift + ROC_bits
 
constexpr uint32_t OMIT_ERR_bits = 1
 
constexpr uint32_t OMIT_ERR_mask = ~(~Word32(0) << OMIT_ERR_bits)
 
constexpr uint32_t OMIT_ERR_shift = 20
 
constexpr uint32_t PXID_bits = 8
 
constexpr uint32_t PXID_mask = ~(~Word32(0) << PXID_bits)
 
constexpr uint32_t PXID_shift = ADC_shift + ADC_bits
 
constexpr uint32_t ROC_bits = 5
 
constexpr uint32_t ROC_mask = ~(~Word32(0) << ROC_bits)
 
constexpr uint32_t ROC_shift = DCOL_shift + DCOL_bits
 
constexpr uint32_t ROW_bits1_l1 = 7
 
constexpr uint32_t ROW_mask = ~(~Word32(0) << ROW_bits1_l1)
 
constexpr uint32_t ROW_shift = ADC_shift + ADC_bits
 

Variable Documentation

◆ ADC_bits

constexpr uint32_t sipixelconstants::ADC_bits = 8
constexpr

Definition at line 16 of file SiPixelDigiConstants.h.

◆ ADC_mask

constexpr uint32_t sipixelconstants::ADC_mask = ~(~Word32(0) << ADC_bits)
constexpr

Definition at line 37 of file SiPixelDigiConstants.h.

Referenced by sipixelconstants::functions::getADC().

◆ ADC_shift

constexpr uint32_t sipixelconstants::ADC_shift = 0
constexpr

◆ CRC_bits

constexpr uint32_t sipixelconstants::CRC_bits = 1
constexpr

Definition at line 13 of file SiPixelDigiConstants.h.

◆ CRC_mask

constexpr uint64_t sipixelconstants::CRC_mask = ~(~Word64(0) << CRC_bits)
constexpr

◆ CRC_shift

constexpr uint32_t sipixelconstants::CRC_shift = 2
constexpr

◆ DCOL_bits

constexpr uint32_t sipixelconstants::DCOL_bits = 5
constexpr

Definition at line 14 of file SiPixelDigiConstants.h.

◆ DCOL_mask

constexpr uint32_t sipixelconstants::DCOL_mask = ~(~Word32(0) << DCOL_bits)
constexpr

Definition at line 35 of file SiPixelDigiConstants.h.

Referenced by sipixelconstants::functions::getDCol().

◆ DCOL_shift

constexpr uint32_t sipixelconstants::DCOL_shift = PXID_shift + PXID_bits
constexpr

◆ dummyDetId

constexpr cms_uint32_t sipixelconstants::dummyDetId = 0xffffffff
constexpr

◆ ERROR_mask

constexpr uint32_t sipixelconstants::ERROR_mask = ~(~Word32(0) << ROC_bits)
constexpr

◆ LINK_bits

constexpr uint32_t sipixelconstants::LINK_bits = 6
constexpr

Definition at line 19 of file SiPixelDigiConstants.h.

◆ LINK_mask

constexpr uint32_t sipixelconstants::LINK_mask = ~(~Word32(0) << LINK_bits)
constexpr

◆ LINK_shift

constexpr uint32_t sipixelconstants::LINK_shift = ROC_shift + ROC_bits
constexpr

◆ OMIT_ERR_bits

constexpr uint32_t sipixelconstants::OMIT_ERR_bits = 1
constexpr

Definition at line 17 of file SiPixelDigiConstants.h.

◆ OMIT_ERR_mask

constexpr uint32_t sipixelconstants::OMIT_ERR_mask = ~(~Word32(0) << OMIT_ERR_bits)
constexpr

◆ OMIT_ERR_shift

constexpr uint32_t sipixelconstants::OMIT_ERR_shift = 20
constexpr

◆ PXID_bits

constexpr uint32_t sipixelconstants::PXID_bits = 8
constexpr

Definition at line 15 of file SiPixelDigiConstants.h.

◆ PXID_mask

constexpr uint32_t sipixelconstants::PXID_mask = ~(~Word32(0) << PXID_bits)
constexpr

Definition at line 36 of file SiPixelDigiConstants.h.

Referenced by sipixelconstants::functions::getPxId().

◆ PXID_shift

constexpr uint32_t sipixelconstants::PXID_shift = ADC_shift + ADC_bits
constexpr

◆ ROC_bits

constexpr uint32_t sipixelconstants::ROC_bits = 5
constexpr

Definition at line 20 of file SiPixelDigiConstants.h.

◆ ROC_mask

constexpr uint32_t sipixelconstants::ROC_mask = ~(~Word32(0) << ROC_bits)
constexpr

◆ ROC_shift

constexpr uint32_t sipixelconstants::ROC_shift = DCOL_shift + DCOL_bits
constexpr