|
|
Go to the documentation of this file.
58 : m_bx(
bx), m_dataWord(0) {
82 edm::LogWarning(
"ValueInvalid") <<
"L1MuRegionalCand::phiValue requested physical value is invalid";
89 edm::LogWarning(
"ValueInvalid") <<
"L1MuRegionalCand::etaValue requested physical value is invalid";
96 edm::LogWarning(
"ValueInvalid") <<
"L1MuRegionalCand::ptValue requested physical value is invalid";
105 <<
"pt(index) = " << setw(2) << setprecision(1) <<
pt_packed() <<
" "
107 <<
"eta(index) = " << setw(2) <<
eta_packed() <<
" "
108 <<
"phi(index) = " << setw(3) <<
phi_packed() <<
" "
109 <<
"quality = " << setw(1) <<
quality() <<
" "
110 <<
"charge_valid = " << setw(1) <<
chargeValid() <<
" "
111 <<
"fine_halo = " << setw(1) <<
isFineHalo() <<
" "
112 <<
"bx = " << setw(3) <<
bx() <<
" "
113 <<
"type_idx = " << setw(1) <<
type_idx();
116 <<
"pt = " << setw(5) << setprecision(1) <<
ptValue() <<
" GeV "
118 <<
"eta = " << setw(6) << setprecision(3) <<
etaValue() <<
" "
119 <<
"phi = " << setw(5) << setprecision(3) <<
phiValue() <<
" rad "
120 <<
"quality = " << setw(1) <<
quality() <<
" "
121 <<
"charge_valid = " << setw(1) <<
chargeValid() <<
" "
122 <<
"fine_halo = " << setw(1) <<
isFineHalo() <<
" "
123 <<
"bx = " << setw(3) <<
bx() <<
" "
124 <<
"type_idx = " << setw(1) <<
type_idx();
137 <<
"L1MuRegionalCand::writeDataField(): value " <<
value <<
" out of range for data field with bit width "
int bx() const
return bunch crossing identifier
void setPhiPacked(unsigned phi)
Set Phi: 0..143.
void setEtaPacked(unsigned eta)
Set Eta: 6-bit code.
float etaValue() const
get eta-value of muon candidate
unsigned phi_packed() const
return phi packed as in hardware
void writeDataField(unsigned start, unsigned count, unsigned value)
static const float m_invalidValue
L1MuRegionalCand(unsigned dataword=0, int bx=0)
constructor from data word
Log< level::Warning, false > LogWarning
void setType(unsigned type)
Set Type: 0 DT, 1 bRPC, 2 CSC, 3 fRPC.
const uint32_t *__restrict__ Quality * quality
unsigned readDataField(unsigned start, unsigned count) const
virtual bool empty() const
return empty flag
float phiValue() const
get phi-value of muon candidate in radians (low edge of bin)
void setChargeValidPacked(unsigned valid)
Set Charge Valid.
int chargeValue() const
get charge
void setPtPacked(unsigned pt)
Set Pt: 0..31.
bool chargeValid() const
is the charge valid ?
Log< level::Info, true > LogVerbatim
unsigned eta_packed() const
return eta packed as in hardware
void setChargePacked(unsigned ch)
Set Charge (0=pos, 1=neg)
bool isFineHalo() const
is it fine (DT) / halo (CSC) ?
unsigned pt_packed() const
return pt packed as in hardware
float ptValue() const
get pt-value of muon candidate in GeV
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
virtual void print() const
print candidate
virtual void reset()
reset
void setFineHaloPacked(unsigned fh)
Set Fine / Halo.