16#ifndef O2_MID_FEEIDCONFIG_H
17#define O2_MID_FEEIDCONFIG_H
20#include <unordered_map>
64 std::unordered_map<uint32_t, uint16_t> mLinkUniqueIdToGBTUniqueId{};
65 std::unordered_map<uint16_t, uint16_t> mGBTUniqueIdToFeeId{};
66 std::unordered_map<uint16_t, std::vector<uint16_t>> mGBTUniqueIdsInLink{};
unsigned short int uint16_t
uint16_t getFEEId(uint16_t gbtUniqueId) const
Gets the FEE ID from the GBT unique ID.
std::vector< uint32_t > getConfiguredLinkUniqueIDs() const
std::vector< uint16_t > getConfiguredGBTUniqueIDs() const
uint32_t getLinkUniqueId(uint8_t linkId, uint8_t endPointId, uint16_t cruId) const
Gets a uniqueID from the combination of linkId, endPointId and cruId;.
void write(const char *filename) const
uint16_t getCRUId(uint32_t linkUniqueId) const
Gets the CRU ID.
const std::vector< uint16_t > & getGBTUniqueIdsInLink(uint16_t feeId) const
uint16_t getGBTUniqueId(uint32_t linkUniqueId) const
uint8_t getEndPointId(uint32_t linkUniqueId) const
Gets the end point id.
uint16_t getGBTUniqueId(uint8_t linkId, uint8_t endPointId, uint16_t cruId) const
Gets the GBT unique ID from the physical ID of the link.
uint8_t getLinkId(uint32_t linkUniqueId) const
Gets the Link ID.
std::vector< uint16_t > getConfiguredFEEIDs() const
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...