1 #ifndef CTPPS_CTPPSDigi_CTPPSPixelDigi_h 2 #define CTPPS_CTPPSDigi_CTPPSPixelDigi_h 32 return std::pair<int, int>(
row,
col);
63 return o <<
" " << digi.
row() <<
" " << digi.
column() <<
" " << digi.
adc();
static const uint32_t row_mask_ch
std::ostream & operator<<(std::ostream &o, const CTPPSPixelDigi &digi)
static const uint32_t column_width
static const uint32_t rowcol_mask
static const uint32_t adc_mask
CTPPSPixelDigi(int row, int col, int adc)
static const uint32_t column_width_ch
const values for channel definition with bit structure: row_bits+col_bits
static std::pair< int, int > channelToPixel(int ch)
static const uint32_t column_mask_ch
void init(int row, int col, int adc)
CTPPSPixelDigi(int chan, int adc)
static const uint32_t adc_shift
CTPPSPixelDigi(int packed_value)
static const uint32_t row_mask
static const uint32_t row_shift
const values for digi packing with bit structure: adc_bits+col_bits+row_bits
static const uint32_t adc_width
unsigned short adc() const
chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi...
uint32_t packedData() const
static int pixelToChannel(int row, int col)
int row() const
Access to digi information.
static const uint32_t max_row
static const uint32_t column_shift
static const uint32_t max_column
static const uint32_t row_width
bool operator<(const CTPPSPixelDigi &one, const CTPPSPixelDigi &other)
Comparison operator.
static const uint32_t column_mask
static const uint32_t max_adc