19 #ifndef DataFormatsL1GlobalMuonTrigger_L1MuGMTCand_h 20 #define DataFormatsL1GlobalMuonTrigger_L1MuGMTCand_h
void setPtPacked(unsigned pt)
set packed pt-code of muon candidate
bool isol() const
get isolation
void writeDataField(unsigned start, unsigned count, unsigned value)
void setMIP(bool mip)
set min ionizing bit for muon candidate
unsigned int etaRegionIndex() const
void print() const
print parameters of muon candidate
unsigned int linearizedPt(float lsbValue, unsigned maxScale) const
bool useInSingleMuonTrigger() const
interpretation of quality code: is the candidate to be used in a single muon trigger ...
void reset()
reset muon candidate
unsigned int ptIndex() const
get pt-code
int bx() const
get bunch crossing identifier
unsigned int phiRegionIndex() const
friend std::ostream & operator<<(std::ostream &, const L1MuGMTCand &)
output stream operator
bool operator!=(const L1MuGMTCand &) const
unequal operator
unsigned int quality() const
get quality
bool charge_valid() const
is the charge valid ?
static const float m_invalidValue
unsigned readDataField(unsigned start, unsigned count) const
void setPhiValue(float phiVal)
Setters for physical values.
L1MuGMTCand & operator=(const L1MuGMTCand &)=default
assignment operator
unsigned int phiIndex() const
get phi-code
void setBx(int bx)
set bunch crossing identifier
int charge() const
get charge (+1 -1)
bool empty() const
is it an empty muon candidate?
void setChargePacked(unsigned ch)
set packed charge/synchronization word of muon candidate (0=POS, 1=NEG, 2=UNDEF, 3=SYNC) ...
bool isHaloCand() const
interpretation of quality code: is the candidate a beam halo muon ?
unsigned sysign() const
get charge/synchronization word (0=POS, 1=NEG, 2=UNDEF, 3=SYNC)
void setQuality(unsigned quality)
set quality of muon candidate
bool useInDiMuonTrigger() const
interpretation of quality code: is the candidate to be used in a di-muon trigger ?
void setEtaPacked(unsigned eta)
set packed eta-code of muon candidate
void setEtaValue(float etaVal)
Set Eta Value (need to set type, first)
std::string name() const
get name of object
bool isSyncWord() const
is the candidate a sync word
char data[epos_bytes_allocation]
bool isMatchedCand() const
interpretation of quality code: is the candidate a matched candidate ?
unsigned getDataWord() const
get muon data word
unsigned int etaIndex() const
get eta-code
void setPtValue(float ptVal)
Set Pt Value.
virtual ~L1MuGMTCand()
destructor
bool operator==(const L1MuGMTCand &) const
equal operator
void setPhiPacked(unsigned phi)
set packed phi-code of muon candidate
void setIsolation(bool isol)
set isolation of muon candidate