![]() |
Project
|
Header for data corresponding to the indexing of the links in the raw data output adapted from DataFormatsTRD/TriggerRecord. More...
#include <LinkRecord.h>
Public Member Functions | |
| LinkRecord ()=default | |
| LinkRecord (const uint32_t linkid, int firstentry, int nentries) | |
| LinkRecord (uint32_t sector, int stack, int layer, int side, int firstentry, int nentries) | |
| ~LinkRecord ()=default | |
| void | setLinkId (const uint32_t linkid) |
| void | setLinkId (const uint32_t sector, const uint32_t stack, const uint32_t layer, const uint32_t side) |
| void | setDataRange (int firstentry, int nentries) |
| void | setIndexFirstObject (int firstentry) |
| void | setNumberOfObjects (int nentries) |
| void | setSector (const int sector) |
| void | setStack (const int stack) |
| void | setLayer (const int layer) |
| void | setSide (const int side) |
| void | setSpare (const int spare=0) |
| uint32_t | getLinkId () const |
| uint32_t | getSector () const |
| uint32_t | getStack () const |
| uint32_t | getLayer () const |
| uint32_t | getSide () const |
| int | getNumberOfObjects () const |
| int | getFirstEntry () const |
| void | printStream (std::ostream &stream) |
Static Public Member Functions | |
| static uint32_t | getHalfChamberLinkId (uint32_t detector, uint32_t rob) |
| static uint32_t | getHalfChamberLinkId (uint32_t sector, uint32_t stack, uint32_t layer, uint32_t side) |
Static Public Attributes | |
| static constexpr uint64_t | sparemask = 0x000f |
| static constexpr uint64_t | sidemask = 0x0010 |
| static constexpr uint64_t | layermask = 0x00e0 |
| static constexpr uint64_t | stackmask = 0x0700 |
| static constexpr uint64_t | supermodulemask = 0xf800 |
| static constexpr uint64_t | sparebs = 0 |
| static constexpr uint64_t | sidebs = 4 |
| static constexpr uint64_t | layerbs = 5 |
| static constexpr uint64_t | stackbs = 8 |
| static constexpr uint64_t | supermodulebs = 11 |
Header for data corresponding to the indexing of the links in the raw data output adapted from DataFormatsTRD/TriggerRecord.
Definition at line 30 of file LinkRecord.h.
|
default |
|
inline |
Definition at line 36 of file LinkRecord.h.
|
inline |
Definition at line 38 of file LinkRecord.h.
|
default |
|
inline |
Definition at line 60 of file LinkRecord.h.
|
static |
Definition at line 23 of file LinkRecord.cxx.
|
static |
Definition at line 33 of file LinkRecord.cxx.
|
inline |
Definition at line 57 of file LinkRecord.h.
|
inline |
Definition at line 53 of file LinkRecord.h.
|
inline |
Definition at line 59 of file LinkRecord.h.
|
inline |
Definition at line 55 of file LinkRecord.h.
|
inline |
Definition at line 58 of file LinkRecord.h.
|
inline |
Definition at line 56 of file LinkRecord.h.
| void o2::trd::LinkRecord::printStream | ( | std::ostream & | stream | ) |
Definition at line 49 of file LinkRecord.cxx.
|
inline |
Definition at line 44 of file LinkRecord.h.
|
inline |
Definition at line 45 of file LinkRecord.h.
|
inline |
Definition at line 49 of file LinkRecord.h.
|
inline |
Definition at line 42 of file LinkRecord.h.
| void o2::trd::LinkRecord::setLinkId | ( | const uint32_t | sector, |
| const uint32_t | stack, | ||
| const uint32_t | layer, | ||
| const uint32_t | side | ||
| ) |
Definition at line 40 of file LinkRecord.cxx.
|
inline |
Definition at line 46 of file LinkRecord.h.
|
inline |
Definition at line 47 of file LinkRecord.h.
|
inline |
Definition at line 50 of file LinkRecord.h.
|
inline |
Definition at line 51 of file LinkRecord.h.
|
inline |
Definition at line 48 of file LinkRecord.h.
|
staticconstexpr |
Definition at line 74 of file LinkRecord.h.
|
staticconstexpr |
Definition at line 68 of file LinkRecord.h.
|
staticconstexpr |
Definition at line 73 of file LinkRecord.h.
|
staticconstexpr |
Definition at line 67 of file LinkRecord.h.
|
staticconstexpr |
Definition at line 72 of file LinkRecord.h.
|
staticconstexpr |
Definition at line 66 of file LinkRecord.h.
|
staticconstexpr |
Definition at line 75 of file LinkRecord.h.
|
staticconstexpr |
Definition at line 69 of file LinkRecord.h.
|
staticconstexpr |
Definition at line 76 of file LinkRecord.h.
|
staticconstexpr |
Definition at line 70 of file LinkRecord.h.