#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() [1/4]
CTPPSPixelDigi::CTPPSPixelDigi |
( |
int |
packed_value | ) |
|
|
inline |
◆ CTPPSPixelDigi() [2/4]
CTPPSPixelDigi::CTPPSPixelDigi |
( |
int |
row, |
|
|
int |
col, |
|
|
int |
adc |
|
) |
| |
|
inline |
◆ CTPPSPixelDigi() [3/4]
CTPPSPixelDigi::CTPPSPixelDigi |
( |
int |
chan, |
|
|
int |
adc |
|
) |
| |
|
inline |
Definition at line 16 of file CTPPSPixelDigi.h.
References adc(), officialStyle::chan, channelToPixel(), and init().
static std::pair< int, int > channelToPixel(int ch)
void init(int row, int col, int adc)
unsigned short adc() const
chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi...
◆ CTPPSPixelDigi() [4/4]
CTPPSPixelDigi::CTPPSPixelDigi |
( |
| ) |
|
|
inline |
◆ adc()
unsigned short CTPPSPixelDigi::adc |
( |
| ) |
const |
|
inline |
◆ channel()
int CTPPSPixelDigi::channel |
( |
| ) |
const |
|
inline |
◆ channelToPixel()
static std::pair<int, int> CTPPSPixelDigi::channelToPixel |
( |
int |
ch | ) |
|
|
inlinestatic |
◆ column()
int CTPPSPixelDigi::column |
( |
| ) |
const |
|
inline |
◆ init()
void CTPPSPixelDigi::init |
( |
int |
row, |
|
|
int |
col, |
|
|
int |
adc |
|
) |
| |
|
private |
◆ packedData()
uint32_t CTPPSPixelDigi::packedData |
( |
| ) |
const |
|
inline |
◆ pixelToChannel()
static int CTPPSPixelDigi::pixelToChannel |
( |
int |
row, |
|
|
int |
col |
|
) |
| |
|
inlinestatic |
Definition at line 35 of file CTPPSPixelDigi.h.
References cuy::col, column_width_ch, and row().
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.
◆ row()
int CTPPSPixelDigi::row |
( |
| ) |
const |
|
inline |
◆ adc_mask
const uint32_t CTPPSPixelDigi::adc_mask = 0x3FF |
|
static |
◆ adc_shift
const uint32_t CTPPSPixelDigi::adc_shift = 22 |
|
static |
◆ adc_width
const uint32_t CTPPSPixelDigi::adc_width = 10 |
|
static |
◆ column_mask
const uint32_t CTPPSPixelDigi::column_mask = 0x7FF |
|
static |
◆ column_mask_ch
const uint32_t CTPPSPixelDigi::column_mask_ch = 0x7FF |
|
static |
◆ column_shift
const uint32_t CTPPSPixelDigi::column_shift = 11 |
|
static |
◆ column_width
const uint32_t CTPPSPixelDigi::column_width = 11 |
|
static |
◆ column_width_ch
const uint32_t CTPPSPixelDigi::column_width_ch = 11 |
|
static |
◆ max_adc
const uint32_t CTPPSPixelDigi::max_adc = 0x3FF |
|
static |
◆ max_column
const uint32_t CTPPSPixelDigi::max_column = 0x7FF |
|
static |
◆ max_row
const uint32_t CTPPSPixelDigi::max_row = 0x7FF |
|
static |
◆ row_mask
const uint32_t CTPPSPixelDigi::row_mask = 0x7FF |
|
static |
◆ row_mask_ch
const uint32_t CTPPSPixelDigi::row_mask_ch = 0x7FF |
|
static |
◆ row_shift
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().
◆ row_width
const uint32_t CTPPSPixelDigi::row_width = 11 |
|
static |
◆ rowcol_mask
const uint32_t CTPPSPixelDigi::rowcol_mask = 0x3FFFFF |
|
static |
◆ theData
uint32_t CTPPSPixelDigi::theData |
|
private |