#include <OmtfEleIndex.h>
Definition at line 9 of file OmtfEleIndex.h.
◆ EleIndex() [1/3]
omtf::EleIndex::EleIndex |
( |
| ) |
|
|
inline |
◆ EleIndex() [2/3]
omtf::EleIndex::EleIndex |
( |
const std::string & |
board, |
|
|
unsigned int |
link |
|
) |
| |
|
inline |
Definition at line 12 of file OmtfEleIndex.h.
References fed(), link(), and packed_.
14 if (board.substr(4, 1) ==
"n")
16 else if (board.substr(4, 1) ==
"p")
18 unsigned int amc = std::stoi(board.substr(5, 1));
unsigned int link() const
◆ EleIndex() [3/3]
omtf::EleIndex::EleIndex |
( |
unsigned int |
fed, |
|
|
unsigned int |
amc, |
|
|
unsigned int |
link |
|
) |
| |
|
inline |
◆ amc()
unsigned int omtf::EleIndex::amc |
( |
| ) |
const |
|
inline |
◆ fed()
unsigned int omtf::EleIndex::fed |
( |
| ) |
const |
|
inline |
◆ link()
unsigned int omtf::EleIndex::link |
( |
void |
| ) |
const |
|
inline |
◆ operator<()
bool omtf::EleIndex::operator< |
( |
const EleIndex & |
o | ) |
const |
|
inline |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const EleIndex & |
o |
|
) |
| |
|
friend |
◆ packed_
uint32_t omtf::EleIndex::packed_ |
|
private |