10 printf(
"HOTwinMuxDigi: ieta out of range");
11 if ((mip < 0) || (mip > 1))
12 printf(
"HOTwinMuxDigi: mip value out of range");
15 ((
std::abs(
bx) & 0x1) << 12) | ((
bx < 0) ? (0x2000) : (0x00)) | ((mip & 0x1) << 14) |
16 ((validbit & 0x1) << 15) | ((
std::abs(
wheel) & 0x3) << 16) | ((
wheel < 0) ? (0x40000) : (0x00)) |
17 ((sector & 0xF) << 19) | ((
index & 0x1F) << 23) | ((
link & 0x3) << 28);
21 s <<
"HO TP digi in TwinMUX " << HOtp.
ieta() <<
", " << HOtp.
iphi() <<
", " << HOtp.
mip();
22 s <<
"(wh, sec, index, link)" << HOtp.
wheel() <<
", " << HOtp.
sector() <<
", " << HOtp.
index() <<
", " << HOtp.
link();
int link() const
get the link value
HOTPDigiTwinMux()
For the sorted collection.
int ieta() const
get the signed ieta value
int index() const
get the index
int sector() const
get the sector value
int wheel() const
get the signed wheel value
Abs< T >::type abs(const T &t)
int mip() const
get the mip value
std::ostream & operator<<(std::ostream &out, const std::tuple< Types... > &value)
int validbit() const
get the valid bit
int iphi() const
get the raw iphi value