Go to the documentation of this file. 1 #ifndef SIMPLEL1MU_GMT_CAND_H
2 #define SIMPLEL1MU_GMT_CAND_H
59 inline unsigned int phi()
const {
return m_phi; }
62 inline unsigned int eta()
const {
return m_eta; }
65 inline unsigned int pt()
const {
return m_pt; }
134 unsigned int rank_f = (
first) ?
first->rank() : 0;
136 return rank_f > rank_s;
unsigned int etaIndex() const
get eta-code
bool getRank(const SimpleL1MuGMTCand *first, const SimpleL1MuGMTCand *second) const
define a rank for muon candidates
void print() const
print parameters of muon candidate
void setRank(unsigned int rank)
set rank
U second(std::pair< T, U > const &p)
SimpleL1MuGMTCand & operator=(const SimpleL1MuGMTCand &)
assignment operator
void enable()
enable muon candidate
static const float etaScale[63]
void setCharge(int charge)
set charge and packed code of muon candidate
int charge() const
get charge
unsigned int eta() const
get eta-code
bool operator==(const SimpleL1MuGMTCand &) const
equal operator
math::XYZTLorentzVector LorentzVector
std::string name() const
get name of object
unsigned int phiRegionIndex() const
void reset()
reset muon candidate
unsigned int etaRegionIndex() const
~SimpleL1MuGMTCand() override
destructor
bool operator!=(const SimpleL1MuGMTCand &) const
unequal operator
unsigned int rank() const
get rank
void disable()
disable muon candidate
void setEta(float eta)
set eta-value and packed code of muon candidate
friend std::ostream & operator<<(std::ostream &, const SimpleL1MuGMTCand &)
output stream operator
const LorentzVector getMomentum() const
static const float ptScale[32]
void setPt(float pt)
set pt-value and packed code of muon candidate
unsigned int phi() const
get phi-code
unsigned int phiIndex() const
get phi-code
unsigned int pt() const
get pt-code
bool empty() const
is it an empty muon candidate?
void setPhi(float phi)
set phi-value and packed code of muon candidate
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
unsigned int quality() const
get quality (not implemented for FAMOS)
unsigned int linearizedPt(float lsbValue, unsigned maxScale) const
nevermind this one
SimpleL1MuGMTCand()
constructor
float smearedPt() const
return the smeared L1 Pt value before discretization in 32-bit
void setMomentum(const LorentzVector &m)
static const float phiScale[144]