![]() |
ATLAS Offline Software
|
The class that represents the raw data received from an L1Topo board. More...
#include <L1TopoRDO.h>
Public Member Functions | |
| L1TopoRDO () | |
| Constructor. | |
| const std::vector< uint32_t > & | getDataWords () const |
| get the data words | |
| void | setDataWords (std::vector< uint32_t > &&) noexcept |
| set the data words | |
| const std::vector< uint32_t > & | getStatusWords () const |
| get the status words | |
| void | setStatusWords (std::vector< uint32_t > &&) noexcept |
| set the status words | |
| std::vector< L1Topo::Error > | getErrors () const |
| get a vector of Errors found during RAW to RDO conversion; see enum and | |
| bool | checkError (L1Topo::Error) const |
| check if a certain error flag has been set | |
| void | setError (L1Topo::Error) |
| set a flag to record an error | |
| uint32_t | getError () const |
| Return error bit vector. | |
| uint32_t | getSourceID () const |
| get the source identifier, i.e. the word representing the subdet type and | |
| void | setSourceID (const uint32_t) |
| set the source identifier | |
| bool | isDAQModule () const |
| check the module type, derived from the source ID and the L1Topo module | |
| bool | isROIModule () const |
| check the module type, derived from the source ID and the L1Topo module | |
| const std::string | dump () const |
| terse printout method used by RoIBResult | |
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 |
terse printout method used by RoIBResult
Definition at line 77 of file L1TopoRDO.cxx.
| 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 |
| 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 | ) |
set the source identifier
Definition at line 62 of file L1TopoRDO.cxx.
|
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.