1 #ifndef TRACKINGOBJECTS_PIXELDIGI_H 2 #define TRACKINGOBJECTS_PIXELDIGI_H 25 init(rc.first, rc.second, adc);
38 std::cout <<
"PixelDigi constructor: row or column out packing range " << row <<
' ' << col << std::endl;
60 unsigned short adc()
const {
68 return std::pair<int, int>(
row,
col);
92 return o <<
" " << digi.
channel() <<
" " << digi.
adc();
PixelDigi(int chan, int adc)
static std::pair< int, int > channelToPixel(int ch)
PackedDigiType column_mask
PixelDigi(int row, int col, int adc)
PackedDigiType packedData() const
static const Packing thePacking
PixelDigi(PackedDigiType packed_value)
static int pixelToChannel(int row, int col)
bool operator<(const PixelDigi &one, const PixelDigi &other)
unsigned int PackedDigiType
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...
static int pixelToChannel(int row, int col)
PackedDigiType rowcol_mask
std::ostream & operator<<(std::ostream &o, const PixelDigi &digi)