![]() |
ATLAS Offline Software
|
CoordinateRange class declaration. More...
#include <CoordinateRange.h>
Public Member Functions | |
| CoordinateRange (double phiMin, double phiMax, double etaMin, double etaMax) | |
| CoordinateRange () | |
| virtual | ~CoordinateRange ()=default |
| void | setRanges (double phiMin, double phiMax, double etaMin, double etaMax) |
| change coords of an existing CoordinateRange object | |
| PhiRange | phiRange () const |
| Range | etaRange () const |
| bool | contains (Coordinate &coord) const |
| returns true if the coordinate falls inside the coordinate range | |
| 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 Member Functions | |
| void | setCentre () |
| calculates the centre of the ranges and sets the phi,eta coords to that | |
Private Attributes | |
| PhiRange | m_phiRange |
| Range | m_etaRange |
| double | m_phi |
| double | m_eta |
Static Private Attributes | |
| static const double | m_twoPi = M_PI * 2.0 |
CoordinateRange class declaration.
Class defining a "window" in eta–phi space.
Definition at line 31 of file CoordinateRange.h.
| LVL1::CoordinateRange::CoordinateRange | ( | double | phiMin, |
| double | phiMax, | ||
| double | etaMin, | ||
| double | etaMax ) |
Definition at line 15 of file CoordinateRange.cxx.
| LVL1::CoordinateRange::CoordinateRange | ( | ) |
Definition at line 22 of file CoordinateRange.cxx.
|
virtualdefault |
|
protectedinherited |
Ensure coords are sensible this could be done more intelligently, but at least it's readable!
Definition at line 52 of file Coordinate.cxx.
| bool LVL1::CoordinateRange::contains | ( | Coordinate & | coord | ) | const |
returns true if the coordinate falls inside the coordinate range
Definition at line 40 of file CoordinateRange.cxx.
|
inherited |
| Range LVL1::CoordinateRange::etaRange | ( | ) | const |
Definition at line 37 of file CoordinateRange.cxx.
|
inherited |
| PhiRange LVL1::CoordinateRange::phiRange | ( | ) | const |
Definition at line 35 of file CoordinateRange.cxx.
|
private |
calculates the centre of the ranges and sets the phi,eta coords to that
Definition at line 46 of file CoordinateRange.cxx.
|
inherited |
change coords of an existing Coordinate object
Definition at line 31 of file Coordinate.cxx.
| void LVL1::CoordinateRange::setRanges | ( | double | phiMin, |
| double | phiMax, | ||
| double | etaMin, | ||
| double | etaMax ) |
change coords of an existing CoordinateRange object
Definition at line 26 of file CoordinateRange.cxx.
|
privateinherited |
Definition at line 66 of file TrigT1/TrigT1Interfaces/TrigT1Interfaces/Coordinate.h.
|
private |
Definition at line 48 of file CoordinateRange.h.
|
privateinherited |
Definition at line 65 of file TrigT1/TrigT1Interfaces/TrigT1Interfaces/Coordinate.h.
|
private |
Definition at line 47 of file CoordinateRange.h.
|
staticprivateinherited |
Definition at line 67 of file TrigT1/TrigT1Interfaces/TrigT1Interfaces/Coordinate.h.