Project
Loading...
Searching...
No Matches
o2::mid::gbtmapper Namespace Reference

Functions to relate the unique local board ID with the corresponding GBT ID. More...

Functions

uint16_t getGBTIdFromUniqueLocId (uint8_t uniqueLocId)
 
bool isBoardInGBT (uint8_t uniqueLocId, uint16_t gbtUniqueId)
 

Detailed Description

Functions to relate the unique local board ID with the corresponding GBT ID.

Function Documentation

◆ getGBTIdFromUniqueLocId()

uint16_t o2::mid::gbtmapper::getGBTIdFromUniqueLocId ( uint8_t  uniqueLocId)
inline

Gets the GBT ID from the unique loc ID

Parameters
uniqueLocIdUnique local board ID
Returns
GBT ID

Definition at line 32 of file GBTMapper.h.

◆ isBoardInGBT()

bool o2::mid::gbtmapper::isBoardInGBT ( uint8_t  uniqueLocId,
uint16_t  gbtUniqueId 
)
inline

Check if the board is in the GBT

Parameters
uniqueLocIdUnique local board ID
gbtUniqueIdUnique GBT ID
Returns
True if the local board is in the GBT

Definition at line 37 of file GBTMapper.h.