47 m_location(), m_phi(0), m_phib(0), m_quality(
Null), m_bx(0) {}
54 m_location(wheel_id, sector_id, station_id),
55 m_phi(phi), m_phib(phib), m_quality(quality), m_bx(bx), m_etaFlag(etaFlag) {
57 if ( phi < -2048 || phi > 2047 ) {
60 if ( phib < -512 || phib > 511 ) {
74 m_location(id), m_phi(phi), m_phib(phib),
75 m_quality(quality), m_tag(tag), m_bx(bx), m_etaFlag(etaFlag) {
77 if ( phi < -2048 || phi > 2047 ) {
80 if ( phib < -512 || phib > 511 ) {
91 m_location(id.m_location),
92 m_phi(id.m_phi), m_phib(id.m_phib), m_quality(id.m_quality),
93 m_tag(id.m_tag), m_bx(id.m_bx), m_etaFlag(id.m_etaFlag) {}
128 tmp +=
static_cast<double>(
m_phi)/4096;
129 return (tmp > 0 ) ? tmp : (2*
M_PI +
tmp);
139 return static_cast<double>(
m_phib)/512;
172 if (
m_bx !=
id.
m_bx )
return false;
208 return s <<
"unknown TS phi Quality ";
219 s.setf(ios::right,ios::adjustfield);
220 s << (
id.m_location) <<
"\t"
221 <<
"phi : " << setw(5) <<
id.m_phi <<
" "
222 <<
"phib : " << setw(4) <<
id.m_phib <<
" "
223 <<
"quality : " << setw(4) <<
id.m_quality;
virtual ~L1MuDTTrackSegPhi()
destructor
bool operator!=(const L1MuDTTrackSegPhi &) const
unequal operator
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]
std::vector< std::vector< double > > tmp
L1MuDTTrackSegLoc m_location
L1MuDTTrackSegPhi & operator=(const L1MuDTTrackSegPhi &)
assignment operator