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.
unsigned short int uint16_t
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to process
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)