![]() |
Project
|
support for the GBT single link data More...
#include <GBTLink.h>
Public Types | |
enum | Format : int8_t { OldFormat , NewFormat , NFormats } |
enum | RawDataDumps : int { DUMP_NONE , DUMP_HBF , DUMP_TF , DUMP_NTYPES } |
enum | CollectedDataStatus : int8_t { None , AbortedOnError , StoppedOnEndOfData , DataSeen , Recovery , CachedDataExist } |
enum | ErrorType : uint8_t { NoError = 0x0 , Warning = 0x1 , Skip = 0x2 , Abort = 0x4 , ErrorPrinted = 0x1 << 7 } |
enum | Verbosity : int8_t { Silent = -1 , VerboseErrors , VerboseHeaders , VerboseData , VerboseRawDump } |
using | RDH = o2::header::RDHAny |
using | RDHUtils = o2::raw::RDHUtils |
Public Member Functions | |
GBTLink ()=default | |
GBTLink (uint16_t _cru, uint16_t _fee, uint8_t _ep, uint8_t _idInCru=0, uint16_t _chan=0) | |
std::string | describe () const |
void | clear (bool resetStat=true, bool resetTFRaw=false) |
template<class Mapping > | |
CollectedDataStatus | collectROFCableData (const Mapping &chmap) |
void | cacheData (const void *ptr, size_t sz) |
bool | needToPrintError (uint32_t count) |
void | accountLinkRecovery (o2::InteractionRecord ir) |
Static Public Attributes | |
static constexpr int | CRUPageAlignment = 16 |
enum o2::itsmft::GBTLink::CollectedDataStatus : int8_t |
enum o2::itsmft::GBTLink::ErrorType : uint8_t |
enum o2::itsmft::GBTLink::Format : int8_t |
enum o2::itsmft::GBTLink::Verbosity : int8_t |
|
default |
GBTLink::GBTLink | ( | uint16_t | _cru, |
uint16_t | _fee, | ||
uint8_t | _ep, | ||
uint8_t | _idInCru = 0 , |
||
uint16_t | _chan = 0 |
||
) |
======================================================================
create link with given ids
Definition at line 34 of file GBTLink.cxx.
void o2::itsmft::GBTLink::accountLinkRecovery | ( | o2::InteractionRecord | ir | ) |
void GBTLink::clear | ( | bool | resetStat = true , |
bool | resetTFRaw = false |
||
) |
GBTLink::CollectedDataStatus o2::itsmft::GBTLink::collectROFCableData | ( | const Mapping & | chmap | ) |
std::string GBTLink::describe | ( | ) | const |
|
inline |
|
staticconstexpr |
const PayLoadSG::SGPiece* o2::itsmft::GBTLink::currRawPiece = nullptr |
PayLoadCont o2::itsmft::GBTLink::data |
std::vector<PhysTrigger>* o2::itsmft::GBTLink::extTrigVec = nullptr |
o2::InteractionRecord o2::itsmft::GBTLink::ir |
o2::InteractionRecord o2::itsmft::GBTLink::irHBF |
RUDecodeData* o2::itsmft::GBTLink::ruPtr = nullptr |
GBTLinkDecodingStat o2::itsmft::GBTLink::statistics |
CollectedDataStatus o2::itsmft::GBTLink::status = None |
CollectedDataStatus o2::itsmft::GBTLink::statusInTF = None |
Verbosity o2::itsmft::GBTLink::verbosity = VerboseErrors |
int o2::itsmft::GBTLink::wordLength = o2::itsmft::GBTPaddedWordLength |