Coordinate class declaration.
More...
#include <Coordinate.h>
|
void | checkBounds () |
| Ensure coords are sensible this could be done more intelligently, but at least it's readable! More...
|
|
Coordinate class declaration.
Simple class defining an eta–phi coordinate in the detector.
- Revision
- 782811
- Date
- 2016-11-07 18:20:40 +0100 (Mon, 07 Nov 2016)
Definition at line 50 of file TrigT1/TrigT1Interfaces/TrigT1Interfaces/Coordinate.h.
◆ Coordinate() [1/2]
LVL1::Coordinate::Coordinate |
( |
double |
phi, |
|
|
double |
eta |
|
) |
| |
◆ Coordinate() [2/2]
LVL1::Coordinate::Coordinate |
( |
| ) |
|
◆ ~Coordinate()
virtual LVL1::Coordinate::~Coordinate |
( |
| ) |
|
|
virtualdefault |
◆ checkBounds()
void LVL1::Coordinate::checkBounds |
( |
| ) |
|
|
protected |
Ensure coords are sensible this could be done more intelligently, but at least it's readable!
- Todo:
- Tidy up and finish
Definition at line 57 of file Coordinate.cxx.
◆ eta()
double LVL1::Coordinate::eta |
( |
| ) |
const |
◆ phi()
double LVL1::Coordinate::phi |
( |
| ) |
const |
◆ setCoords()
void LVL1::Coordinate::setCoords |
( |
double |
phi, |
|
|
double |
eta |
|
) |
| |
◆ operator<< [1/2]
MsgStream& operator<< |
( |
MsgStream & |
theStream, |
|
|
const Coordinate & |
theCoord |
|
) |
| |
|
friend |
◆ operator<< [2/2]
std::ostream& operator<< |
( |
std::ostream & |
theStream, |
|
|
const Coordinate & |
theCoord |
|
) |
| |
|
friend |
overload << operator so coordinate can be easily displayed...
i.e. cout << coord
◆ m_eta
double LVL1::Coordinate::m_eta |
|
private |
◆ m_phi
double LVL1::Coordinate::m_phi |
|
private |
◆ m_twoPi
const double LVL1::Coordinate::m_twoPi = M_PI * 2.0 |
|
staticprivate |
The documentation for this class was generated from the following files: