#include <CTPPSPixelDigi.h>
Persistent digi for CTPPS Pixels. Author: F.Ferro ferro.nosp@m.@ge..nosp@m.infn..nosp@m.it
Definition at line 10 of file CTPPSPixelDigi.h.
CTPPSPixelDigi::CTPPSPixelDigi |
( |
int |
packed_value | ) |
|
|
inline |
CTPPSPixelDigi::CTPPSPixelDigi |
( |
int |
row, |
|
|
int |
col, |
|
|
int |
adc |
|
) |
| |
|
inline |
Definition at line 14 of file CTPPSPixelDigi.h.
References init().
void init(int row, int col, int adc)
int row() const
Access to digi information.
unsigned short adc() const
CTPPSPixelDigi::CTPPSPixelDigi |
( |
int |
chan, |
|
|
int |
adc |
|
) |
| |
|
inline |
Definition at line 16 of file CTPPSPixelDigi.h.
References channelToPixel(), and init().
static std::pair< int, int > channelToPixel(int ch)
void init(int row, int col, int adc)
chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi...
unsigned short adc() const
CTPPSPixelDigi::CTPPSPixelDigi |
( |
| ) |
|
|
inline |
unsigned short CTPPSPixelDigi::adc |
( |
| ) |
const |
|
inline |
int CTPPSPixelDigi::channel |
( |
| ) |
const |
|
inline |
static std::pair<int, int> CTPPSPixelDigi::channelToPixel |
( |
int |
ch | ) |
|
|
inlinestatic |
int CTPPSPixelDigi::column |
( |
| ) |
const |
|
inline |
void CTPPSPixelDigi::init |
( |
int |
row, |
|
|
int |
col, |
|
|
int |
adc |
|
) |
| |
|
private |
Set adc to max_adc in case of overflow
Definition at line 22 of file CTPPSPixelDigi.cc.
References adc_shift, column_shift, SiStripPI::max, max_adc, row_shift, and theData.
Referenced by CTPPSPixelDigi().
int row() const
Access to digi information.
static const uint32_t adc_shift
static const uint32_t row_shift
const values for digi packing with bit structure: adc_bits+col_bits+row_bits
static const uint32_t column_shift
unsigned short adc() const
static const uint32_t max_adc
uint32_t CTPPSPixelDigi::packedData |
( |
| ) |
const |
|
inline |
static int CTPPSPixelDigi::pixelToChannel |
( |
int |
row, |
|
|
int |
col |
|
) |
| |
|
inlinestatic |
Definition at line 35 of file CTPPSPixelDigi.h.
References cuy::col, and column_width_ch.
Referenced by channel().
static const uint32_t column_width_ch
const values for channel definition with bit structure: row_bits+col_bits
int row() const
Access to digi information.
int CTPPSPixelDigi::row |
( |
| ) |
const |
|
inline |
const uint32_t CTPPSPixelDigi::adc_mask = 0x3FF |
|
static |
const uint32_t CTPPSPixelDigi::adc_shift = 22 |
|
static |
const uint32_t CTPPSPixelDigi::adc_width = 10 |
|
static |
const uint32_t CTPPSPixelDigi::column_mask = 0x7FF |
|
static |
const uint32_t CTPPSPixelDigi::column_mask_ch = 0x7FF |
|
static |
const uint32_t CTPPSPixelDigi::column_shift = 11 |
|
static |
const uint32_t CTPPSPixelDigi::column_width = 11 |
|
static |
const uint32_t CTPPSPixelDigi::column_width_ch = 11 |
|
static |
const uint32_t CTPPSPixelDigi::max_adc = 0x3FF |
|
static |
const uint32_t CTPPSPixelDigi::max_column = 0x7FF |
|
static |
const uint32_t CTPPSPixelDigi::max_row = 0x7FF |
|
static |
const uint32_t CTPPSPixelDigi::row_mask = 0x7FF |
|
static |
const uint32_t CTPPSPixelDigi::row_mask_ch = 0x7FF |
|
static |
const uint32_t CTPPSPixelDigi::row_shift = 0 |
|
static |
const values for digi packing with bit structure: adc_bits+col_bits+row_bits
row_w 11, column_w 11, adc_w 10 bits
Definition at line 40 of file CTPPSPixelDigi.h.
Referenced by init(), and row().
const uint32_t CTPPSPixelDigi::row_width = 11 |
|
static |
const uint32_t CTPPSPixelDigi::rowcol_mask = 0x3FFFFF |
|
static |
uint32_t CTPPSPixelDigi::theData |
|
private |