16#ifndef O2_MID_GBTMAPPER_H
17#define O2_MID_GBTMAPPER_H
Structure to store the readout board information.
uint8_t getCrateIdFromGBTUniqueId(uint16_t gbtUniqueId)
Gets the crate ID from the GBT unique ID.
uint8_t getGBTIdInCrate(uint16_t gbtUniqueId)
Gets the link ID in crate from the RO ID.
uint16_t makeGBTUniqueId(uint8_t crateId, uint8_t gbtId)
Builds the GBT unique ID from the crate ID and the GBT ID in the crate.
uint8_t getGBTIdFromBoardInCrate(uint8_t locId)
Gets the link ID in crate from the board ID.
uint16_t getGBTIdFromUniqueLocId(uint8_t uniqueLocId)
bool isBoardInGBT(uint8_t uniqueLocId, uint16_t gbtUniqueId)
uint8_t getCrateId(uint8_t uniqueLocId)
uint8_t getLocId(uint8_t uniqueLocId)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...