19 rhs.charge_valid_packed(),
20 rhs.finehalo_packed(),
103 const unsigned&
me1,
const unsigned&
me2,
const unsigned& me3,
const unsigned& me4,
const unsigned&
mb1) {
147 <<
" " <<
endcap() <<
" bx: " 148 <<
" " <<
BX() <<
" Winner: " 149 <<
" " <<
winner() << std::endl;
154 <<
"unassigned or zero" 159 <<
"unassigned or zero" 162 <<
" " <<
endcap() <<
" bx: " 163 <<
" " <<
BX() <<
" Winner: " 164 <<
" " <<
winner() << std::endl;
169 unsigned modeExt =
mode();
172 if (modeExt == 11 && fr == 1)
174 else if (modeExt == 12 && fr == 1)
176 else if (modeExt == 14 && fr == 1)
unsigned int quality_packed() const
return quality packed as in hardware
unsigned pt_packed() const
return pt packed as in hardware
unsigned int quality() const
return quality
unsigned charge_packed() const
return charge packed as in hardware (0=pos, 1=neg)
unsigned getDataWord() const
return data word
unsigned phi_packed() const
return phi packed as in hardware
void setChargeValidPacked(unsigned valid)
Set Charge Valid.
static unsigned encodeRank(const unsigned &pt, const unsigned &quality)
bool operator>(const csc::L1Track &) const
void setBx(int bx)
Set Bunch Crossing.
void setDataWord(unsigned dataword)
Set data word.
bool operator==(const csc::L1Track &) const
unsigned charge_valid_packed() const
return charge valid packed as in hardware (1=valid, 0=not valid)
bool operator<(const csc::L1Track &) const
bool operator<=(const csc::L1Track &) const
unsigned eta_packed() const
return eta packed as in hardware
void setType(unsigned type)
Set Type: 0 DT, 1 bRPC, 2 CSC, 3 fRPC.
virtual bool empty() const
return empty flag
const csc::L1Track & operator=(const csc::L1Track &)
static void decodeRank(const unsigned &rank, unsigned &pt, unsigned &quality)
void setChargePacked(unsigned ch)
Set Charge (0=pos, 1=neg)
void setPtPacked(unsigned pt)
Set Pt: 0..31.
unsigned mode(void) const
void setPhiPacked(unsigned phi)
Set Phi: 0..143.
void setQualityPacked(unsigned qual)
Set Quality: 0..7.
unsigned modeExtended(void) const
void setEtaPacked(unsigned eta)
Set Eta: 6-bit code.
unsigned finehalo_packed() const
return eta-fine (for DT) / halo (for CSC) bit
void setFineHaloPacked(unsigned fh)
Set Fine / Halo.
void setStationIds(const unsigned &me1, const unsigned &me2, const unsigned &me3, const unsigned &me4, const unsigned &mb1)
bool operator!=(const csc::L1Track &) const
bool operator>=(const csc::L1Track &) const
int bx() const
return bunch crossing identifier
unsigned type_idx() const
return type: 0 DT, 1 bRPC, 2 CSC, 3 fRPC