 |
Belle II Software
release-05-01-25
|
10 #include <tracking/trackFindingCDC/geometry/Vector3D.h>
12 #include <tracking/trackFindingCDC/geometry/Vector2D.h>
20 using namespace TrackFindingCDC;
23 : m_xy(tVector3.X(), tVector3.Y())
29 : m_xy(b2Vector3.X(), b2Vector3.Y())
50 Vector3D::operator
const TVector3()
const
52 return TVector3(x(), y(), z());
62 return output <<
"Vector3D(" << vector3D.
x() <<
"," << vector3D.
y() <<
"," << vector3D.
z() <<
")";
67 std::stringstream sstream;
Vector3D()
Default constructor for ROOT compatibility.
std::ostream & operator<<(std::ostream &output, const IntervalOfValidity &iov)
void setY(const double y)
Setter for the y coordinate.
Vector3D & operator=(const TVector3 &tVector3)
Assignment translating from a TVector3 instance.
double m_z
Memory for the third coordinate.
double x() const
Getter for the x coordinate.
DataType Z() const
access variable Z (= .at(2) without boundary check)
B2Vector3< double > B2Vector3D
typedef for common usage with double
Abstract base class for different kinds of events.
A three dimensional vector.
double y() const
Getter for the y coordinate.
Vector2D m_xy
Memory for the first and second coordinate available as a vector.
std::string __str__() const
Output operator for python.
double z() const
Getter for the z coordinate.
void setX(const double x)
Setter for the x coordinate.
DataType X() const
access variable X (= .at(0) without boundary check)
DataType Y() const
access variable Y (= .at(1) without boundary check)