![]() |
Project
|
256bit CRU header word of SACs More...
#include <SAC.h>
Public Member Functions | |
| bool | check () const |
Public Attributes | ||
| union { | ||
| uint64_t word0 = 0 | ||
| bits 0 - 63 More... | ||
| struct { | ||
| uint32_t version: 8 | ||
| header version number More... | ||
| uint32_t instance: 4 | ||
| 0: TPC A (slave), 1: TPC C (master), 2/3: TRD More... | ||
| uint32_t empty0: 8 | ||
| not used More... | ||
| uint32_t bunchCrossing: 12 | ||
| bunch crossing when SAC packet was received More... | ||
| uint32_t orbit: 32 | ||
| orbit when SAC packet was received More... | ||
| } | ||
| }; | ||
| union { | ||
| uint64_t word1 = 0 | ||
| bits 64 - 127 More... | ||
| struct { | ||
| uint32_t pktCount: 16 | ||
| < More... | ||
| uint32_t empty1_0: 16 | ||
| not used More... | ||
| uint32_t empty1_1 | ||
| not used More... | ||
| } | ||
| }; | ||
| union { | ||
| uint64_t word2 = 0 | ||
| bits 128 - 191 More... | ||
| }; | ||
| union { | ||
| uint64_t word3 = 0 | ||
| bits 192 - 255 More... | ||
| struct { | ||
| uint32_t empty3_0 | ||
| uint32_t empty3_1: 16 | ||
| uint32_t magicWord: 16 | ||
| magic word should always correspond to MagicWord More... | ||
| } | ||
| }; | ||
Static Public Attributes | |
| static constexpr uint32_t | MagicWord = 0xabcd |
| magic word | |
| union { ... } o2::tpc::sac::headerDef |
| union { ... } o2::tpc::sac::headerDef |
| union { ... } o2::tpc::sac::headerDef |
| union { ... } o2::tpc::sac::headerDef |
| uint32_t o2::tpc::sac::headerDef::bunchCrossing |
| uint32_t o2::tpc::sac::headerDef::instance |
|
staticconstexpr |
| uint32_t o2::tpc::sac::headerDef::magicWord |
| uint32_t o2::tpc::sac::headerDef::orbit |
| uint32_t o2::tpc::sac::headerDef::pktCount |
| uint32_t o2::tpc::sac::headerDef::version |