1 #ifndef SIMPLEL1MU_GMT_CAND_H 2 #define SIMPLEL1MU_GMT_CAND_H 61 inline unsigned int phi()
const {
return m_phi; }
64 inline unsigned int eta()
const {
return m_eta; }
67 inline unsigned int pt()
const {
return m_pt; }
70 inline int charge()
const {
return m_charge; }
73 inline unsigned int rank()
const {
return m_rank; }
76 inline bool empty()
const {
return m_empty; }
79 inline void enable() { m_empty =
false; }
85 void setPhi(
float phi);
88 void setEta(
float eta);
94 void setCharge(
int charge);
97 inline void setRank(
unsigned int rank) { m_rank = rank; }
106 inline unsigned int quality()
const {
return m_quality; }
136 unsigned int rank_f = (
first) ? first->
rank(): 0;
137 unsigned int rank_s = (
second) ? second->
rank() : 0;
138 return rank_f > rank_s;
142 static const float etaScale[63];
143 static const float phiScale[144];
void setRank(unsigned int rank)
set rank
unsigned int eta() const
get eta-code
unsigned int rank() const
get rank
unsigned int phiRegionIndex() const
void enable()
enable muon candidate
int charge() const
get charge
std::ostream & operator<<(std::ostream &out, const ALILine &li)
S & print(S &os, JobReport::InputFile const &f)
U second(std::pair< T, U > const &p)
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
unsigned int pt() const
get pt-code
math::XYZTLorentzVector LorentzVector
bool operator==(const QGLikelihoodParameters &lhs, const QGLikelihoodCategory &rhs)
Test if parameters are compatible with category.
bool empty() const
is it an empty muon candidate?
float smearedPt() const
return the smeared L1 Pt value before discretization in 32-bit
bool operator!=(debugging_allocator< X > const &, debugging_allocator< Y > const &) noexcept
std::string name() const
get name of object
void disable()
disable muon candidate
unsigned int quality() const
get quality (not implemented for FAMOS)
const LorentzVector getMomentum() const
const std::vector< double > ptScale
unsigned int etaRegionIndex() const
void setMomentum(const LorentzVector &m)
unsigned int phi() const
get phi-code
void reset(double vett[256])
bool getRank(const SimpleL1MuGMTCand *first, const SimpleL1MuGMTCand *second) const
define a rank for muon candidates
unsigned int linearizedPt(float lsbValue, unsigned maxScale) const
nevermind this one