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; }
68 inline int charge()
const {
return m_charge; }
71 inline unsigned int rank()
const {
return m_rank; }
74 inline bool empty()
const {
return m_empty; }
77 inline void enable() { m_empty =
false; }
83 void setPhi(
float phi);
86 void setEta(
float eta);
92 void setCharge(
int charge);
95 inline void setRank(
unsigned int rank) { m_rank = rank; }
104 inline unsigned int quality()
const {
return m_quality; }
134 unsigned int rank_f = (
first) ? first->
rank() : 0;
135 unsigned int rank_s = (
second) ? second->
rank() : 0;
136 return rank_f > rank_s;
140 static const float etaScale[63];
141 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
std::string name() const
get name of object
void disable()
disable muon candidate
bool operator!=(DTCELinkId const &lhs, DTCELinkId const &rhs)
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