1 #ifndef DIGIFTL_FTLSAMPLE_H
2 #define DIGIFTL_FTLSAMPLE_H
57 const uint32_t masked_word = (word & mask) << pos;
uint32_t raw() const
getters
FTLSample(uint32_t value)
void setToA(uint16_t toa)
void setData(uint16_t data)
void setThreshold(bool thr)
setters
FTLSample(const FTLSample &o)
void print(std::ostream &out=std::cout)
void set(bool thr, bool mode, uint16_t toa, uint16_t data)
void setWord(uint32_t word, uint32_t mask, uint32_t pos)
wrapper to reset words at a given position