1 #ifndef TRACKINGOBJECTS_PIXELDIGI_H 2 #define TRACKINGOBJECTS_PIXELDIGI_H 39 std::cout <<
"PixelDigi constructor: row or column out packing range " <<
row <<
' ' <<
col << std::endl;
64 unsigned short adc()
const {
72 return std::pair<int, int>(
row,
col);
96 return o <<
" " << digi.
channel() <<
" " << digi.
adc();
PixelDigi(int chan, int adc)
const PackedDigiType rowcol_mask
static std::pair< int, int > channelToPixel(int ch)
PixelDigi(int row, int col, int adc)
unsigned short adc() const
PixelDigi(PackedDigiType packed_value)
static int pixelToChannel(int row, int col)
PixelDigi(int row, int col, int adc, int flag)
bool operator<(const PixelDigi &one, const PixelDigi &other)
unsigned int PackedDigiType
static constexpr Packing thePacking
PackedDigiType packedData() const
const PackedDigiType column_mask
const PackedDigiType flag_mask
const PackedDigiType row_mask
const uint32_t column_width
const PackedDigiType adc_mask
chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi...
void init(int row, int col, int adc, int flag=0)
static int pixelToChannel(int row, int col)
std::ostream & operator<<(std::ostream &o, const PixelDigi &digi)