#include <L1MuDTTrackSegLoc.h>
Public Member Functions | |
L1MuDTTrackSegLoc () | |
default constructor | |
L1MuDTTrackSegLoc (int wheel_id, int sector_id, int station_id) | |
constructor | |
L1MuDTTrackSegLoc (const L1MuDTTrackSegLoc &) | |
copy constructor | |
bool | operator!= (const L1MuDTTrackSegLoc &) const |
unequal operator | |
bool | operator< (const L1MuDTTrackSegLoc &) const |
less operator | |
L1MuDTTrackSegLoc & | operator= (const L1MuDTTrackSegLoc &) |
assignment operator | |
bool | operator== (const L1MuDTTrackSegLoc &) const |
equal operator | |
int | sector () const |
return sector (30 deg) | |
int | station () const |
return station | |
int | wheel () const |
return wheel | |
virtual | ~L1MuDTTrackSegLoc () |
destructor | |
Private Attributes | |
int | m_sector |
int | m_station |
int | m_wheel |
Friends | |
std::ostream & | operator<< (std::ostream &, const L1MuDTTrackSegLoc &) |
output stream operator |
Logical location of a Track Segment:
The location of a track segment is given by a triple (wheel, sector, station) with wheel: -3, -2, -1, 0, +1, +2, +3 ( -3, +3 : are forward- and backward-endcaps),
sector: 0-11 (30 deg sectors!)
station: 1-5 (station 5=ME13)
N. Neumeister CERN EP
Definition at line 44 of file L1MuDTTrackSegLoc.h.
L1MuDTTrackSegLoc::L1MuDTTrackSegLoc | ( | ) |
default constructor
Definition at line 45 of file L1MuDTTrackSegLoc.cc.
L1MuDTTrackSegLoc::L1MuDTTrackSegLoc | ( | int | wheel_id, |
int | sector_id, | ||
int | station_id | ||
) |
L1MuDTTrackSegLoc::L1MuDTTrackSegLoc | ( | const L1MuDTTrackSegLoc & | id | ) |
L1MuDTTrackSegLoc::~L1MuDTTrackSegLoc | ( | ) | [virtual] |
bool L1MuDTTrackSegLoc::operator!= | ( | const L1MuDTTrackSegLoc & | id | ) | const |
bool L1MuDTTrackSegLoc::operator< | ( | const L1MuDTTrackSegLoc & | id | ) | const |
less operator
Definition at line 125 of file L1MuDTTrackSegLoc.cc.
L1MuDTTrackSegLoc & L1MuDTTrackSegLoc::operator= | ( | const L1MuDTTrackSegLoc & | id | ) |
bool L1MuDTTrackSegLoc::operator== | ( | const L1MuDTTrackSegLoc & | id | ) | const |
int L1MuDTTrackSegLoc::sector | ( | void | ) | const [inline] |
return sector (30 deg)
Definition at line 66 of file L1MuDTTrackSegLoc.h.
References m_sector.
Referenced by operator!=(), operator<(), operator==(), L1MuDTTrackSegPhi::phiValue(), L1MuDTTrackSegEta::sector(), and L1MuDTTrackSegPhi::sector().
{ return m_sector; }
int L1MuDTTrackSegLoc::station | ( | ) | const [inline] |
return station
Definition at line 69 of file L1MuDTTrackSegLoc.h.
References m_station.
Referenced by operator!=(), operator<(), operator==(), L1MuDTTrackSegEta::station(), and L1MuDTTrackSegPhi::station().
{ return m_station; }
int L1MuDTTrackSegLoc::wheel | ( | ) | const [inline] |
return wheel
Definition at line 63 of file L1MuDTTrackSegLoc.h.
References m_wheel.
Referenced by operator!=(), operator<(), operator==(), L1MuDTTrackSegEta::wheel(), and L1MuDTTrackSegPhi::wheel().
{ return m_wheel; }
std::ostream& operator<< | ( | std::ostream & | , |
const L1MuDTTrackSegLoc & | |||
) | [friend] |
output stream operator
int L1MuDTTrackSegLoc::m_sector [private] |
Definition at line 89 of file L1MuDTTrackSegLoc.h.
Referenced by operator!=(), operator=(), operator==(), and sector().
int L1MuDTTrackSegLoc::m_station [private] |
Definition at line 90 of file L1MuDTTrackSegLoc.h.
Referenced by operator!=(), operator=(), operator==(), and station().
int L1MuDTTrackSegLoc::m_wheel [private] |
Definition at line 88 of file L1MuDTTrackSegLoc.h.
Referenced by operator!=(), operator=(), operator==(), and wheel().