45 : m_location(), m_phi(0), m_phib(0), m_quality(
Null), m_tag(
false), m_bx(0), m_etaFlag(
false) {}
49 : m_location(wheel_id, sector_id, station_id),
56 if (phi < -2048 || phi > 2047) {
59 if (phib < -512 || phib > 511) {
69 : m_location(
id), m_phi(
phi), m_phib(phib), m_quality(
quality), m_tag(
tag), m_bx(
bx), m_etaFlag(etaFlag) {
70 if (phi < -2048 || phi > 2047) {
73 if (phib < -512 || phib > 511) {
82 : m_location(
id.m_location),
85 m_quality(
id.m_quality),
88 m_etaFlag(
id.m_etaFlag) {}
116 tmp +=
static_cast<double>(
m_phi) / 4096;
197 return s <<
"unknown TS phi Quality ";
205 s.setf(ios::right, ios::adjustfield);
206 s << (
id.m_location) <<
"\t" 207 <<
"phi : " << setw(5) <<
id.m_phi <<
" " 208 <<
"phib : " << setw(4) <<
id.m_phib <<
" " 209 <<
"quality : " << setw(4) <<
id.m_quality;
virtual ~L1MuDTTrackSegPhi()
destructor
void reset()
reset phi track segment
ostream & operator<<(ostream &s, const L1MuDTTrackSegPhi::TSQuality &quality)
bool operator==(const L1MuDTTrackSegPhi &) const
equal operator
double phibValue() const
return phib-value in global coordinates [0,2pi]
int sector() const
return sector (30 deg)
bool operator!=(const L1MuDTTrackSegPhi &) const
unequal operator
int quality() const
return quality code
TSQuality
quality code of DTBX phi track segments
L1MuDTTrackSegPhi()
default constructor
L1MuDTTrackSegLoc m_location
L1MuDTTrackSegPhi & operator=(const L1MuDTTrackSegPhi &)
assignment operator
double phiValue() const
return phi-value in global coordinates [0,2pi]