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

Functions

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 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.
 
uint8_t getGBTIdFromBoardInCrate (uint8_t locId)
 Gets the link ID in crate from the board ID.
 
uint8_t getCrateId (bool isRightSide, uint8_t crateIdOneSide)
 Gets the absolute crate ID.
 
uint8_t getLocIdInCrate (uint16_t gbtUniqueId, int iloc)
 
bool isRightSide (uint8_t crateId)
 Tests if the crate is in the right side.
 

Function Documentation

◆ getCrateId()

uint8_t o2::mid::crateparams::getCrateId ( bool  isRightSide,
uint8_t  crateIdOneSide 
)
inline

Gets the absolute crate ID.

Definition at line 46 of file CrateParameters.h.

◆ getCrateIdFromGBTUniqueId()

uint8_t o2::mid::crateparams::getCrateIdFromGBTUniqueId ( uint16_t  gbtUniqueId)
inline

Gets the crate ID from the GBT unique ID.

Definition at line 40 of file CrateParameters.h.

◆ getGBTIdFromBoardInCrate()

uint8_t o2::mid::crateparams::getGBTIdFromBoardInCrate ( uint8_t  locId)
inline

Gets the link ID in crate from the board ID.

Definition at line 44 of file CrateParameters.h.

◆ getGBTIdInCrate()

uint8_t o2::mid::crateparams::getGBTIdInCrate ( uint16_t  gbtUniqueId)
inline

Gets the link ID in crate from the RO ID.

Definition at line 42 of file CrateParameters.h.

◆ getLocIdInCrate()

uint8_t o2::mid::crateparams::getLocIdInCrate ( uint16_t  gbtUniqueId,
int  iloc 
)
inline

Definition at line 48 of file CrateParameters.h.

◆ isRightSide()

bool o2::mid::crateparams::isRightSide ( uint8_t  crateId)
inline

Tests if the crate is in the right side.

Definition at line 50 of file CrateParameters.h.

◆ makeGBTUniqueId()

uint16_t o2::mid::crateparams::makeGBTUniqueId ( uint8_t  crateId,
uint8_t  gbtId 
)
inline

Builds the GBT unique ID from the crate ID and the GBT ID in the crate.

Definition at line 38 of file CrateParameters.h.