1 #ifndef DataFormats_SiPixelDetId_interface_PixelChannelIdentifier_h
2 #define DataFormats_SiPixelDetId_interface_PixelChannelIdentifier_h
7 namespace pixelchannelidentifierimpl {
17 constexpr
Packing(
unsigned int row_w,
unsigned int column_w,
unsigned int flag_w,
unsigned int adc_w)
63 return std::pair<int, int>(row,
col);
76 #endif // DataFormats_SiPixelDetId_interface_PixelChannelIdentifier_h
constexpr Packing(unsigned int row_w, unsigned int column_w, unsigned int flag_w, unsigned int adc_w)
const PackedDigiType rowcol_mask
const uint32_t column_shift
static constexpr Packing packing()
static constexpr Packing thePacking
unsigned int PackedDigiType
const PackedDigiType column_mask
const PackedDigiType flag_mask
const PackedDigiType row_mask
const uint32_t column_width
const PackedDigiType adc_mask
pixelchannelidentifierimpl::Packing Packing
const uint32_t flag_shift
static int pixelToChannel(int row, int col)
static std::pair< int, int > channelToPixel(int ch)