![]() |
Belle II Software development
|
A line in the sz space. More...
#include <SZLine.h>
Public Member Functions | |
SZLine () | |
Default constructor for ROOT compatibility. | |
SZLine (double tanLambda, double z0) | |
Constructor from slope and intercept in the sz space. | |
SZLine (const SZParameters &szParameters) | |
Constructor from the sz parameters. | |
double | tanLambda () const |
Getter for the tan lambda parameter. | |
double | slope () const |
Getter for the slope in the sz space which is equivalent to tan lambda. | |
double | inverseSlope () const |
Returns the slope over the second coordinate. | |
double | theta () const |
Getter for the theta dip angle. | |
void | setTanLambda (double tanLambda) |
Getter for the tan lambda parameter. | |
double | z0 () const |
Getter for the z0 parameter. | |
double | intercept () const |
Getter for the intercept in the sz space which is equivalent to z0. | |
void | setZ0 (double z0) |
Getter for the z0 parameter. | |
SZParameters | szParameters () const |
Getter for the sz parameters. | |
double | zero () const |
Returns the the two dimensional arc length s where the z coordinate approaches zero. | |
double | map (double s) const |
Maps the two dimensional arc length s to z. | |
double | operator() (double s) const |
Maps the two dimensional arc length s to z. | |
double | inverseMap (double z) const |
Maps the z coordinate to the two dimensional arc length s. | |
void | invalidate () |
Sets the parameters to a invalid representation. | |
bool | isInvalid () const |
Indicates if the line parameters do not represent a valid line. | |
void | reverse () |
Reverse the arc length direction in place. | |
SZLine | reversed () const |
Returns a copy of the line with reversed the arc length direction. | |
double | distance (const Vector2D &szPoint) const |
Calculates the signed distance of the point to the line. | |
double | distance (double s, double z) const |
Calculates the signed distance of the point given by its to coordinates to the line. | |
Vector2D | intersection (const SZLine &szLine) const |
Calculates the intersection point of two line. Infinity for parallels. | |
void | passiveMoveBy (const Vector2D &bySZ) |
Passively move the coordinate system in place by the given sz vector. | |
void | passiveMoveBy (double s, double z) |
Passively move the coordinate system in place by the given s and z coordinates. | |
SZLine | passiveMovedBy (const Vector2D &bySZ) const |
Return a line passively move by the given vector as a copy. | |
SZLine | passiveMovedBy (double s, double z) const |
Return a line passively move by the given s and z coordinates as a copy. | |
SZJacobian | passiveMoveByJacobian (const Vector2D &bySZ) const |
Computes the Jacobi matrix for a move of the coordinate system by the given vector. | |
Private Attributes | |
double | m_tanLambda |
Memory for the tan lambda parameter. | |
double | m_z0 |
Memory for the z0 parameter. | |
A line in the sz space.
The line is represented in sz parameters tan lambda and z0 beginning the slope and the intercept of the line in the sz space.
|
inline |
Default constructor for ROOT compatibility.
Definition at line 30 of file SZLine.h.
|
inline |
Constructor from slope and intercept in the sz space.
Definition at line 37 of file SZLine.h.
|
inlineexplicit |
Constructor from the sz parameters.
|
inline |
Calculates the signed distance of the point to the line.
Returns the signed distance of the point to the line. The sign is positive
below the curve and negative above it.
Definition at line 165 of file SZLine.h.
|
inline |
Calculates the signed distance of the point given by its to coordinates to the line.
Returns the signed distance of the point to the line. The sign is positive
below the curve and negative above it.
Definition at line 175 of file SZLine.h.
|
inline |
Calculates the intersection point of two line. Infinity for parallels.
Definition at line 14 of file SZLine.cc.
|
inline |
Sets the parameters to a invalid representation.
Definition at line 135 of file SZLine.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Passively move the coordinate system in place by the given sz vector.
Definition at line 184 of file SZLine.h.
|
inline |
|
inline |
Computes the Jacobi matrix for a move of the coordinate system by the given vector.
Definition at line 208 of file SZLine.h.
Return a line passively move by the given vector as a copy.
Definition at line 196 of file SZLine.h.
|
inline |
Return a line passively move by the given s and z coordinates as a copy.
|
inline |
Reverse the arc length direction in place.
|
inline |
|
inline |
Getter for the tan lambda parameter.
|
inline |
|
inline |
Getter for the slope in the sz space which is equivalent to tan lambda.
|
inline |
|
inline |
Getter for the tan lambda parameter.
|
inline |
Getter for the theta dip angle.
|
inline |
|
inline |
Returns the the two dimensional arc length s where the z coordinate approaches zero.
Definition at line 110 of file SZLine.h.
|
private |