|
ATLAS Offline Software
|
Go to the documentation of this file.
17 : m_phiRange(phiMin, phiMax), m_etaRange(
etaMin,
etaMax) {
22 CoordinateRange::CoordinateRange()
23 : m_phiRange(0.0, 0.0), m_etaRange(0.0, 0.0) {}
47 double phi = m_phiRange.centre();
48 double eta = m_etaRange.min() + ((m_etaRange.max() - m_etaRange.min()) / 2);
PhiRange phiRange() const
void setCentre()
calculates the centre of the ranges and sets the phi,eta coords to that
void setRanges(double phiMin, double phiMax, double etaMin, double etaMax)
change coords of an existing CoordinateRange object
void setRange(double min, double max)
sets range
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Coordinate class declaration.
bool contains(Coordinate &coord) const
returns true if the coordinate falls inside the coordinate range
void checkBounds()
Ensure coords are sensible this could be done more intelligently, but at least it's readable!
A Range describes the possible ranges for the field values of an ExpandedIdentifier.
void setCoords(double phi, double eta)
change coords of an existing Coordinate object
void setRange(double min, double max)
sets range