14 #ifndef BASICTOOL_GEOLINE_H 15 #define BASICTOOL_GEOLINE_H 56 void Pt1(
const double x,
const double y,
const double z);
57 void Pt2(
const double x,
const double y,
const double z);
71 template <
class T,
class U>
77 void Pt1(
const T& pt1)
85 void Pt2(
const T& pt2)
Float_t y1[n_points_granero]
Float_t x1[n_points_granero]
const Point_t & Pt2() const
Direction getter.
virtual ~Line()
Default destructor.
Point_t _pt1
First point denoting infinite line.
Float_t y2[n_points_geant4]
Class def header for a class Point and Vector.
const Point_t & Pt1() const
Start getter.
Representation of a 3D infinite line. Defines an infinite 3D line by having 2 points which completely...
void Pt2(const T &pt2)
Pt2 setter template.
Line(const T &pt1, const U &pt2)
Alternative ctor using template (3)
Vector_t _pt2
Second point denoting infinite line.
Vector Vector_t
Point has same feature as Vector.
Float_t x2[n_points_geant4]
Line()
Default constructor.
void Pt1(const T &pt1)
Pt1 setter template.
void check_and_raise(const Point_t &p1, const Point_t &p2) const
Compatibility check.