![]() |
Project
|
#include <GBTUserLogicEncoder.h>
Public Member Functions | |
void | process (gsl::span< const ROBoard > data, InteractionRecord ir) |
void | processTrigger (const InteractionRecord &ir, uint8_t triggerWord) |
void | flush (std::vector< char > &buffer, const InteractionRecord &ir) |
bool | isEmpty () |
void | setConfig (uint16_t gbtUniqueId, const std::vector< ROBoardConfig > &configurations) |
void | setElectronicsDelay (const ElectronicsDelay &electronicsDelay) |
Sets the delay in the electronics. | |
Definition at line 32 of file GBTUserLogicEncoder.h.
void o2::mid::GBTUserLogicEncoder::flush | ( | std::vector< char > & | buffer, |
const InteractionRecord & | ir | ||
) |
Flush buffer
Definition at line 72 of file GBTUserLogicEncoder.cxx.
|
inline |
Definition at line 41 of file GBTUserLogicEncoder.h.
void o2::mid::GBTUserLogicEncoder::process | ( | gsl::span< const ROBoard > | data, |
InteractionRecord | ir | ||
) |
Encode data
Definition at line 49 of file GBTUserLogicEncoder.cxx.
void o2::mid::GBTUserLogicEncoder::processTrigger | ( | const InteractionRecord & | ir, |
uint8_t | triggerWord | ||
) |
Adds the information in triggered mode
Definition at line 41 of file GBTUserLogicEncoder.cxx.
void o2::mid::GBTUserLogicEncoder::setConfig | ( | uint16_t | gbtUniqueId, |
const std::vector< ROBoardConfig > & | configurations | ||
) |
Sets the local board configuration
gbtUniqueId | GBT unique ID |
configurations | Vector of configurations for the local boards in the GBT link |
Sets the information associated to the GBT unique ID
Definition at line 26 of file GBTUserLogicEncoder.cxx.
|
inline |
Sets the delay in the electronics.
Definition at line 49 of file GBTUserLogicEncoder.h.