16#ifndef O2_MID_GBTUSERLOGICENCODER_H
17#define O2_MID_GBTUSERLOGICENCODER_H
41 bool isEmpty() {
return mBoards.empty(); }
46 void setConfig(uint16_t gbtUniqueId,
const std::vector<ROBoardConfig>& configurations);
52 void addShort(std::vector<char>&
buffer, uint16_t shortWord)
const;
54 std::map<InteractionRecord, std::vector<ROBoard>> mBoards{};
57 ElectronicsDelay mElectronicsDelay;
58 ROBoardResponse mResponse;
Delay parameters for MID electronics.
Structure to store the readout board information.
void flush(std::vector< char > &buffer, const InteractionRecord &ir)
void processTrigger(const InteractionRecord &ir, uint8_t triggerWord)
void setElectronicsDelay(const ElectronicsDelay &electronicsDelay)
Sets the delay in the electronics.
void setConfig(uint16_t gbtUniqueId, const std::vector< ROBoardConfig > &configurations)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
o2::InteractionRecord ir(0, 0)