1 #ifndef DIGIFTL_ETLSAMPLE_H
2 #define DIGIFTL_ETLSAMPLE_H
54 out <<
"(row,col) : (" <<
row() <<
',' <<
column() <<
") "
55 <<
"THR: " <<
threshold() <<
" Mode: " <<
mode() <<
" ToA: " <<
toa() <<
" Data: " <<
data() <<
" Raw=0x"
79 value_ |= ((word & mask) << pos);
ETLSample(uint32_t value)
void print(std::ostream &out=std::cout)
void setToA(uint16_t toa)
uint32_t raw() const
getters
void setData(uint16_t data)
void setColumn(uint8_t col)
void setThreshold(bool thr)
setters
void set(bool thr, bool mode, uint16_t toa, uint16_t data, uint8_t row, uint8_t col)
void setWord(uint32_t word, uint32_t mask, uint32_t pos)
wrapper to reset words at a given position
ETLSample(const ETLSample &o)