#include <OmtfEleIndex.h>
Definition at line 9 of file OmtfEleIndex.h.
omtf::EleIndex::EleIndex |
( |
| ) |
|
|
inline |
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") fed = 1380;
else if (board.substr(4,1)==
"p") fed = 1381;
15 unsigned int amc = std::stoi( board.substr(5,1) );
unsigned int link() const
omtf::EleIndex::EleIndex |
( |
unsigned int |
fed, |
|
|
unsigned int |
amc, |
|
|
unsigned int |
link |
|
) |
| |
|
inline |
unsigned int omtf::EleIndex::amc |
( |
| ) |
const |
|
inline |
unsigned int omtf::EleIndex::fed |
( |
| ) |
const |
|
inline |
unsigned int omtf::EleIndex::link |
( |
void |
| ) |
const |
|
inline |
bool omtf::EleIndex::operator< |
( |
const EleIndex & |
o | ) |
const |
|
inline |
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const EleIndex & |
o |
|
) |
| |
|
friend |
Definition at line 22 of file OmtfEleIndex.h.
24 if (
o.fed()==1380)
out <<
"n";
25 if (
o.fed()==1381)
out <<
"p";
27 out <<
" (fed: "<<
o.fed()<<
"), ln: " <<
o.link();
uint32_t omtf::EleIndex::packed_ |
|
private |