ATLAS Offline Software
|
#include <RXReadOutStructure.h>
Public Types | |
enum | DataVersion { Atlas, Simulation0, Simulation1 } |
Public Member Functions | |
RXReadOutStructure (DataVersion vers=Atlas) | |
RXReadOutStructure (ubit16 inputData, DataVersion vers=Atlas) | |
~RXReadOutStructure ()=default | |
void | setInit () |
ubit16 | makeHeader (ubit16 *inputData) |
ubit16 | makeSubHeader () |
ubit16 | makeBody (ubit16 *inputData) |
ubit16 | makeFooter (ubit16 errorCode) |
ubit16 | makeFooter (ubit16 *errorCode) |
ubit16 | RXid () |
ubit16 | status () |
ubit16 | errorCode () |
ubit16 | decodeFragment (ubit16 inputWord, char &field) |
bool | isHeader () |
bool | isBody () |
bool | isFooter () |
ubit16 | getWord () const |
char | field () const |
Protected Member Functions | |
ubit16 | set16Bits (const ubit16 n, const ubit16 *pos, const ubit16 *val) const |
template<size_t n> | |
ubit16 | set16Bits (const std::array< ubit16, n > &pos, const std::array< ubit16, n > &val) const |
ubit16 | get16Bits (const ubit16 input, const ubit16 position, const ubit16 length) const |
Protected Attributes | |
ubit16 | m_word {0xffff} |
char | m_field {0} |
Static Protected Attributes | |
static constexpr ubit16 | s_last2bitsON {0xc000} |
static constexpr ubit16 | s_last4bitsON {0xf000} |
static constexpr ubit16 | s_first8bitsON {0} |
Private Attributes | |
ubit16 | m_secid |
ubit16 | m_status |
ubit16 | m_errorCode |
DataVersion | m_dataVersion |
Static Private Attributes | |
static const ubit16 | s_headerNum = 3 |
static const ubit16 | s_headerPos [s_headerNum] = {12, 8, 0} |
static const ubit16 | s_headerLen [s_headerNum] = {4, 4, 8} |
static const ubit16 | s_headerVal = 0x0009 |
static const ubit16 | s_footerNum = 2 |
static const ubit16 | s_footerPos [s_footerNum] = {12, 0} |
static const ubit16 | s_footerLen [s_footerNum] = {4, 12} |
static const ubit16 | s_footerVal = 0x000b |
Definition at line 14 of file RXReadOutStructure.h.
RXReadOutStructure::RXReadOutStructure | ( | RXReadOutStructure::DataVersion | vers = Atlas | ) |
Definition at line 24 of file RXReadOutStructure.cxx.
RXReadOutStructure::RXReadOutStructure | ( | ubit16 | inputData, |
RXReadOutStructure::DataVersion | vers = Atlas |
||
) |
Definition at line 31 of file RXReadOutStructure.cxx.
|
default |
unsigned short int RXReadOutStructure::decodeFragment | ( | ubit16 | inputWord, |
char & | field | ||
) |
Definition at line 78 of file RXReadOutStructure.cxx.
|
inline |
Definition at line 35 of file RXReadOutStructure.h.
|
inlineinherited |
Definition at line 19 of file RPCReadOut.h.
|
inlineinherited |
Definition at line 18 of file RPCReadOut.h.
|
inline |
Definition at line 39 of file RXReadOutStructure.h.
bool RXReadOutStructure::isFooter | ( | ) |
Definition at line 71 of file RXReadOutStructure.cxx.
bool RXReadOutStructure::isHeader | ( | ) |
Definition at line 64 of file RXReadOutStructure.cxx.
Definition at line 26 of file RXReadOutStructure.h.
unsigned short int RXReadOutStructure::makeFooter | ( | ubit16 * | errorCode | ) |
Definition at line 62 of file RXReadOutStructure.cxx.
unsigned short int RXReadOutStructure::makeFooter | ( | ubit16 | errorCode | ) |
Definition at line 55 of file RXReadOutStructure.cxx.
unsigned short int RXReadOutStructure::makeHeader | ( | ubit16 * | inputData | ) |
Definition at line 47 of file RXReadOutStructure.cxx.
|
inline |
Definition at line 24 of file RXReadOutStructure.h.
|
inline |
Definition at line 33 of file RXReadOutStructure.h.
void RXReadOutStructure::setInit | ( | ) |
Definition at line 39 of file RXReadOutStructure.cxx.
|
inline |
Definition at line 34 of file RXReadOutStructure.h.
|
private |
Definition at line 47 of file RXReadOutStructure.h.
|
private |
Definition at line 46 of file RXReadOutStructure.h.
|
protectedinherited |
Definition at line 28 of file RPCReadOut.h.
|
private |
Definition at line 44 of file RXReadOutStructure.h.
|
private |
Definition at line 45 of file RXReadOutStructure.h.
|
protectedinherited |
Definition at line 27 of file RPCReadOut.h.
|
staticconstexprprotectedinherited |
Definition at line 57 of file RPCReadOut.h.
Definition at line 57 of file RXReadOutStructure.h.
Definition at line 55 of file RXReadOutStructure.h.
Definition at line 56 of file RXReadOutStructure.h.
Definition at line 58 of file RXReadOutStructure.h.
Definition at line 53 of file RXReadOutStructure.h.
Definition at line 51 of file RXReadOutStructure.h.
Definition at line 52 of file RXReadOutStructure.h.
Definition at line 54 of file RXReadOutStructure.h.
|
staticconstexprprotectedinherited |
Definition at line 55 of file RPCReadOut.h.
|
staticconstexprprotectedinherited |
Definition at line 56 of file RPCReadOut.h.