4#ifndef L0MuonInterface_ICANDDATA_H
5#define L0MuonInterface_ICANDDATA_H
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
uint16_t m_eta
theta coordinate of the candidate
static constexpr float s_phiRange
static constexpr float s_etaRange
variables range
void setThreshold(float threshold)
static constexpr uint16_t s_phiBitRange
void setCharge(uint8_t charge)
uint16_t subdetectorId() const
uint8_t threshold() const
static constexpr float s_ptRange
uint8_t m_charge
charge ( 0=negative, 1=positive)
uint16_t m_pt
pt of the candidate
void setEta(float eta)
Set functions of the modifiable parameters.
ICandData(uint16_t subdetectorId, uint16_t sectorId, uint16_t bcTag)
static constexpr uint16_t s_etaBitRange
variables bit size 14 bits for eta, 9 bits for phi, 8 bits for pt
uint16_t m_sectorId
sector number
float eta() const
get the kinematic parameters
uint16_t m_phi
phi coordinate of the candidate
virtual ~ICandData()=default
uint8_t m_mdtFlag
MDT flag.
uint8_t m_threshold
threshold
static constexpr uint16_t s_ptBitRange
void setMdtFlag(uint8_t mdtFlag)
uint16_t sectorId() const