1 #ifndef DIGIFTL_BTLSAMPLE_H 2 #define DIGIFTL_BTLSAMPLE_H 48 <<
" Data: " <<
data() <<
" Row: " << (uint32_t)
row() <<
" Column: " << (uint32_t)
column() <<
" Raw Flag=0x"
uint32_t raw_data() const
getters
void setToA2(uint16_t toa2)
BTLSample(const BTLSample &o)
void setToA(uint16_t toa)
void setData(uint16_t data)
BTLSample & operator=(const BTLSample &)=default
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)
uint16_t raw_flag() const
void setFlagWord(uint16_t word, uint16_t mask, uint16_t pos)
BTLSample(uint32_t value, uint16_t flag, uint8_t row, uint8_t col)