1 #ifndef DIGIFTL_BTLSAMPLE_H 2 #define DIGIFTL_BTLSAMPLE_H 52 <<
" Mode: " <<
mode()
53 <<
" ToA2: " <<
toa2()
55 <<
" Data: " <<
data()
56 <<
" Row: " << (uint32_t)
row()
57 <<
" Column: " << (uint32_t)
column()
91 flag_ &= ~(mask << pos);
uint16_t raw_flag() const
void setToA2(uint16_t toa2)
BTLSample(const BTLSample &o)
uint32_t raw_data() const
getters
void setToA(uint16_t toa)
void setData(uint16_t data)
void setDataWord(uint32_t word, uint32_t mask, uint32_t pos)
wrapper to reset words at a given position
void setThreshold(bool thr)
setters
void print(std::ostream &out=std::cout)
void setFlagWord(uint16_t word, uint16_t mask, uint16_t pos)
BTLSample(uint32_t value, uint16_t flag, uint8_t row, uint8_t col)