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;
117 return (tmp > 0) ? tmp : (2 *
M_PI +
tmp);
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
bool operator!=(const L1MuDTTrackSegPhi &) const
unequal operator
uint32_t const *__restrict__ Quality * quality
int sector() const
return sector (30 deg)
void reset()
reset phi track segment
std::ostream & operator<<(std::ostream &out, const ALILine &li)
double phiValue() const
return phi-value in global coordinates [0,2pi]
bool operator==(const L1MuDTTrackSegPhi &) const
equal operator
TSQuality
quality code of DTBX phi track segments
L1MuDTTrackSegPhi()
default constructor
double phibValue() const
return phib-value in global coordinates [0,2pi]
L1MuDTTrackSegLoc m_location
L1MuDTTrackSegPhi & operator=(const L1MuDTTrackSegPhi &)
assignment operator