![]() |
Project
|
#include <ChipMappingMFT.h>
Public Member Functions | |
ChipMappingMFT () | |
~ChipMappingMFT ()=default | |
uint8_t | FEEId2RUSW (uint16_t hw) const |
get HW id of the RU (software id of the RU) | |
uint16_t | RUSW2FEEId (uint16_t sw, uint16_t linkID=0) const |
compose FEEid for given stave (ru) relative to layer and link, see documentation in the constructor | |
uint16_t | composeFEEId (uint16_t layer, uint16_t ruOnLayer, uint16_t link) const |
decompose FEEid to layer, stave (ru) relative to layer, link, see documentation in the constructor | |
void | expandFEEId (uint16_t feeID, uint16_t &layer, uint16_t &ruOnLayer, uint16_t &link) const |
decompose FEEid to face, disk, half | |
void | expandFEEIdFaceDiskHalf (uint16_t feeID, uint16_t &face, uint16_t &disk, uint16_t &half) const |
get info on sw RU | |
const RUInfo * | getRUInfoFEEId (Int_t feeID) const |
get number of chips served by single cable on given RU type | |
uint8_t | getGBTHeaderRUType (Int_t ruType, Int_t cableHW) |
convert HW cable ID to its position on the ActiveLanes word in the GBT.header for given RU type | |
uint8_t | cableHW2Pos (uint8_t ruType, uint8_t hwid) const |
convert HW cable ID to SW ID for give RU type | |
uint8_t | cableHW2SW (uint8_t ruType, uint8_t hwid) const |
convert cable iterator ID to its position on the ActiveLanes word in the GBT.header for given RU type | |
uint8_t | cablePos (uint8_t ruType, uint8_t id) const |
get chipID on module from chip global SW ID, cable SW ID and stave (RU) info | |
uint16_t | getLocalChipID (uint16_t globalID, int cableHW, const RUInfo &ruInfo) const |
get chip global SW ID from chipID on module, cable SW ID and stave (RU) info | |
uint16_t | getGlobalChipID (uint16_t chOnModuleHW, int cableHW, const RUInfo &ruInfo) const |
convert HW id of chip in the module to SW ID (sequential ID on the module) | |
int | chipModuleIDHW2SW (int ruType, int hwIDinMod) const |
convert SW id of chip in the module to HW ID | |
int | chipModuleIDSW2HW (int ruType, int swIDinMod) const |
Int_t | chipID2Module (Int_t chipID, Int_t &chipOnModule) const |
Int_t | chipID2Module (Int_t chipID) const |
Int_t | getNChipsInModule (Int_t modID) const |
Int_t | module2ChipID (Int_t modID, Int_t chipOnModule) const |
Int_t | module2Layer (Int_t modID) const |
Int_t | chip2Layer (Int_t chipID) const |
impose user defined FEEId -> ruSW (staveID) conversion, to be used only for forced decoding of corrupted data | |
void | imposeFEEId2RUSW (uint16_t, uint16_t) |
extract information about the chip with SW ID | |
void | getChipInfoSW (Int_t chipSW, ChipInfo &chInfo) const |
get number of chips served by RU of given type (i.e. RU type for ITS) | |
Int_t | getNChipsOnRUType (Int_t ruType) const |
const ChipOnRUInfo * | getChipOnRUInfo (Int_t ruType, Int_t chipOnRU) const |
uint32_t | getCablesOnRUType (Int_t ruType) const |
get info on sw RU | |
const RUInfo * | getRUInfoSW (int ruSW) const |
convert layer ID and RU sequential ID on Layer to absolute RU IDSW | |
int | getRUIDSW (int layer, int ruOnLayer) const |
const int | getNZonesPerLayer () const |
const int | getNLayers () const |
convert zone number [0...8] and layer number [0...10] to RU type | |
int | getRUType (int zone, int layer) const |
const std::array< MFTChipMappingData, NChips > & | getChipMappingData () const |
const auto & | getModuleMappingData () const |
void | print () const |
LayerID of each MFT chip. | |
Static Public Member Functions | |
static constexpr std::string_view | getName () |
static constexpr o2::header::DataOrigin | getOrigin () |
static constexpr o2::detectors::DetID::ID | getDetID () |
static constexpr Int_t | getNRUs () |
< total number of RUs | |
static constexpr Int_t | getNChips () |
static constexpr Int_t | getNModules () |
static constexpr std::int16_t | getRUDetectorField () |
Static Public Attributes | |
static constexpr int | NChips = 936 |
static constexpr int | NLayers = 10 |
static constexpr int | NZonesPerLayer = 2 * 4 |
static constexpr int | NRUTypes = 13 |
static constexpr std::array< int, NChips > | ChipID2Layer |
static constexpr std::array< int, 280 > | mLadderIDGeoToRO |
static constexpr std::array< int, NChips > | mChipIDGeoToRO |
Definition at line 61 of file ChipMappingMFT.h.
ChipMappingMFT::ChipMappingMFT | ( | ) |
Definition at line 1623 of file ChipMappingMFT.cxx.
|
default |
|
inline |
convert HW cable ID to SW ID for give RU type
Definition at line 127 of file ChipMappingMFT.h.
|
inline |
convert cable iterator ID to its position on the ActiveLanes word in the GBT.header for given RU type
Definition at line 130 of file ChipMappingMFT.h.
|
inline |
get chipID on module from chip global SW ID, cable SW ID and stave (RU) info
Definition at line 133 of file ChipMappingMFT.h.
|
inline |
impose user defined FEEId -> ruSW (staveID) conversion, to be used only for forced decoding of corrupted data
Definition at line 191 of file ChipMappingMFT.h.
|
inline |
Definition at line 171 of file ChipMappingMFT.h.
|
inline |
Definition at line 165 of file ChipMappingMFT.h.
convert SW id of chip in the module to HW ID
Definition at line 150 of file ChipMappingMFT.h.
Definition at line 156 of file ChipMappingMFT.h.
|
inline |
decompose FEEid to layer, stave (ru) relative to layer, link, see documentation in the constructor
Definition at line 83 of file ChipMappingMFT.h.
|
inline |
decompose FEEid to face, disk, half
Definition at line 98 of file ChipMappingMFT.h.
|
inline |
get info on sw RU
Definition at line 110 of file ChipMappingMFT.h.
|
inline |
get HW id of the RU (software id of the RU)
Definition at line 77 of file ChipMappingMFT.h.
|
inline |
get info on sw RU
Definition at line 232 of file ChipMappingMFT.h.
get number of chips served by RU of given type (i.e. RU type for ITS)
Definition at line 200 of file ChipMappingMFT.h.
|
inline |
Definition at line 265 of file ChipMappingMFT.h.
|
inline |
< extract information about the chip properties on the stave of given type for the chip < with sequential ID SWID within the stave
Definition at line 225 of file ChipMappingMFT.h.
|
inlinestaticconstexpr |
Definition at line 69 of file ChipMappingMFT.h.
|
inline |
convert HW cable ID to its position on the ActiveLanes word in the GBT.header for given RU type
Definition at line 121 of file ChipMappingMFT.h.
|
inline |
convert HW id of chip in the module to SW ID (sequential ID on the module)
Definition at line 143 of file ChipMappingMFT.h.
|
inline |
get chip global SW ID from chipID on module, cable SW ID and stave (RU) info
TODO
Definition at line 136 of file ChipMappingMFT.h.
|
inline |
Definition at line 267 of file ChipMappingMFT.h.
|
inlinestaticconstexpr |
Definition at line 67 of file ChipMappingMFT.h.
|
inlinestaticconstexpr |
Definition at line 161 of file ChipMappingMFT.h.
|
inline |
Definition at line 176 of file ChipMappingMFT.h.
|
inline |
Definition at line 221 of file ChipMappingMFT.h.
|
inline |
convert zone number [0...8] and layer number [0...10] to RU type
Definition at line 258 of file ChipMappingMFT.h.
|
inlinestaticconstexpr |
Definition at line 163 of file ChipMappingMFT.h.
|
inlinestaticconstexpr |
< total number of RUs
get FEEId of the RU (software id of the RU), read via given link
Definition at line 74 of file ChipMappingMFT.h.
|
inline |
Definition at line 257 of file ChipMappingMFT.h.
|
inlinestaticconstexpr |
Definition at line 68 of file ChipMappingMFT.h.
|
inlinestaticconstexpr |
Definition at line 230 of file ChipMappingMFT.h.
Definition at line 245 of file ChipMappingMFT.h.
|
inline |
get number of chips served by single cable on given RU type
Definition at line 118 of file ChipMappingMFT.h.
convert layer ID and RU sequential ID on Layer to absolute RU IDSW
Definition at line 242 of file ChipMappingMFT.h.
Definition at line 261 of file ChipMappingMFT.h.
|
inline |
extract information about the chip with SW ID
Definition at line 197 of file ChipMappingMFT.h.
|
inline |
Definition at line 181 of file ChipMappingMFT.h.
|
inline |
Definition at line 186 of file ChipMappingMFT.h.
void ChipMappingMFT::print | ( | ) | const |
LayerID of each MFT chip.
Definition at line 1735 of file ChipMappingMFT.cxx.
|
inline |
compose FEEid for given stave (ru) relative to layer and link, see documentation in the constructor
Definition at line 80 of file ChipMappingMFT.h.
Definition at line 272 of file ChipMappingMFT.h.
Definition at line 326 of file ChipMappingMFT.h.
|
staticconstexpr |
Definition at line 305 of file ChipMappingMFT.h.
|
staticconstexpr |
Definition at line 263 of file ChipMappingMFT.h.
|
static |
Definition at line 263 of file ChipMappingMFT.h.
|
static |
Definition at line 263 of file ChipMappingMFT.h.
|
static |
Definition at line 263 of file ChipMappingMFT.h.