1 #ifndef DIGIFTL_BTLSAMPLE_H 2 #define DIGIFTL_BTLSAMPLE_H 50 <<
" Mode: " <<
mode()
51 <<
" ToA2: " <<
toa2()
53 <<
" Data: " <<
data()
84 flag_ &= ~(mask << pos);
uint16_t raw_flag() const
BTLSample(uint32_t value, uint16_t flag)
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)