#include <L1MuDTTrackSegLoc.h>
Public Member Functions | |
L1MuDTTrackSegLoc () | |
default constructor More... | |
L1MuDTTrackSegLoc (int wheel_id, int sector_id, int station_id) | |
constructor More... | |
L1MuDTTrackSegLoc (const L1MuDTTrackSegLoc &) | |
copy constructor More... | |
bool | operator!= (const L1MuDTTrackSegLoc &) const |
unequal operator More... | |
bool | operator< (const L1MuDTTrackSegLoc &) const |
less operator More... | |
L1MuDTTrackSegLoc & | operator= (const L1MuDTTrackSegLoc &) |
assignment operator More... | |
bool | operator== (const L1MuDTTrackSegLoc &) const |
equal operator More... | |
int | sector () const |
return sector (30 deg) More... | |
int | station () const |
return station More... | |
int | wheel () const |
return wheel More... | |
virtual | ~L1MuDTTrackSegLoc () |
destructor More... | |
Private Attributes | |
int | m_sector |
int | m_station |
int | m_wheel |
Friends | |
std::ostream & | operator<< (std::ostream &, const L1MuDTTrackSegLoc &) |
output stream operator More... | |
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 | ( | ) |
L1MuDTTrackSegLoc::L1MuDTTrackSegLoc | ( | int | wheel_id, |
int | sector_id, | ||
int | station_id | ||
) |
L1MuDTTrackSegLoc::L1MuDTTrackSegLoc | ( | const L1MuDTTrackSegLoc & | id | ) |
|
virtual |
bool L1MuDTTrackSegLoc::operator!= | ( | const L1MuDTTrackSegLoc & | id | ) | const |
unequal operator
Definition at line 112 of file L1MuDTTrackSegLoc.cc.
References m_sector, m_station, m_wheel, sector(), station(), and wheel().
bool L1MuDTTrackSegLoc::operator< | ( | const L1MuDTTrackSegLoc & | id | ) | const |
less operator
Definition at line 125 of file L1MuDTTrackSegLoc.cc.
References sector(), station(), and wheel().
L1MuDTTrackSegLoc & L1MuDTTrackSegLoc::operator= | ( | const L1MuDTTrackSegLoc & | id | ) |
assignment operator
Definition at line 84 of file L1MuDTTrackSegLoc.cc.
References m_sector, m_station, and m_wheel.
bool L1MuDTTrackSegLoc::operator== | ( | const L1MuDTTrackSegLoc & | id | ) | const |
equal operator
Definition at line 99 of file L1MuDTTrackSegLoc.cc.
References m_sector, m_station, m_wheel, sector(), station(), and wheel().
|
inline |
return sector (30 deg)
Definition at line 66 of file L1MuDTTrackSegLoc.h.
References m_sector.
Referenced by geometryXMLparser.DTAlignable::index(), operator!=(), operator<(), operator==(), L1MuDTTrackSegPhi::phiValue(), L1MuDTTrackSegEta::sector(), and L1MuDTTrackSegPhi::sector().
|
inline |
return station
Definition at line 69 of file L1MuDTTrackSegLoc.h.
References m_station.
Referenced by geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), operator!=(), operator<(), operator==(), L1MuDTTrackSegEta::station(), and L1MuDTTrackSegPhi::station().
|
inline |
return wheel
Definition at line 63 of file L1MuDTTrackSegLoc.h.
References m_wheel.
Referenced by geometryXMLparser.DTAlignable::index(), operator!=(), operator<(), operator==(), L1MuDTTrackSegEta::wheel(), and L1MuDTTrackSegPhi::wheel().
|
friend |
output stream operator
|
private |
Definition at line 89 of file L1MuDTTrackSegLoc.h.
Referenced by operator!=(), operator=(), operator==(), and sector().
|
private |
Definition at line 90 of file L1MuDTTrackSegLoc.h.
Referenced by operator!=(), operator=(), operator==(), and station().
|
private |
Definition at line 88 of file L1MuDTTrackSegLoc.h.
Referenced by operator!=(), operator=(), operator==(), and wheel().