1 #ifndef CTPPS_CTPPSDigi_CTPPSPixelDigi_h 2 #define CTPPS_CTPPSDigi_CTPPSPixelDigi_h 18 init(rc.first, rc.second, adc);
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)
int row() const
Access to digi information.
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
uint32_t packedData() const
chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi...
static int pixelToChannel(int row, int col)
static const uint32_t max_row
static const uint32_t column_shift
unsigned short adc() const
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