 |
Belle II Software
release-05-02-19
|
12 #include <tracking/trackFindingCDC/geometry/SZLine.h>
14 #include <tracking/trackFindingCDC/geometry/SZParameters.h>
25 namespace TrackFindingCDC {
30 class UncertainSZLine {
43 const double chi2 = 0.0,
56 const double chi2 = 0.0,
69 const double chi2 = 0.0,
93 operator const SZLine& ()
const
148 std::size_t
ndf()
const
std::ostream & operator<<(std::ostream &output, const IntervalOfValidity &iov)
void passiveMoveBy(const Vector2D &bySZ)
Moves the coordinate system by the vector by and calculates the new sz line and its covariance matrix...
A two dimensional vector which is equipped with functions for correct handeling of orientation relat...
static void transport(const JacobianMatrix &jacobian, CovarianceMatrix &cov)
Transport the covariance matrix inplace with the given jacobian matrix.
A line in sz where s is the transverse travel distance as seen in the xy projection with uncertaintie...
void setNDF(std::size_t ndf)
Setter for the number of degrees of freediom used in the line fit.
void invalidate()
Sets the parameters to a invalid representation.
std::size_t ndf() const
Getter for the number of degrees of freediom used in the line fit.
double chi2() const
Getter for the chi square value of the line fit.
ESZParameter
Enumeration to address the individual sz parameters in a vector or matrix.
SZLine m_szLine
Memory for the underlying line.
SZParameters szParameters() const
Getter for the sz parameters.
double variance(const ESZParameter &i) const
Getter for individual diagonal elements of the covariance matrix.
static CovarianceMatrix identity()
Returns an identity matrix.
SZCovariance passiveMovedCovarianceBy(const Vector2D &bySZ) const
Calculates the jacobian matrix that is needed for the translation of the parameter covariance for a p...
void reverse()
Reverses the direction of flight represented by this sz line.
double covariance(const ESZParameter &iRow, const ESZParameter &iCol) const
Getter for individual elements of the covariance matrix.
void setChi2(const double chi2)
Setter for the chi square value of the line fit.
size_t m_ndf
Memory for the number of degrees of freedim of the fit of this line.
SZCovariance m_szCovariance
Memory for the 2x2 covariance matrix of sz slope (aka tan lambda) and z0.
static CovarianceMatrix transported(const JacobianMatrix &jacobian, const CovarianceMatrix &cov)
Return a copy of the covariance matrix transported with the given jacobian matrix.
void invalidate()
Sets all line parameters to zero including the covariance matrix.
Abstract base class for different kinds of events.
UncertainSZLine()
Default constructor for ROOT compatibility.
SZJacobian passiveMoveByJacobian(const Vector2D &bySZ) const
Computes the Jacobi matrix for a move of the coordinate system by the given vector.
SZLine reversed() const
Returns a copy of the line with reversed the arc length direction.
SZParameters szParameters() const
Getter for the sz parameters in the order defined by ESZParameter.h.
void setSZCovariance(const SZCovariance &szCovariance)
Setter for the whole covariance matrix of the sz line parameters.
double m_chi2
Memory for the chi square value of the fit of this line.
const SZCovariance & szCovariance() const
Getter for the whole covariance matrix of the sz line parameters.
A matrix implementation to be used as an interface typ through out the track finder.
const SZLine & szLine() const
Getter for the underlying sz line.
void reverse()
Reverse the arc length direction in place.
static CovarianceMatrix reversed(const CovarianceMatrix &cov)
Return a copy of the reversed covariance matrix.
const SZLine * operator->() const
Access to the constant interface of the underlying parameter line Allows the user of this "super" cla...
static void reverse(CovarianceMatrix &cov)
Reverse the covariance matrix inplace.
UncertainSZLine reversed() const
Returns a copy of the line corresponding to the reverse direction of travel.
void passiveMoveBy(const Vector2D &bySZ)
Passivelly move the coordinate system in place by the given sz vector.