57 m_name(mu.m_name), m_bx(mu.m_bx), m_dataWord(mu.m_dataWord),
58 m_phiValue(mu.m_phiValue), m_etaValue(mu.m_etaValue), m_ptValue(mu.m_ptValue) {
62 m_name(
"L1MuGMTCand"), m_bx(bx) , m_dataWord(data) {
104 "L1MuGMTCand::phiValue requested physical value is invalid";
118 "L1MuGMTCand::etaValue requested physical value is invalid";
132 "L1MuRegionalCand::ptValue requested physical value is invalid";
143 if (
m_bx != cand.
m_bx )
return false;
155 if (
m_bx != cand.
m_bx )
return true;
172 << setiosflags(ios::right | ios::adjustfield | ios::showpoint | ios::fixed)
173 <<
"bx = " << setw(2) <<
bx() <<
" " << endl
174 <<
"pt(index) = " << setw(2) <<
ptIndex() <<
" "
175 <<
"charge = " << setw(2) <<
charge() <<
" "
176 <<
"eta(index) = " << setw(2) <<
etaIndex() <<
" "
177 <<
"phi(index) = " << setw(3) <<
phiIndex() <<
" "
178 <<
"quality = " << setw(1) <<
quality() <<
" "
179 <<
"isolated = " << setw(1) <<
isol() <<
" "
180 <<
"mip = " << setw(1) <<
mip() << endl;
183 << setiosflags(ios::right | ios::adjustfield | ios::showpoint | ios::fixed)
184 <<
"bx = " << setw(2) <<
bx() <<
" " << endl
185 <<
"pt = " << setw(5) << setprecision(1) <<
ptValue() <<
" GeV "
186 <<
"charge = " << setw(2) <<
charge() <<
" "
187 <<
"eta = " << setw(5) << setprecision(2) <<
etaValue() <<
" "
188 <<
"phi = " << setw(5) << setprecision(3) <<
phiValue() <<
" rad "
189 <<
"quality = " << setw(1) <<
quality() <<
" "
190 <<
"isolated = " << setw(1) <<
isol() <<
" "
191 <<
"mip = " << setw(1) <<
mip() << endl;
204 s << setiosflags(ios::showpoint | ios::fixed)
205 <<
"bx = " << setw(2) <<
id.bx() <<
" "
206 <<
"pt = " << setw(5) << setprecision(1) <<
id.ptValue() <<
" GeV "
207 <<
"charge = " << setw(2) <<
id.charge() <<
" "
208 <<
"eta = " << setw(5) << setprecision(2) <<
id.etaValue() <<
" "
209 <<
"phi = " << setw(5) << setprecision(3) <<
id.phiValue() <<
" rad "
210 <<
"quality = " << setw(1) <<
id.quality() <<
" "
211 <<
"isolated = " << setw(1) <<
id.isol() <<
" "
212 <<
"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)