![]() |
ATLAS Offline Software
|
Represents the L1Topo header word of the L1Topo DAQ data, with decoder and encoder. More...
#include <Header.h>
Public Member Functions | |
Header (const uint32_t version, const uint32_t active_fibres, const uint32_t payload_crc, const uint32_t fpga, const uint32_t last_block, const uint32_t bcn_sign, const uint32_t bcn_offset) | |
Construct from contents and encode word. More... | |
Header (uint32_t word) | |
Construct with word and decode contents. More... | |
uint32_t | version () const |
access method More... | |
uint32_t | active_fibres () const |
access method More... | |
uint32_t | payload_crc () const |
access method More... | |
uint32_t | fpga () const |
access method More... | |
uint32_t | last_block () const |
access method More... | |
uint32_t | bcn_sign () const |
access method More... | |
uint32_t | bcn_offset () const |
access method More... | |
int | bcn () const |
access method More... | |
uint32_t | word () const |
access method More... | |
Protected Member Functions | |
void | decode () |
method used by constructor to decode word More... | |
void | encode () |
method used by constructor to encode word More... | |
Private Attributes | |
uint32_t | m_version |
uint32_t | m_active_fibres |
uint32_t | m_payload_crc |
uint32_t | m_fpga |
uint32_t | m_last_block |
uint32_t | m_bcn_sign |
uint32_t | m_bcn_offset |
int | m_bcn |
uint32_t | m_word |
Represents the L1Topo header word of the L1Topo DAQ data, with decoder and encoder.
Used to decode/encode the 32-bit word which contents include bunch crossing, FPGA, last block, active fibres and CRC.
Definition at line 18 of file L1Topo/L1TopoRDO/L1TopoRDO/Header.h.
L1Topo::Header::Header | ( | const uint32_t | version, |
const uint32_t | active_fibres, | ||
const uint32_t | payload_crc, | ||
const uint32_t | fpga, | ||
const uint32_t | last_block, | ||
const uint32_t | bcn_sign, | ||
const uint32_t | bcn_offset | ||
) |
Construct from contents and encode word.
Definition at line 12 of file L1Topo/L1TopoRDO/src/Header.cxx.
L1Topo::Header::Header | ( | uint32_t | word | ) |
Construct with word and decode contents.
Definition at line 19 of file L1Topo/L1TopoRDO/src/Header.cxx.
uint32_t L1Topo::Header::active_fibres | ( | ) | const |
access method
Definition at line 54 of file L1Topo/L1TopoRDO/src/Header.cxx.
int L1Topo::Header::bcn | ( | ) | const |
access method
Definition at line 72 of file L1Topo/L1TopoRDO/src/Header.cxx.
uint32_t L1Topo::Header::bcn_offset | ( | ) | const |
access method
Definition at line 69 of file L1Topo/L1TopoRDO/src/Header.cxx.
uint32_t L1Topo::Header::bcn_sign | ( | ) | const |
access method
Definition at line 66 of file L1Topo/L1TopoRDO/src/Header.cxx.
|
protected |
method used by constructor to decode word
Definition at line 27 of file L1Topo/L1TopoRDO/src/Header.cxx.
|
protected |
method used by constructor to encode word
Definition at line 39 of file L1Topo/L1TopoRDO/src/Header.cxx.
uint32_t L1Topo::Header::fpga | ( | ) | const |
access method
Definition at line 60 of file L1Topo/L1TopoRDO/src/Header.cxx.
uint32_t L1Topo::Header::last_block | ( | ) | const |
access method
Definition at line 63 of file L1Topo/L1TopoRDO/src/Header.cxx.
uint32_t L1Topo::Header::payload_crc | ( | ) | const |
access method
Definition at line 57 of file L1Topo/L1TopoRDO/src/Header.cxx.
uint32_t L1Topo::Header::version | ( | ) | const |
access method
Definition at line 51 of file L1Topo/L1TopoRDO/src/Header.cxx.
uint32_t L1Topo::Header::word | ( | ) | const |
access method
Definition at line 75 of file L1Topo/L1TopoRDO/src/Header.cxx.
|
private |
Definition at line 49 of file L1Topo/L1TopoRDO/L1TopoRDO/Header.h.
|
private |
Definition at line 55 of file L1Topo/L1TopoRDO/L1TopoRDO/Header.h.
|
private |
Definition at line 54 of file L1Topo/L1TopoRDO/L1TopoRDO/Header.h.
|
private |
Definition at line 53 of file L1Topo/L1TopoRDO/L1TopoRDO/Header.h.
|
private |
Definition at line 51 of file L1Topo/L1TopoRDO/L1TopoRDO/Header.h.
|
private |
Definition at line 52 of file L1Topo/L1TopoRDO/L1TopoRDO/Header.h.
|
private |
Definition at line 50 of file L1Topo/L1TopoRDO/L1TopoRDO/Header.h.
|
private |
Definition at line 48 of file L1Topo/L1TopoRDO/L1TopoRDO/Header.h.
|
private |
Definition at line 56 of file L1Topo/L1TopoRDO/L1TopoRDO/Header.h.