59 m_name(mu.m_name), m_bx(mu.m_bx), m_dataWord(mu.m_dataWord),
60 m_phiValue(mu.m_phiValue), m_etaValue(mu.m_etaValue), m_ptValue(mu.m_ptValue) {
64 m_name(
"L1MuGMTCand"), m_bx(bx) , m_dataWord(data) {
106 "L1MuGMTCand::phiValue requested physical value is invalid";
120 "L1MuGMTCand::etaValue requested physical value is invalid";
134 "L1MuRegionalCand::ptValue requested physical value is invalid";
145 if (
m_bx != cand.
m_bx )
return false;
157 if (
m_bx != cand.
m_bx )
return true;
174 << setiosflags(ios::right | ios::adjustfield | ios::showpoint | ios::fixed)
175 <<
"bx = " << setw(2) <<
bx() <<
" " << endl
176 <<
"pt(index) = " << setw(2) <<
ptIndex() <<
" "
177 <<
"charge = " << setw(2) <<
charge() <<
" "
178 <<
"eta(index) = " << setw(2) <<
etaIndex() <<
" "
179 <<
"phi(index) = " << setw(3) <<
phiIndex() <<
" "
180 <<
"quality = " << setw(1) <<
quality() <<
" "
181 <<
"isolated = " << setw(1) <<
isol() <<
" "
182 <<
"mip = " << setw(1) <<
mip() << endl;
185 << setiosflags(ios::right | ios::adjustfield | ios::showpoint | ios::fixed)
186 <<
"bx = " << setw(2) <<
bx() <<
" " << endl
187 <<
"pt = " << setw(5) << setprecision(1) <<
ptValue() <<
" GeV "
188 <<
"charge = " << setw(2) <<
charge() <<
" "
189 <<
"eta = " << setw(5) << setprecision(2) <<
etaValue() <<
" "
190 <<
"phi = " << setw(5) << setprecision(3) <<
phiValue() <<
" rad "
191 <<
"quality = " << setw(1) <<
quality() <<
" "
192 <<
"isolated = " << setw(1) <<
isol() <<
" "
193 <<
"mip = " << setw(1) <<
mip() << endl;
206 s << setiosflags(ios::showpoint | ios::fixed)
207 <<
"bx = " << setw(2) <<
id.bx() <<
" "
208 <<
"pt = " << setw(5) << setprecision(1) <<
id.ptValue() <<
" GeV "
209 <<
"charge = " << setw(2) <<
id.charge() <<
" "
210 <<
"eta = " << setw(5) << setprecision(2) <<
id.etaValue() <<
" "
211 <<
"phi = " << setw(5) << setprecision(3) <<
id.phiValue() <<
" rad "
212 <<
"quality = " << setw(1) <<
id.quality() <<
" "
213 <<
"isolated = " << setw(1) <<
id.isol() <<
" "
214 <<
"mip = " << setw(1) <<
id.mip() <<
" ";
unsigned int phiIndex() const
get phi-code
void reset()
reset muon candidate
bool operator!=(const L1MuGMTCand &) const
unequal operator
unsigned int etaIndex() const
get eta-code
std::ostream & operator<<(std::ostream &out, const ALILine &li)
bool isol() const
get isolation
bool empty() const
is it an empty muon candidate?
static const float m_invalidValue
int bx() const
get bunch crossing identifier
unsigned int quality() const
get quality
char data[epos_bytes_allocation]
bool operator==(const L1MuGMTCand &) const
equal operator
virtual ~L1MuGMTCand()
destructor
unsigned int ptIndex() const
get pt-code
void print() const
print parameters of muon candidate
int charge() const
get charge (+1 -1)