#include <L1MuBMTrackSegLoc.h>
Public Member Functions | |
L1MuBMTrackSegLoc () | |
default constructor More... | |
L1MuBMTrackSegLoc (int wheel_id, int sector_id, int station_id) | |
constructor More... | |
L1MuBMTrackSegLoc (const L1MuBMTrackSegLoc &) | |
copy constructor More... | |
bool | operator!= (const L1MuBMTrackSegLoc &) const |
unequal operator More... | |
bool | operator< (const L1MuBMTrackSegLoc &) const |
less operator More... | |
L1MuBMTrackSegLoc & | operator= (const L1MuBMTrackSegLoc &) |
assignment operator More... | |
bool | operator== (const L1MuBMTrackSegLoc &) 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 | ~L1MuBMTrackSegLoc () |
destructor More... | |
Private Attributes | |
int | m_sector |
int | m_station |
int | m_wheel |
Friends | |
std::ostream & | operator<< (std::ostream &, const L1MuBMTrackSegLoc &) |
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 41 of file L1MuBMTrackSegLoc.h.
L1MuBMTrackSegLoc::L1MuBMTrackSegLoc | ( | ) |
L1MuBMTrackSegLoc::L1MuBMTrackSegLoc | ( | int | wheel_id, |
int | sector_id, | ||
int | station_id | ||
) |
L1MuBMTrackSegLoc::L1MuBMTrackSegLoc | ( | const L1MuBMTrackSegLoc & | id | ) |
|
virtual |
bool L1MuBMTrackSegLoc::operator!= | ( | const L1MuBMTrackSegLoc & | id | ) | const |
unequal operator
Definition at line 98 of file L1MuBMTrackSegLoc.cc.
References m_sector, m_station, m_wheel, sector(), station(), and wheel().
bool L1MuBMTrackSegLoc::operator< | ( | const L1MuBMTrackSegLoc & | id | ) | const |
less operator
Definition at line 111 of file L1MuBMTrackSegLoc.cc.
References sector(), station(), and wheel().
L1MuBMTrackSegLoc & L1MuBMTrackSegLoc::operator= | ( | const L1MuBMTrackSegLoc & | id | ) |
assignment operator
Definition at line 73 of file L1MuBMTrackSegLoc.cc.
References m_sector, m_station, and m_wheel.
bool L1MuBMTrackSegLoc::operator== | ( | const L1MuBMTrackSegLoc & | id | ) | const |
equal operator
Definition at line 85 of file L1MuBMTrackSegLoc.cc.
References m_sector, m_station, m_wheel, sector(), station(), and wheel().
|
inline |
return sector (30 deg)
Definition at line 59 of file L1MuBMTrackSegLoc.h.
References m_sector.
Referenced by geometryXMLparser.DTAlignable::index(), operator!=(), operator<(), operator==(), L1MuBMTrackSegPhi::phiValue(), L1MuBMTrackSegEta::sector(), and L1MuBMTrackSegPhi::sector().
|
inline |
return station
Definition at line 62 of file L1MuBMTrackSegLoc.h.
References m_station.
Referenced by geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), operator!=(), operator<(), operator==(), L1MuBMTrackSegEta::station(), and L1MuBMTrackSegPhi::station().
|
inline |
return wheel
Definition at line 56 of file L1MuBMTrackSegLoc.h.
References m_wheel.
Referenced by geometryXMLparser.DTAlignable::index(), operator!=(), operator<(), operator==(), L1MuBMTrackSegEta::wheel(), and L1MuBMTrackSegPhi::wheel().
|
friend |
output stream operator
|
private |
Definition at line 81 of file L1MuBMTrackSegLoc.h.
Referenced by operator!=(), operator=(), operator==(), and sector().
|
private |
Definition at line 82 of file L1MuBMTrackSegLoc.h.
Referenced by operator!=(), operator=(), operator==(), and station().
|
private |
Definition at line 80 of file L1MuBMTrackSegLoc.h.
Referenced by operator!=(), operator=(), operator==(), and wheel().