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!
|
|
| 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.
- Revision
- 782811
- Date
- 2016-11-07 18:20:40 +0100 (Mon, 07 Nov 2016)
Definition at line 45 of file TrigT1/TrigT1Interfaces/TrigT1Interfaces/Coordinate.h.
◆ Coordinate() [1/2]
| LVL1::Coordinate::Coordinate |
( |
double | phi, |
|
|
double | eta ) |
Definition at line 19 of file Coordinate.cxx.
21
23 }
void checkBounds()
Ensure coords are sensible this could be done more intelligently, but at least it's readable!
double phi() const
return phi
double eta() const
return 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 52 of file Coordinate.cxx.
52 {
55 return;
56 }
static const double m_twoPi
◆ 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: