33 rhs.pt_packed(),rhs.charge_packed(),
34 rhs.charge_valid_packed(),rhs.finehalo_packed(),
35 rhs.quality_packed(),rhs.
bx()),
124 const unsigned& me3,
const unsigned& me4,
136 if(pt == 0)
return 0;
193 <<
" side: " <<
" " <<
endcap()
194 <<
" bx: " <<
" " <<
BX()
195 <<
" Winner: " <<
" " <<
winner()
201 std::cout <<
"\t Pt(int): " <<
" " <<
"unassigned or zero"
204 <<
" Quality: " <<
" " <<
"unassigned or zero"
206 <<
" side: " <<
" " <<
endcap()
207 <<
" bx: " <<
" " <<
BX()
208 <<
" Winner: " <<
" " <<
winner()
215 unsigned modeExt =
mode();
218 if (modeExt ==11 && fr==1)
220 else if (modeExt==12 && fr==1)
222 else if (modeExt==14 && fr==1)
bool operator<=(const csc::L1Track &) const
unsigned charge_valid_packed() const
return charge valid packed as in hardware (1=valid, 0=not valid)
unsigned mode(void) const
unsigned modeExtended(void) const
virtual bool empty() const
return empty flag
unsigned charge_packed() const
return charge packed as in hardware (0=pos, 1=neg)
bool operator==(const csc::L1Track &) const
void setChargeValidPacked(unsigned valid)
Set Charge Valid.
static unsigned encodeRank(const unsigned &pt, const unsigned &quality)
void setBx(int bx)
Set Bunch Crossing.
void setDataWord(unsigned dataword)
Set data word.
unsigned getDataWord() const
return data word
unsigned eta_packed() const
return eta packed as in hardware
void setType(unsigned type)
Set Type: 0 DT, 1 bRPC, 2 CSC, 3 fRPC.
const csc::L1Track & operator=(const csc::L1Track &)
unsigned finehalo_packed() const
return eta-fine (for DT) / halo (for CSC) bit
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.
bool operator>(const csc::L1Track &) const
void setPhiPacked(unsigned phi)
Set Phi: 0..143.
unsigned int quality_packed() const
return quality packed as in hardware
int bx() const
return bunch crossing identifier
void setQualityPacked(unsigned qual)
Set Quality: 0..7.
void setEtaPacked(unsigned eta)
Set Eta: 6-bit code.
bool operator>=(const csc::L1Track &) const
void setFineHaloPacked(unsigned fh)
Set Fine / Halo.
void setStationIds(const unsigned &me1, const unsigned &me2, const unsigned &me3, const unsigned &me4, const unsigned &mb1)
unsigned pt_packed() const
return pt packed as in hardware
unsigned type_idx() const
return type: 0 DT, 1 bRPC, 2 CSC, 3 fRPC
bool operator!=(const csc::L1Track &) const
unsigned phi_packed() const
return phi packed as in hardware
bool operator<(const csc::L1Track &) const