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