ATLAS Offline Software
|
The class that represents the raw data received from an L1Topo board. More...
#include <L1TopoRDO.h>
Public Member Functions | |
L1TopoRDO () | |
Constructor. More... | |
const std::vector< uint32_t > & | getDataWords () const |
get the data words More... | |
void | setDataWords (std::vector< uint32_t > &&) noexcept |
set the data words More... | |
const std::vector< uint32_t > & | getStatusWords () const |
get the status words More... | |
void | setStatusWords (std::vector< uint32_t > &&) noexcept |
set the status words More... | |
std::vector< L1Topo::Error > | getErrors () const |
get a vector of Errors found during RAW to RDO conversion; see enum and More... | |
bool | checkError (L1Topo::Error) const |
check if a certain error flag has been set More... | |
void | setError (L1Topo::Error) |
set a flag to record an error More... | |
uint32_t | getError () const |
Return error bit vector. More... | |
uint32_t | getSourceID () const |
get the source identifier, i.e. the word representing the subdet type and More... | |
void | setSourceID (const uint32_t) |
set the source identifier More... | |
bool | isDAQModule () const |
check the module type, derived from the source ID and the L1Topo module More... | |
bool | isROIModule () const |
check the module type, derived from the source ID and the L1Topo module More... | |
const std::string | dump () const |
terse printout method used by RoIBResult More... | |
Private Attributes | |
std::vector< uint32_t > | m_dataWords |
std::vector< uint32_t > | m_statusWords |
uint32_t | m_error |
uint32_t | m_sourceID |
The class that represents the raw data received from an L1Topo board.
This class encapsulated the status and data words received from an L1Topo board via its DAQ or ROI readout.
It is also used in the RoIBResult:
For help decoding the data words,
Definition at line 29 of file L1TopoRDO.h.
|
inline |
bool L1TopoRDO::checkError | ( | L1Topo::Error | e | ) | const |
check if a certain error flag has been set
Definition at line 49 of file L1TopoRDO.cxx.
const std::string L1TopoRDO::dump | ( | ) | const |
const std::vector< uint32_t > & L1TopoRDO::getDataWords | ( | ) | const |
|
inline |
std::vector< L1Topo::Error > L1TopoRDO::getErrors | ( | ) | const |
get a vector of Errors found during RAW to RDO conversion; see enum and
Definition at line 35 of file L1TopoRDO.cxx.
uint32_t L1TopoRDO::getSourceID | ( | ) | const |
get the source identifier, i.e. the word representing the subdet type and
Definition at line 57 of file L1TopoRDO.cxx.
const std::vector< uint32_t > & L1TopoRDO::getStatusWords | ( | ) | const |
get the status words
Definition at line 25 of file L1TopoRDO.cxx.
bool L1TopoRDO::isDAQModule | ( | ) | const |
check the module type, derived from the source ID and the L1Topo module
Definition at line 67 of file L1TopoRDO.cxx.
bool L1TopoRDO::isROIModule | ( | ) | const |
check the module type, derived from the source ID and the L1Topo module
Definition at line 72 of file L1TopoRDO.cxx.
|
noexcept |
set the data words
Definition at line 20 of file L1TopoRDO.cxx.
void L1TopoRDO::setError | ( | L1Topo::Error | e | ) |
set a flag to record an error
Definition at line 53 of file L1TopoRDO.cxx.
void L1TopoRDO::setSourceID | ( | const uint32_t | id | ) |
|
noexcept |
set the status words
Definition at line 30 of file L1TopoRDO.cxx.
|
private |
Definition at line 75 of file L1TopoRDO.h.
|
private |
Definition at line 78 of file L1TopoRDO.h.
|
private |
Definition at line 79 of file L1TopoRDO.h.
|
private |
Definition at line 76 of file L1TopoRDO.h.