 |
Belle II Software
release-05-01-25
|
12 #include <tracking/trackFindingCDC/geometry/PerigeeCircle.h>
13 #include <tracking/trackFindingCDC/geometry/PerigeeParameters.h>
24 namespace TrackFindingCDC {
25 class GeneralizedCircle;
31 class UncertainPerigeeCircle {
48 const double chi2 = 0.0,
66 const double chi2 = 0.0,
78 const double chi2 = 0.0,
90 const double chi2 = 0.0,
103 const double chi2 = 0.0,
133 operator const PerigeeCircle& ()
const
188 std::size_t
ndf()
const
PerigeeCircle m_perigeeCircle
Memory for the underlying circle.
void setChi2(const double chi2)
Setter for the chi square value of the circle fit.
std::ostream & operator<<(std::ostream &output, const IntervalOfValidity &iov)
EPerigeeParameter
Enumeration to address the individual perigee parameters in a vector or matrix.
const PerigeeCovariance & perigeeCovariance() const
Getter for the whole covariance matrix of the perigee parameters.
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.
PerigeeCovariance m_perigeeCovariance
Memory for the 3x3 covariance matrix of the perigee parameters.
PerigeeParameters perigeeParameters() const
Getter for the three perigee parameters in the order defined by EPerigeeParameter....
std::size_t ndf() const
Getter for the number of degrees of freediom used in the circle fit.
void setPerigeeCovariance(const PerigeeCovariance &perigeeCovariance)
Setter for the whole covariance matrix of the perigee parameters.
PerigeeCircle reversed() const
Returns a copy of the circle with opposite orientation.
double covariance(const EPerigeeParameter &iRow, const EPerigeeParameter &iCol) const
Getter for individual elements of the covariance matrix.
PerigeeCovariance passiveMovedCovarianceBy(const Vector2D &by) const
Calculates the jacobian matrix that is needed for the translation of the parameter covariance for a p...
static CovarianceMatrix identity()
Returns an identity matrix.
const PerigeeCircle & perigeeCircle() const
Getter for the underlying circle.
void reverse()
Flips the orientation of the circle in place.
PerigeeJacobian passiveMoveByJacobian(const Vector2D &by) const
Computes the Jacobi matrix for a move of the coordinate system by the given vector.
const PerigeeCircle * operator->() const
Access to the constant interface of the underlying parameter line Allows the user of this "super" cla...
void passiveMoveBy(const Vector2D &by)
Moves the coordinate system by the vector by and calculates the new perigee and its covariance matrix...
static CovarianceMatrix transported(const JacobianMatrix &jacobian, const CovarianceMatrix &cov)
Return a copy of the covariance matrix transported with the given jacobian matrix.
Adds an uncertainty matrix to the circle in perigee parameterisation.
double chi2() const
Getter for the chi square value of the circle fit.
Abstract base class for different kinds of events.
UncertainPerigeeCircle reversed() const
Returns a copy of the circle with opposite orientation.
void reverse()
Flips the orientation of the circle in place.
void setNDF(std::size_t ndf)
Setter for the number of degrees of freediom used in the circle fit.
double variance(const EPerigeeParameter &i) const
Getter for individual diagonal elements of the covariance matrix.
Extension of the generalized circle also caching the perigee coordinates.
void passiveMoveBy(const Vector2D &by)
Moves the coordinates system by the given vector. Updates perigee parameters in place.
UncertainPerigeeCircle()
Default constructor for ROOT compatibility.
size_t m_ndf
Memory for the number of degrees of freedim of the fit of this circle.
double m_chi2
Memory for the chi square value of the fit of this circle.
A matrix implementation to be used as an interface typ through out the track finder.
static CovarianceMatrix reversed(const CovarianceMatrix &cov)
Return a copy of the reversed covariance matrix.
void invalidate()
Sets all circle parameters to zero.
PerigeeParameters perigeeParameters() const
Getter for the perigee parameters in the order defined by EPerigeeParameter.h.
static UncertainPerigeeCircle average(const UncertainPerigeeCircle &fromPerigeeCircle, const UncertainPerigeeCircle &toPerigeeCircle)
Average the parameters of the two given perigee circles properly considering their covariance matrix.
static void reverse(CovarianceMatrix &cov)
Reverse the covariance matrix inplace.
void invalidate()
Sets all circle parameters to zero including the covariance matrix.