 |
Belle II Software
release-05-02-19
|
12 #include <tracking/trackFindingCDC/numerics/CovarianceMatrix.h>
13 #include <tracking/trackFindingCDC/numerics/PrecisionMatrix.h>
14 #include <tracking/trackFindingCDC/numerics/JacobianMatrix.h>
15 #include <tracking/trackFindingCDC/numerics/ParameterVector.h>
22 namespace TrackFindingCDC {
25 template <
class T,
class AEParameters>
26 struct UncertainParametersUtil {
32 static const size_t c_N = EParamaters::c_N;
84 template <
class AParameterVector,
int I = 0>
88 template <
class ACovarianceMatrix,
int I = 0>
static JacobianMatrix reversalJacobian()
Jacobian matrix needed in the reversal operation of the parameter vector.
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.
TrackFindingCDC::JacobianMatrix< c_N > JacobianMatrix
The matrix type used to translate covariances and precisions im auto mapping of the parameter space.
static PrecisionMatrix precisionFromCovariance(const CovarianceMatrix &cov)
Convert the covariance matrix to the corresponding precision matrix.
static ACovarianceMatrix getSubCovarianceMatrix(const CovarianceMatrix &cov)
Getter for a sub part of the covariance matrix.
static CovarianceMatrix transported(const JacobianMatrix &jacobian, const CovarianceMatrix &cov)
Return a copy of the covariance matrix transported with the given jacobian matrix.
TrackFindingCDC::ParameterVector< c_N > ParameterVector
The vector type representing the n related parameters.
Abstract base class for different kinds of events.
static AParameterVector getSubParameterVector(const ParameterVector &par)
Getter for a sub part of the covariance matrix.
static CovarianceMatrix covarianceFromPrecision(const PrecisionMatrix &prec)
Convert the precision matrix to the corresponding covariance matrix.
TrackFindingCDC::PrecisionMatrix< c_N > PrecisionMatrix
The matrix type representing the precision of the n related parameters.
AEParameters EParamaters
Indices of the parameters.
static const size_t c_N
Number of elements.
static CovarianceMatrix covarianceFromFullPrecision(const PrecisionMatrix &prec)
Convert the precision matrix to the corresponding covariance matrix.
TrackFindingCDC::CovarianceMatrix< c_N > CovarianceMatrix
The matrix type representing the covariance of the n related parameters.
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.
static void reverse(CovarianceMatrix &cov)
Reverse the covariance matrix inplace.
static PrecisionMatrix precisionFromFullCovariance(const CovarianceMatrix &cov)
Convert the covariance matrix to the corresponding precision matrix.