10#include <tracking/trackFindingCDC/numerics/CovarianceMatrix.h>
11#include <tracking/trackFindingCDC/numerics/PrecisionMatrix.h>
12#include <tracking/trackFindingCDC/numerics/JacobianMatrix.h>
13#include <tracking/trackFindingCDC/numerics/ParameterVector.h>
20 namespace TrackFindingCDC {
23 template <
class T,
class AEParameters>
30 static const size_t c_N = EParamaters::c_N;
82 template <
class AParameterVector,
int I = 0>
86 template <
class ACovarianceMatrix,
int I = 0>
A matrix implementation to be used as an interface typ through out the track finder.
Abstract base class for different kinds of events.
Utility struct to instantiate a couple of helper function related to a set of uncertain parameters.
static PrecisionMatrix precisionFromCovariance(const CovarianceMatrix &cov)
Convert the covariance matrix to the corresponding precision matrix.
static PrecisionMatrix precisionFromFullCovariance(const CovarianceMatrix &cov)
Convert the covariance matrix to the corresponding precision matrix.
static CovarianceMatrix transported(const JacobianMatrix &jacobian, const CovarianceMatrix &cov)
Return a copy of the covariance matrix transported with the given jacobian matrix.
static CovarianceMatrix covarianceFromPrecision(const PrecisionMatrix &prec)
Convert the precision matrix to the corresponding covariance matrix.
static void transport(const JacobianMatrix &jacobian, CovarianceMatrix &cov)
Transport the covariance matrix inplace with the given jacobian matrix.
static CovarianceMatrix identity()
Returns an identity matrix.
static AParameterVector getSubParameterVector(const ParameterVector &par)
Getter for a sub part of the covariance matrix.
static ACovarianceMatrix getSubCovarianceMatrix(const CovarianceMatrix &cov)
Getter for a sub part of the covariance matrix.
static const size_t c_N
Number of elements.
static JacobianMatrix reversalJacobian()
Jacobian matrix needed in the reversal operation of the parameter vector.
AEParameters EParamaters
Indices of the parameters.
static void reverse(CovarianceMatrix &cov)
Reverse the covariance matrix inplace.
static CovarianceMatrix covarianceFromFullPrecision(const PrecisionMatrix &prec)
Convert the precision matrix to the corresponding covariance matrix.
static CovarianceMatrix reversed(const CovarianceMatrix &cov)
Return a copy of the reversed covariance matrix.