 |
Belle II Software
release-05-02-19
|
12 #include <tracking/trackFindingCDC/geometry/SZParameters.h>
13 #include <tracking/trackFindingCDC/geometry/Vector2D.h>
20 namespace TrackFindingCDC {
104 using namespace NSZParameterIndices;
118 double map(
double s)
const
146 return not std::isfinite(
tanLambda()) or not std::isfinite(
z0());
177 double distance(
double s,
double z)
const
212 using namespace NSZParameterIndices;
214 result(c_Z0, c_TanL) = bySZ.
first();
double theta() const
Getter for the theta dip angle.
double operator()(double s) const
Maps the two dimensional arc length s to z.
double tanLambda() const
Getter for the tan lambda parameter.
SZLine()
Default constructor for ROOT compatibility.
double inverseMap(double z) const
Maps the z coordinate to the two dimensional arc length s.
double m_z0
Memory for the z0 parameter.
A two dimensional vector which is equipped with functions for correct handeling of orientation relat...
double inverseSlope() const
Returns the slope over the second coordinate.
void invalidate()
Sets the parameters to a invalid representation.
bool isInvalid() const
Indicates if the line parameters do not represent a valid line.
ESZParameter
Enumeration to address the individual sz parameters in a vector or matrix.
double second() const
Getter for the second coordinate.
double zero() const
Returns the the two dimensional arc length s where the z coordinate approaches zero.
SZParameters szParameters() const
Getter for the sz parameters.
static CovarianceMatrix identity()
Returns an identity matrix.
double z0() const
Getter for the z0 parameter.
double first() const
Getter for the first coordinate.
Vector2D intersection(const SZLine &szLine) const
Calculates the intersection point of two line. Infinity for parallels.
Abstract base class for different kinds of events.
double m_tanLambda
Memory for the tan lambda parameter.
SZJacobian passiveMoveByJacobian(const Vector2D &bySZ) const
Computes the Jacobi matrix for a move of the coordinate system by the given vector.
double map(double s) const
Maps the two dimensional arc length s to z.
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.
void setZ0(double z0)
Getter for the z0 parameter.
double slope() const
Getter for the slope in the sz space which is equivalent to tan lambda.
void setTanLambda(double tanLambda)
Getter for the tan lambda parameter.
A matrix implementation to be used as an interface typ through out the track finder.
SZLine passiveMovedBy(const Vector2D &bySZ) const
Return a line passivelly move by the given vector as a copy.
void reverse()
Reverse the arc length direction in place.
double intercept() const
Getter for the intercept in the sz space which is equivalent to z0.
void passiveMoveBy(const Vector2D &bySZ)
Passivelly move the coordinate system in place by the given sz vector.