Jpp
|
Auxiliary class for mapping UPI of central-logic board to module identifier. More...
#include <JDBToolkit.hh>
Public Member Functions | |
void | initialise () |
Initialise. More... | |
int | operator() (const JUPI_t &upi) |
Get module identifier. More... | |
JUPI_t | operator() (const int id) |
Get UPI. More... | |
Protected Attributes | |
std::map< JUPI_t, int > | upi2id |
std::map< int, JUPI_t > | id2upi |
Auxiliary class for mapping UPI of central-logic board to module identifier.
Definition at line 111 of file JDBToolkit.hh.
|
inline |
Initialise.
Definition at line 115 of file JDBToolkit.hh.
|
inline |
Get module identifier.
upi | UPI |
Definition at line 134 of file JDBToolkit.hh.
|
inline |
Get UPI.
id | module identifier |
Definition at line 159 of file JDBToolkit.hh.
Definition at line 178 of file JDBToolkit.hh.
Definition at line 179 of file JDBToolkit.hh.