1 #ifndef EventFilter_L1TRawToDigi_Omtf_EleIndex_H 2 #define EventFilter_L1TRawToDigi_Omtf_EleIndex_H 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) );
20 unsigned int amc()
const {
return ( (
packed_ /100) %10); }
24 if (o.
fed()==1380) out <<
"n";
25 if (o.
fed()==1381) out <<
"p";
27 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