1 ////////////////////////////////////////////////////////////////////////////////
3 // Author: Artur Szostak
4 // Email: artur@alice.phy.uct.ac.za | artursz@iafrica.com
6 ////////////////////////////////////////////////////////////////////////////////
8 #ifndef dHLT_ALIROOT_POINT_HPP
9 #define dHLT_ALIROOT_POINT_HPP
19 class Point : public TObject
23 /* Default constructor initialises everything to zero.
27 /* Constructs the point from the specified x and y coordinates.
29 Point(const Float_t x, const Float_t y);
33 // ostream operator usefull for text output.
34 friend std::ostream& operator << (std::ostream& os, const Point& p);
37 Float_t fX; // X coordinate of the 2D point.
38 Float_t fY; // Y coordinate of the 2D point.
40 ClassDef(Point, 1); // A 2D space point.
46 #endif // dHLT_ALIROOT_POINT_HPP