Go to the documentation of this file. 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
uint32_t packedData() const
static const uint32_t column_shift
static const uint32_t max_column
static const uint32_t row_shift
const values for digi packing with bit structure: adc_bits+col_bits+row_bits
static const uint32_t max_adc
void init(int row, int col, int adc)
static const uint32_t column_mask
static const uint32_t max_row
static const uint32_t rowcol_mask
int row() const
Access to digi information.
static const uint32_t row_width
static const uint32_t column_mask_ch
unsigned short adc() const
static const uint32_t row_mask_ch
CTPPSPixelDigi(int row, int col, int adc)
std::ostream & operator<<(std::ostream &o, const CTPPSPixelDigi &digi)
static const uint32_t adc_shift
static const uint32_t column_width
static const uint32_t adc_width
static std::pair< int, int > channelToPixel(int ch)
CTPPSPixelDigi(int packed_value)
CTPPSPixelDigi(int chan, int adc)
static int pixelToChannel(int row, int col)
chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi....
static const uint32_t column_width_ch
const values for channel definition with bit structure: row_bits+col_bits
bool operator<(const CTPPSPixelDigi &one, const CTPPSPixelDigi &other)
Comparison operator.
static const uint32_t adc_mask