45 m_location(), m_phi(0), m_phib(0), m_quality(
Null), m_bx(0) {}
126 tmp +=
static_cast<double>(
m_phi)/4096;
127 return (tmp > 0 ) ? tmp : (2*
M_PI +
tmp);
137 return static_cast<double>(
m_phib)/512;
170 if (
m_bx !=
id.
m_bx )
return false;
206 return s <<
"unknown TS phi Quality ";
217 s.setf(ios::right,ios::adjustfield);
218 s << (
id.m_location) <<
"\t" 219 <<
"phi : " << setw(5) <<
id.m_phi <<
" " 220 <<
"phib : " << setw(4) <<
id.m_phib <<
" " 221 <<
"quality : " << setw(4) <<
id.m_quality;
L1MuBMTrackSegLoc m_location
bool operator!=(const L1MuBMTrackSegPhi &) const
unequal operator
int tag() const
return tag (second TS tag)
bool operator==(const L1MuBMTrackSegPhi &) const
equal operator
friend std::ostream & operator<<(std::ostream &, const TSQuality &)
overload output stream operator for phi track segment quality
double phiValue() const
return phi-value in global coordinates [0,2pi]
int phib() const
return phib
int sector() const
return sector (30 deg)
L1MuBMTrackSegPhi()
default constructor
int bx() const
return bunch crossing
void reset()
reset phi track segment
L1MuBMTrackSegPhi & operator=(const L1MuBMTrackSegPhi &)
assignment operator
int phi() const
return phi
TSQuality
quality code of BBMX phi track segments
bool etaFlag() const
return eta flag
std::vector< std::vector< double > > tmp
double phibValue() const
return phib-value in global coordinates [0,2pi]
virtual ~L1MuBMTrackSegPhi()
destructor
int quality() const
return quality code