8 #include <tracking/trackFindingCDC/geometry/Vector2D.h>
16 using namespace TrackFindingCDC;
31 Vector2D::operator
const TVector2()
33 return TVector2(x(), y());
38 output <<
"Vector2D(" << vector2D.
x() <<
"," << vector2D.
y() <<
")";
44 std::stringstream sstream;
A two dimensional vector which is equipped with functions for correct handeling of orientation relat...
std::string __str__() const
Output operator for python.
Vector2D()
Default constructor for ROOT compatibility.
double x() const
Getter for the x coordinate.
Vector2D & operator=(const TVector2 &tvector)
Assignment translating from a TVector2 instance.
void setY(const double y)
Setter for the y coordinate.
double y() const
Getter for the y coordinate.
void setX(const double x)
Setter for the x coordinate.
std::ostream & operator<<(std::ostream &output, const IntervalOfValidity &iov)
Abstract base class for different kinds of events.