![]() |
Project
|
#include <ChipMappingMFT.h>
Public Member Functions | |
| ChipMappingMFT () | |
| ~ChipMappingMFT ()=default | |
| uint8_t | FEEId2RUSW (uint16_t hw) const |
| get FEEID, from software id of the RU and link number | |
| 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 corresponding to given FEEID | |
| 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 (note: this position is equal to the HW cable ID) | |
| 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 (i.e. chipOnModule) to its position on the ActiveLanes word in the GBT.header for given RU type (note: this position is equal to the HW cable ID) | |
| 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 cable HW ID and stave (RU) info (note: chOnModuleHW is unused) | |
| 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 |
| Collect all FEEIDs for one layer (lr>=0) or all (lr==-1) | |
| std::vector< uint16_t > | getLayer2FEEIDs (int lr) |
| 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 126 of file ChipMappingMFT.h.
|
inline |
convert cable iterator ID (i.e. chipOnModule) to its position on the ActiveLanes word in the GBT.header for given RU type (note: this position is equal to the HW cable ID)
Definition at line 129 of file ChipMappingMFT.h.
|
inline |
get chipID on module from chip global SW ID, cable SW ID and stave (RU) info
Definition at line 132 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 190 of file ChipMappingMFT.h.
|
inline |
Definition at line 170 of file ChipMappingMFT.h.
|
inline |
Definition at line 164 of file ChipMappingMFT.h.
convert SW id of chip in the module to HW ID
Definition at line 149 of file ChipMappingMFT.h.
Definition at line 155 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 97 of file ChipMappingMFT.h.
|
inline |
get info on sw RU corresponding to given FEEID
Definition at line 109 of file ChipMappingMFT.h.
|
inline |
get FEEID, from software id of the RU and link number
Definition at line 77 of file ChipMappingMFT.h.
|
inline |
get info on sw RU
Definition at line 231 of file ChipMappingMFT.h.
get number of chips served by RU of given type (i.e. RU type for ITS)
Definition at line 199 of file ChipMappingMFT.h.
|
inline |
Definition at line 264 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 224 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 (note: this position is equal to the HW cable ID)
Definition at line 120 of file ChipMappingMFT.h.
|
inline |
convert HW id of chip in the module to SW ID (sequential ID on the module)
Definition at line 142 of file ChipMappingMFT.h.
| std::vector< uint16_t > ChipMappingMFT::getLayer2FEEIDs | ( | int | lr | ) |
Definition at line 1758 of file ChipMappingMFT.cxx.
|
inline |
get chip global SW ID from cable HW ID and stave (RU) info (note: chOnModuleHW is unused)
TODO
Definition at line 135 of file ChipMappingMFT.h.
|
inline |
Collect all FEEIDs for one layer (lr>=0) or all (lr==-1)
Definition at line 266 of file ChipMappingMFT.h.
|
inlinestaticconstexpr |
Definition at line 67 of file ChipMappingMFT.h.
|
inlinestaticconstexpr |
Definition at line 160 of file ChipMappingMFT.h.
|
inline |
Definition at line 175 of file ChipMappingMFT.h.
|
inline |
Definition at line 220 of file ChipMappingMFT.h.
|
inline |
convert zone number [0...8] and layer number [0...10] to RU type
Definition at line 257 of file ChipMappingMFT.h.
|
inlinestaticconstexpr |
Definition at line 162 of file ChipMappingMFT.h.
|
inlinestaticconstexpr |
< total number of RUs
get software id of the RU, from first 8 bits of FEEID (HW id of RU)
Definition at line 74 of file ChipMappingMFT.h.
|
inline |
Definition at line 256 of file ChipMappingMFT.h.
|
inlinestaticconstexpr |
Definition at line 68 of file ChipMappingMFT.h.
|
inlinestaticconstexpr |
Definition at line 229 of file ChipMappingMFT.h.
Definition at line 244 of file ChipMappingMFT.h.
|
inline |
get number of chips served by single cable on given RU type
Definition at line 117 of file ChipMappingMFT.h.
convert layer ID and RU sequential ID on Layer to absolute RU IDSW
Definition at line 241 of file ChipMappingMFT.h.
Definition at line 260 of file ChipMappingMFT.h.
|
inline |
extract information about the chip with SW ID
Definition at line 196 of file ChipMappingMFT.h.
|
inline |
Definition at line 180 of file ChipMappingMFT.h.
|
inline |
Definition at line 185 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 274 of file ChipMappingMFT.h.
Definition at line 328 of file ChipMappingMFT.h.
|
staticconstexpr |
Definition at line 307 of file ChipMappingMFT.h.
|
staticconstexpr |
Definition at line 262 of file ChipMappingMFT.h.
|
static |
Definition at line 262 of file ChipMappingMFT.h.
|
static |
Definition at line 262 of file ChipMappingMFT.h.
|
static |
Definition at line 262 of file ChipMappingMFT.h.