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; }
135 class Rank : std::binary_function< const SimpleL1MuGMTCand*, const SimpleL1MuGMTCand*, bool> {
138 unsigned int rank_f = (
first) ? first->
rank(): 0;
139 unsigned int rank_s = (
second) ? second->
rank() : 0;
140 return rank_f > rank_s;
145 static const float etaScale[63];
146 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
std::string print(const Track &, edm::Verbosity=edm::Concise)
Track print utility.
void enable()
enable muon candidate
int charge() const
get charge
std::ostream & operator<<(std::ostream &out, const ALILine &li)
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.
define a rank for muon candidates
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
bool operator()(const SimpleL1MuGMTCand *first, const SimpleL1MuGMTCand *second) const
void reset(double vett[256])
unsigned int linearizedPt(float lsbValue, unsigned maxScale) const
nevermind this one