|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #ifndef TRIGT1RESULT_TRAILER_H
7 #define TRIGT1RESULT_TRAILER_H
68 const std::vector<uint32_t>&
trailer()
const;
94 const std::string
dump()
const;
96 const std::string
print(
const bool longFormat =
false)
const;
114 #endif // TRIGT1RESULT_TRAILER_H
void dumpData() const
print object content to default message stream
uint32_t statusInfo() const
get info status word (LVL1 trailer assumes only on word)
uint32_t errorStatus() const
get error status word (LVL1 trailer assumes only on word)
int size() const
get trailer/data size (should always return 5)
uint32_t numDataWords() const
get number of data words
void setNumDataWords(const unsigned int)
set number of data words
void setSimulationError()
set error status to 0xffff0000 for ROD was not found in SG
std::vector< uint32_t > m_trailer
vector of unsigned ints - the only data member - hopefully 5
Trailer()
default constructor: empty object
const std::vector< uint32_t > & trailer() const
get full trailer
bool const RAWDATA *ch2 const
Namespace of the LVL1 RoIB simulation.
Trailer(Trailer &&) noexcept=default
uint32_t numStatusWords() const
get number of status words in trailer
const std::string print(const bool longFormat=false) const
print object content in a human readable format to string
const std::string dump() const
dump raw object content to string
~Trailer()=default
empty default destructor
ROIB::Trailer models the LVL1 ROD Trailer.
uint32_t statusPosition() const
get position of status information in ROD (LVL1 assumes 1)
static constexpr unsigned int wordsPerTrailer
a ROD trailer as used in the LVL1 has 5 words, not counting the one hardware word in the end