|
ATLAS Offline Software
|
Go to the documentation of this file.
10 #include "GaudiKernel/Bootstrap.h"
11 #include "GaudiKernel/ISvcLocator.h"
12 #include "GaudiKernel/IMessageSvc.h"
13 #include "GaudiKernel/MsgStream.h"
61 s <<
"Size: " <<
size() << std::endl;
62 s << std::setw(2) << 0 <<
"ErrorStatus:" <<
errorStatus() << std::endl;
63 s << std::setw(2) << 1 <<
"SatusInfo:" <<
statusInfo() << std::endl;
64 s << std::setw(2) << 2 <<
"nStatusWords:" <<
numStatusWords() << std::endl;
65 s << std::setw(2) << 3 <<
"nDataWords:" <<
numDataWords() << std::endl;
78 SmartIF<IMessageSvc>
msgSvc{Gaudi::svcLocator()->service(
"MessageSvc")};
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
std::vector< uint32_t > m_trailer
vector of unsigned ints - the only data member - hopefully 5
Trailer()
default constructor: empty object
Namespace of the LVL1 RoIB simulation.
const std::string convertToHex(const uint32_t word)
helper function to dump a number in hex format
uint32_t numStatusWords() const
get number of status words in trailer
msgSvc
Provide convenience handles for various services.
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
uint32_t statusPosition() const
get position of status information in ROD (LVL1 assumes 1)