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