Go to the documentation of this file.
39 rhs.charge_valid_packed(),
40 rhs.finehalo_packed(),
123 const unsigned&
me1,
const unsigned&
me2,
const unsigned& me3,
const unsigned& me4,
const unsigned&
mb1) {
167 <<
" " <<
endcap() <<
" bx: "
168 <<
" " <<
BX() <<
" Winner: "
169 <<
" " <<
winner() << std::endl;
174 <<
"unassigned or zero"
179 <<
"unassigned or zero"
182 <<
" " <<
endcap() <<
" bx: "
183 <<
" " <<
BX() <<
" Winner: "
184 <<
" " <<
winner() << std::endl;
189 unsigned modeExt =
mode();
192 if (modeExt == 11 && fr == 1)
194 else if (modeExt == 12 && fr == 1)
196 else if (modeExt == 14 && fr == 1)
int bx() const
return bunch crossing identifier
void setPhiPacked(unsigned phi)
Set Phi: 0..143.
void setEtaPacked(unsigned eta)
Set Eta: 6-bit code.
unsigned phi_packed() const
return phi packed as in hardware
unsigned modeExtended(void) const
bool operator==(const csc::L1Track &) const
unsigned mode(void) const
bool operator>(const csc::L1Track &) const
static unsigned encodeRank(const unsigned &pt, const unsigned &quality)
void setType(unsigned type)
Set Type: 0 DT, 1 bRPC, 2 CSC, 3 fRPC.
unsigned getDataWord() const
return data word
unsigned charge_valid_packed() const
return charge valid packed as in hardware (1=valid, 0=not valid)
unsigned int quality_packed() const
return quality packed as in hardware
void setBx(int bx)
Set Bunch Crossing.
virtual bool empty() const
return empty flag
bool operator!=(const csc::L1Track &) const
void setChargeValidPacked(unsigned valid)
Set Charge Valid.
void setDataWord(unsigned dataword)
Set data word.
static void decodeRank(const unsigned &rank, unsigned &pt, unsigned &quality)
void setPtPacked(unsigned pt)
Set Pt: 0..31.
bool operator<(const csc::L1Track &) const
const csc::L1Track & operator=(const csc::L1Track &)
void setStationIds(const unsigned &me1, const unsigned &me2, const unsigned &me3, const unsigned &me4, const unsigned &mb1)
unsigned eta_packed() const
return eta packed as in hardware
void setChargePacked(unsigned ch)
Set Charge (0=pos, 1=neg)
unsigned finehalo_packed() const
return eta-fine (for DT) / halo (for CSC) bit
unsigned pt_packed() const
return pt packed as in hardware
bool operator<=(const csc::L1Track &) const
bool operator>=(const csc::L1Track &) const
unsigned type_idx() const
return type: 0 DT, 1 bRPC, 2 CSC, 3 fRPC
void setQualityPacked(unsigned qual)
Set Quality: 0..7.
unsigned int quality() const
return quality
unsigned charge_packed() const
return charge packed as in hardware (0=pos, 1=neg)
void setFineHaloPacked(unsigned fh)
Set Fine / Halo.