![]() |
Project
|
#include <DataBlockBase.h>
Public Types | |
enum | AccessByteLUT { kNBYTES , kSRCBYTEPOS , kDESTBYTEPOS , kELEMENTINDEX , kWORDINDEX } |
enum | AccessReadingLUT { kNELEMENTS , kNSTEPS , kISPARTED } |
typedef T | Data_t |
typedef ConfigType | Config_t |
Public Member Functions | |
DataBlockWrapper ()=default | |
DataBlockWrapper (const DataBlockWrapper &)=default | |
void | serialize (std::vector< char > &vecBytes, size_t nWords, size_t &destPos) const |
void | deserialize (const gsl::span< const uint8_t > inputBytes, size_t nWords, size_t &srcPos) |
void | print () const |
Static Public Member Functions | |
static constexpr std::size_t | getWordSize () |
static constexpr size_t | getNsteps () |
static constexpr std::array< std::tuple< size_t, size_t, size_t, int, int >, getNsteps()> | GetByteLookupTable () |
static constexpr std::array< std::tuple< unsigned int, unsigned int, bool >, MaxNwords+1 > | GetReadingLookupTable () |
static void | printLUT () |
Public Attributes | |
Data_t | mData [Data_t::MaxNelements] |
unsigned int | mNelements |
RawDataMetric::Status_t | mStatusBits {} |
bool | mIsIncorrect |
Static Public Attributes | |
static constexpr bool | sIsPadded = Config_t::sIsPadded |
static constexpr std::size_t | sSizeWord = getWordSize() |
static constexpr int | MaxNwords = Data_t::PayloadSize * Data_t::MaxNelements / Data_t::PayloadPerGBTword + (Data_t::PayloadSize * Data_t::MaxNelements % Data_t::PayloadPerGBTword > 0) |
static constexpr int | MaxNbytes = SIZE_WORD * MaxNwords |
static constexpr int | MinNwords = Data_t::PayloadSize * Data_t::MinNelements / Data_t::PayloadPerGBTword + (Data_t::PayloadSize * Data_t::MinNelements % Data_t::PayloadPerGBTword > 0) |
static constexpr int | MinNbytes = SIZE_WORD * MinNwords |
static constexpr std::array< std::tuple< size_t, size_t, size_t, int, int >, getNsteps()> | sByteLookupTable = GetByteLookupTable() |
static constexpr std::array< std::tuple< unsigned int, unsigned int, bool >, MaxNwords+1 > | sReadingLookupTable = GetReadingLookupTable() |
Definition at line 129 of file DataBlockBase.h.
typedef ConfigType o2::fit::DataBlockWrapper< ConfigType, T, typename >::Config_t |
Definition at line 133 of file DataBlockBase.h.
typedef T o2::fit::DataBlockWrapper< ConfigType, T, typename >::Data_t |
Definition at line 132 of file DataBlockBase.h.
enum o2::fit::DataBlockWrapper::AccessByteLUT |
Enumerator | |
---|---|
kNBYTES | |
kSRCBYTEPOS | |
kDESTBYTEPOS | |
kELEMENTINDEX | |
kWORDINDEX |
Definition at line 235 of file DataBlockBase.h.
enum o2::fit::DataBlockWrapper::AccessReadingLUT |
Enumerator | |
---|---|
kNELEMENTS | |
kNSTEPS | |
kISPARTED |
Definition at line 310 of file DataBlockBase.h.
|
default |
|
default |
|
inline |
Definition at line 168 of file DataBlockBase.h.
|
inlinestaticconstexpr |
Definition at line 240 of file DataBlockBase.h.
|
inlinestaticconstexpr |
Definition at line 200 of file DataBlockBase.h.
|
inlinestaticconstexpr |
Definition at line 313 of file DataBlockBase.h.
|
inlinestaticconstexpr |
Definition at line 135 of file DataBlockBase.h.
|
inline |
Definition at line 370 of file DataBlockBase.h.
|
inlinestatic |
Definition at line 351 of file DataBlockBase.h.
|
inline |
Definition at line 145 of file DataBlockBase.h.
|
staticconstexpr |
Definition at line 194 of file DataBlockBase.h.
|
staticconstexpr |
Definition at line 193 of file DataBlockBase.h.
Data_t o2::fit::DataBlockWrapper< ConfigType, T, typename >::mData[Data_t::MaxNelements] |
Definition at line 378 of file DataBlockBase.h.
|
staticconstexpr |
Definition at line 197 of file DataBlockBase.h.
|
staticconstexpr |
Definition at line 196 of file DataBlockBase.h.
bool o2::fit::DataBlockWrapper< ConfigType, T, typename >::mIsIncorrect |
Definition at line 381 of file DataBlockBase.h.
unsigned int o2::fit::DataBlockWrapper< ConfigType, T, typename >::mNelements |
Definition at line 379 of file DataBlockBase.h.
RawDataMetric::Status_t o2::fit::DataBlockWrapper< ConfigType, T, typename >::mStatusBits {} |
Definition at line 380 of file DataBlockBase.h.
|
staticconstexpr |
Definition at line 303 of file DataBlockBase.h.
|
staticconstexpr |
Definition at line 134 of file DataBlockBase.h.
|
staticconstexpr |
Definition at line 348 of file DataBlockBase.h.
|
staticconstexpr |
Definition at line 144 of file DataBlockBase.h.