1 #ifndef DIGIFTL_BTLSAMPLE_H 2 #define DIGIFTL_BTLSAMPLE_H 47 <<
" Data: " <<
data() <<
" Row: " << (uint32_t)
row() <<
" Column: " << (uint32_t)
column() <<
" Raw Flag=0x" 72 value_ |= ((word & mask) << pos);
76 flag_ &= ~(mask << pos);
78 flag_ |= ((word & 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)