1#ifndef __JDETECTOR__JANCHOR__
2#define __JDETECTOR__JANCHOR__
65 if (in >>
id >> x >> y)
81 out << anchor.
getID();
Data structure for anchor position on sea bed.
friend std::istream & operator>>(std::istream &in, JAnchor &anchor)
Read JAnchor from input.
JAnchor()
Default constructor.
friend std::ostream & operator<<(std::ostream &out, const JAnchor &anchor)
Write JAnchor to output.
JAnchor(const int id, const double x, const double y)
Constructor.
Data structure for position in two dimensions.
double getY() const
Get y position.
double getX() const
Get x position.
double getLengthSquared() const
Get length squared.
Auxiliary class for object identification.
int getID() const
Get identifier.
file Auxiliary data structures and methods for detector calibration.
bool operator<(const JAnchor &first, const JAnchor &second)
Sort anchors in ascending distance from (0,0).
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).