8#include <tracking/trackingUtilities/geometry/Vector2D.h>
14using namespace TrackingUtilities;
17 :
m_x(xyVector.
X()),
m_y(xyVector.
Y())
28Vector2D::operator
const ROOT::Math::XYVector()
const
30 return ROOT::Math::XYVector(
x(),
y());
33std::ostream& TrackingUtilities::operator<<(std::ostream& output,
const Vector2D& vector2D)
35 output <<
"Vector2D(" << vector2D.
x() <<
"," << vector2D.
y() <<
")";
41 std::stringstream sstream;
A two dimensional vector which is equipped with functions for correct handling of orientation relate...
std::string __str__() const
Output operator for python.
double m_x
Memory for the first coordinate.
Vector2D()
Default constructor for ROOT compatibility.
double x() const
Getter for the x coordinate.
double y() const
Getter for the y coordinate.
double m_y
Memory for the second coordinate.
Vector2D & operator=(const ROOT::Math::XYVector &xyVector)
Assignment translating from a ROOT::Math::XYVector instance.
double X() const
Getter for the x coordinate.
double Y() const
Getter for the y coordinate.
Abstract base class for different kinds of events.