![]() |
ATLAS Offline Software
|
Coordinate class declaration. More...
#include <Coordinate.h>
Public Member Functions | |
| Coordinate (double phi, double eta) | |
| Coordinate () | |
| virtual | ~Coordinate ()=default |
| void | setCoords (double phi, double eta) |
| change coords of an existing Coordinate object | |
| double | eta () const |
| return eta | |
| double | phi () const |
| return phi | |
Protected Member Functions | |
| void | checkBounds () |
| Ensure coords are sensible this could be done more intelligently, but at least it's readable! | |
Private Attributes | |
| double | m_phi |
| double | m_eta |
Static Private Attributes | |
| static const double | m_twoPi = M_PI * 2.0 |
Friends | |
| std::ostream & | operator<< (std::ostream &theStream, const Coordinate &theCoord) |
| overload << operator so coordinate can be easily displayed... i.e. | |
| MsgStream & | operator<< (MsgStream &theStream, const Coordinate &theCoord) |
Coordinate class declaration.
Simple class defining an eta–phi coordinate in the detector.
Definition at line 45 of file TrigT1/TrigT1Interfaces/TrigT1Interfaces/Coordinate.h.
| LVL1::Coordinate::Coordinate | ( | double | phi, |
| double | eta ) |
Definition at line 19 of file Coordinate.cxx.
| LVL1::Coordinate::Coordinate | ( | ) |
Definition at line 25 of file Coordinate.cxx.
|
virtualdefault |
|
protected |
Ensure coords are sensible this could be done more intelligently, but at least it's readable!
Definition at line 52 of file Coordinate.cxx.
| double LVL1::Coordinate::eta | ( | ) | const |
| double LVL1::Coordinate::phi | ( | ) | const |
| void LVL1::Coordinate::setCoords | ( | double | phi, |
| double | eta ) |
change coords of an existing Coordinate object
Definition at line 31 of file Coordinate.cxx.
|
friend |
|
friend |
overload << operator so coordinate can be easily displayed... i.e.
cout << coord
|
private |
Definition at line 66 of file TrigT1/TrigT1Interfaces/TrigT1Interfaces/Coordinate.h.
|
private |
Definition at line 65 of file TrigT1/TrigT1Interfaces/TrigT1Interfaces/Coordinate.h.
Definition at line 67 of file TrigT1/TrigT1Interfaces/TrigT1Interfaces/Coordinate.h.