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