Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
19 :m_status(5,0),
m_count(5,0), m_word(word) {
32 m_word |= (fibre << (((4-
i)*5)+3) );
37 for (
unsigned int i=0;
i<5; ++
i){
58 os <<
" Fibre status,sizes: ";
59 for (
unsigned int i=0;
i<5 &&
i<
f.status().
size() &&
i<
f.count().size(); ++
i){
60 os <<
"(" <<
f.status().at(
i) <<
"," <<
f.count().at(
i) <<
") ";
Fibre(std::vector< uint32_t > &&status, std::vector< uint32_t > &&count)
Construct from contents and encode word: vectors of up to 5 status flags and sizes....
std::ostream & operator<<(std::ostream &, const Error)
Helper to print errors as text rather than numbers.
const std::vector< uint32_t > & status() const
access method
std::uint64_t m_count
the number of times the timer has been started
std::vector< uint32_t > m_count
fibre counts
void decode()
method used by constructor to decode word
uint32_t m_word
The raw data representation.
uint32_t word() const
access method
void encode()
method used by constructor to encode word
Represents the L1Topo fibre word of the L1Topo DAQ header, with decoder and encoder.
const std::vector< uint32_t > & count() const
access method
std::vector< uint32_t > m_status
fibre status