|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGT1CALOBYTESTREAM_WORDDECODER_H
6 #define TRIGT1CALOBYTESTREAM_WORDDECODER_H
27 return T((word >>
offset) & ((1 <<
size) - 1));
static T get(const uint32_t &word, uint8_t offset, uint8_t size)
BitField(const std::string &name, uint8_t begin, uint8_t size)
std::vector< BitField > m_bitFields
T get(const uint32_t &word) const
static uint32_t mask(uint32_t word, uint8_t offset, uint32_t mask)
T get(const uint32_t &word, uint8_t index) const
WordDecoder(const std::vector< BitField > &bitFields)