1 #ifndef DIGIFTL_ETLSAMPLE_H 2 #define DIGIFTL_ETLSAMPLE_H 60 out <<
"(row,col) : (" <<
row() <<
',' <<
column() <<
") " 62 <<
" Data: " <<
data() <<
" Raw=0x" << std::hex <<
raw() <<
std::dec << std::endl;
ETLSample(uint32_t value)
void print(std::ostream &out=std::cout)
void setToA(uint16_t toa)
ETLSample(uint32_t value, uint32_t valueToT)
void setData(uint16_t data)
ETLSample & operator=(const ETLSample &)=default
void setToT(uint16_t tot)
void setWordToT(uint32_t word, uint32_t mask, uint32_t pos)
void setColumn(uint8_t col)
void setThreshold(bool thr)
setters
uint32_t raw() const
getters
void setWord(uint32_t word, uint32_t mask, uint32_t pos)
wrapper to reset words at a given position
ETLSample(const ETLSample &o)