Project
Loading...
Searching...
No Matches
CrateParameters.h File Reference

MID RO crate parameters. More...

#include <cstdint>
#include <array>

Go to the source code of this file.

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::mid
 
namespace  o2::mid::crateparams
 

Functions

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

Detailed Description

MID RO crate parameters.

Author
Diego Stocco <Diego.Stocco at cern.ch>
Date
19 November 2019

Definition in file CrateParameters.h.