ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
Go to the documentation of this file.
5 #include <Math/Point3D.h>
6 #include <Math/Vector3D.h>
45 if (fDirection.Z() != 0)
46 fDirection /= fabs(fDirection.Z());
47 fPatternPar = {fPoint.X(), fPoint.Y(), fPoint.Z(), fDirection.X(), fDirection.Y(), fDirection.Z()};
XYZPoint GetPoint() const
Describes a linear track.
virtual Double_t DistanceToPattern(const XYZPoint &point) const override
Closest distance to pattern.
double parameterAtPoint(const XYZPoint &point) const
Get the parameter closes to compPoint.
ROOT::Math::XYZVector XYZVector
virtual TEveElement * GetEveElement() const override
Get visual representation of pattern.
TEveLine * GetEveLine(double tMin, double tMax, int n) const
Get visual representation of pattern.
void DefinePattern(XYZPoint point, XYZVector direction)
virtual XYZPoint GetPointAt(double z) const override
Get point on line at z.
std::vector< Double_t > fPatternPar
Describes a linear track with an end point.
XYZVector GetDirection() const
virtual XYZPoint ClosestPointOnPattern(const XYZPoint &point) const override
Closest point on pattern.
ROOT::Math::XYZPoint XYZPoint