StRoot
1
|
STAR includes. More...
#include <Line.hh>
Public Member Functions | |
Line (const StThreeVectorD &o, const StThreeVectorD &d) | |
StThreeVectorD | origin () const |
Origin of the line. | |
StThreeVectorD | direction () const |
Direction vector of the line (normalized to the unit vector) | |
StThreeVectorD | at (double pathlength) const |
Point at a given path length along the line. More... | |
StThreeVectorD | perigee (const StThreeVectorD &point) const |
Perigee, i.e. Closest point on the line to a given point. More... | |
StThreeVectorD | dca (const Line &line) const |
DCA = Distance of Closest Approach to a given line. More... | |
double | pathlength (const StThreeVectorD &point) const |
Pathlength of a given point from the origin of the line. More... | |
pair< double, double > | pathlengths (const Line &line) const |
Pathlengths of the points of closest approach between the lines. More... | |
void | setOrigin (const StThreeVectorD &o) |
Set the origin of the line to a given point. More... | |
void | setDirection (const StThreeVectorD &d) |
Set the direction of the line to a given vector. The direction is normalized to the unit vector. More... | |
Line (Vector &u0, Vector &u1) | |
Public Attributes | |
Vector | v0 |
Vector | v1 |
StThreeVectorD Line::at | ( | double | pathlength | ) | const |
StThreeVectorD Line::dca | ( | const Line & | line | ) | const |
DCA = Distance of Closest Approach to a given line.
Any | line |
Definition at line 31 of file Line.cc.
References at(), direction(), and origin().
double Line::pathlength | ( | const StThreeVectorD & | point | ) | const |
Pathlength of a given point from the origin of the line.
Any | point |
Definition at line 21 of file Line.cc.
Referenced by pathlengths().
pair< double, double > Line::pathlengths | ( | const Line & | line | ) | const |
Pathlengths of the points of closest approach between the lines.
Any | line |
Definition at line 41 of file Line.cc.
References direction(), origin(), and pathlength().
StThreeVectorD Line::perigee | ( | const StThreeVectorD & | point | ) | const |
Perigee, i.e. Closest point on the line to a given point.
Any | point |
Definition at line 26 of file Line.cc.
Referenced by Track::fit().
|
inline |
|
inline |