|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
64-bit Jungfrau ID: a board value in the upper bits and a 16-bit module number in the low 16 bits. More...
#include <JungfrauDetectorId.hh>
Public Member Functions | |
| JungfrauId () | |
| Construct with ID 0. | |
| JungfrauId (uint64_t id) | |
| Construct from a full 64-bit ID. | |
| JungfrauId (uint64_t board, uint64_t module) | |
| Construct the ID as board shifted left by 16 bits ORed with the low 16 bits of module. | |
| JungfrauId (const std::string &mac, uint64_t module) | |
| Like JungfrauId(board, module), with the board value parsed from the MAC address string mac by JungfrauIdLookup::mac_to_hex(). | |
| ~JungfrauId () | |
| Does nothing; empty body. | |
| uint64_t | full () const |
| Return the full 64-bit ID. | |
| uint64_t | board () const |
| Return the ID shifted right by 16 bits (the board part). | |
| uint64_t | module () const |
| Return the low 16 bits of the ID (the module part). | |
64-bit Jungfrau ID: a board value in the upper bits and a 16-bit module number in the low 16 bits.
| Drp::JungfrauId::JungfrauId | ( | ) |
Construct with ID 0.
| Drp::JungfrauId::JungfrauId | ( | uint64_t | id | ) |
Construct from a full 64-bit ID.
| Drp::JungfrauId::JungfrauId | ( | uint64_t | board, |
| uint64_t | module | ||
| ) |
Construct the ID as board shifted left by 16 bits ORed with the low 16 bits of module.
| Drp::JungfrauId::JungfrauId | ( | const std::string & | mac, |
| uint64_t | module | ||
| ) |
Like JungfrauId(board, module), with the board value parsed from the MAC address string mac by JungfrauIdLookup::mac_to_hex().
| Drp::JungfrauId::~JungfrauId | ( | ) |
Does nothing; empty body.
| uint64_t Drp::JungfrauId::board | ( | ) | const |
Return the ID shifted right by 16 bits (the board part).
| uint64_t Drp::JungfrauId::full | ( | ) | const |
Return the full 64-bit ID.
| uint64_t Drp::JungfrauId::module | ( | ) | const |
Return the low 16 bits of the ID (the module part).