1 #ifndef EventFilter_L1TRawToDigi_Omtf_EleIndex_H
2 #define EventFilter_L1TRawToDigi_Omtf_EleIndex_H
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));
23 unsigned int amc()
const {
return ((
packed_ / 100) % 10); }
32 out <<
" (fed: " << o.
fed() <<
"), ln: " << o.
link();
EleIndex(const std::string &board, unsigned int link)
friend std::ostream & operator<<(std::ostream &out, const EleIndex &o)
bool operator<(const EleIndex &o) const
EleIndex(unsigned int fed, unsigned int amc, unsigned int link)
unsigned int link() const