![]() |
Project
|
#include <FEEIdConfig.h>
Public Member Functions | |
| FEEIdConfig () | |
| FEEIdConfig (const char *filename) | |
| ~FEEIdConfig ()=default | |
| uint16_t | getGBTUniqueId (uint32_t linkUniqueId) const |
| const std::vector< uint16_t > & | getGBTUniqueIdsInLink (uint16_t feeId) const |
| 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. | |
| uint32_t | getLinkUniqueId (uint8_t linkId, uint8_t endPointId, uint16_t cruId) const |
| Gets a uniqueID from the combination of linkId, endPointId and cruId;. | |
| uint16_t | getCRUId (uint32_t linkUniqueId) const |
| Gets the CRU ID. | |
| uint8_t | getEndPointId (uint32_t linkUniqueId) const |
| Gets the end point id. | |
| uint8_t | getLinkId (uint32_t linkUniqueId) const |
| Gets the Link ID. | |
| uint16_t | getFEEId (uint16_t gbtUniqueId) const |
| Gets the FEE ID from the GBT unique ID. | |
| std::vector< uint16_t > | getConfiguredGBTUniqueIDs () const |
| std::vector< uint32_t > | getConfiguredLinkUniqueIDs () const |
| std::vector< uint16_t > | getConfiguredFEEIDs () const |
| void | write (const char *filename) const |
Definition at line 27 of file FEEIdConfig.h.
| o2::mid::FEEIdConfig::FEEIdConfig | ( | ) |
Default constructor
Definition at line 31 of file FEEIdConfig.cxx.
| o2::mid::FEEIdConfig::FEEIdConfig | ( | const char * | filename | ) |
Construct from file
Definition at line 56 of file FEEIdConfig.cxx.
|
default |
| std::vector< uint16_t > o2::mid::FEEIdConfig::getConfiguredFEEIDs | ( | ) | const |
Returns the sorted list of configured FEE Ids
Definition at line 109 of file FEEIdConfig.cxx.
| std::vector< uint16_t > o2::mid::FEEIdConfig::getConfiguredGBTUniqueIDs | ( | ) | const |
Returns the sorted list of configured FEE IDs
Definition at line 87 of file FEEIdConfig.cxx.
| std::vector< uint32_t > o2::mid::FEEIdConfig::getConfiguredLinkUniqueIDs | ( | ) | const |
Returns the sorted list of configured GBT IDs
Definition at line 98 of file FEEIdConfig.cxx.
Gets the CRU ID.
Definition at line 45 of file FEEIdConfig.h.
Gets the end point id.
Definition at line 47 of file FEEIdConfig.h.
Gets the FEE ID from the GBT unique ID.
Definition at line 165 of file FEEIdConfig.cxx.
Gets the feeId from the physical ID of the link
Definition at line 76 of file FEEIdConfig.cxx.
|
inline |
Gets the GBT unique ID from the physical ID of the link.
Definition at line 39 of file FEEIdConfig.h.
|
inline |
Definition at line 36 of file FEEIdConfig.h.
Gets the Link ID.
Definition at line 49 of file FEEIdConfig.h.
|
inline |
Gets a uniqueID from the combination of linkId, endPointId and cruId;.
Definition at line 42 of file FEEIdConfig.h.
Writes the FEE Ids to a configuration file
Definition at line 175 of file FEEIdConfig.cxx.