Go to the documentation of this file.
15 #ifndef DataFormatsL1GlobalMuonTrigger_L1MuRegionalCand_h
16 #define DataFormatsL1GlobalMuonTrigger_L1MuRegionalCand_h
163 virtual void reset();
169 virtual void print()
const;
int bx() const
return bunch crossing identifier
void setPhiPacked(unsigned phi)
Set Phi: 0..143.
void setPtValue(float ptVal)
Set Pt Value.
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 setFineHalo(bool fh)
Set Fine / Halo.
void setPhiValue(float phiVal)
Set Phi Value.
void writeDataField(unsigned start, unsigned count, unsigned value)
static const float m_invalidValue
L1MuRegionalCand(unsigned dataword=0, int bx=0)
constructor from data word
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.
void setEtaValue(float etaVal)
Set Eta Value (need to set type, first)
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.
void setChargeValue(int charge)
Set Charge Value: -1, 1.
void setDataWord(unsigned dataword)
Set data word.
int chargeValue() const
get charge
void setPtPacked(unsigned pt)
Set Pt: 0..31.
virtual ~L1MuRegionalCand()
destructor
bool chargeValid() const
is the charge valid ?
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 finehalo_packed() const
return eta-fine (for DT) / halo (for CSC) bit
unsigned pt_packed() const
return pt packed as in hardware
void setChargeValid(bool valid)
Set Charge Valid.
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
unsigned charge_packed() const
return charge packed as in hardware (0=pos, 1=neg)
void setFineHaloPacked(unsigned fh)
Set Fine / Halo.