11 #ifndef PmaSegment3D_h
12 #define PmaSegment3D_h
49 double GetDistance2To(
const TVector2& p2d,
unsigned int view)
const override;
55 TVector3
GetProjection(
const TVector2&
p,
unsigned int view)
const;
66 double Length2(
void)
const override;
77 static double GetDist2(
const TVector3& psrc,
const TVector3& p0,
const TVector3&
p1);
78 static double GetDist2(
const TVector2& psrc,
const TVector2& p0,
const TVector2&
p1);
double GetDistance2To(const TVector3 &p3d) const override
Distance [cm] from the 3D segment to the point 3D.
::fhicl::TupleAs< Point(::geo::Length_t,::geo::Length_t,::geo::Length_t)> Point3D
Atom object for reading a 3D point or vector (centimeters).
Implementation of the Projection Matching Algorithm.
double SumDist2Hits(void) const override
recob::tracking::Vector_t Vector3D
Vector3D Start(void) const
Implementation of the Projection Matching Algorithm.
double Length2(void) const override
TVector3 GetProjection(const TVector2 &p, unsigned int view) const
Get 3D projection of a 2D point from the view.
void SetProjection(pma::Hit3D &h) const override
Set hit 3D position and its 2D projection to the vertex.
TVector3 GetUnconstrainedProj3D(const TVector2 &p2d, unsigned int view) const override
virtual pma::SortedObjectBase * Prev(void) const
pma::Track3D * Parent(void) const
virtual pma::SortedObjectBase * Next(unsigned int index=0) const
physics associatedGroupsWithLeft p1
Implementation of the Projection Matching Algorithm.
pma::Vector3D GetDirection3D(void) const override
Get 3D direction cosines of this segment.
static double GetDist2(const TVector3 &psrc, const TVector3 &p0, const TVector3 &p1)