Belle II Software development
|
Utility struct for functions and types related to the helix parameters. More...
#include <HelixParameters.h>
Public Types | |
using | PerigeeAmbiguity = TrackFindingCDC::JacobianMatrix< 3, 5 > |
Matrix type for the ambiguity to the perigee parameters, e.g. under the stereo projection. | |
using | EParamaters = EHelixParameter |
Indices of the parameters. | |
using | ParameterVector = TrackFindingCDC::ParameterVector< c_N > |
The vector type representing the n related parameters. | |
using | CovarianceMatrix = TrackFindingCDC::CovarianceMatrix< c_N > |
The matrix type representing the covariance of the n related parameters. | |
using | PrecisionMatrix = TrackFindingCDC::PrecisionMatrix< c_N > |
The matrix type representing the precision of the n related parameters. | |
using | JacobianMatrix = TrackFindingCDC::JacobianMatrix< c_N > |
The matrix type used to translate covariances and precisions im auto mapping of the parameter space. | |
Static Public Member Functions | |
static HelixUtil::ParameterVector | reversalSigns () |
Getter for the signs which have to be applied to reverse the parameters. | |
static PerigeeUtil::ParameterVector | getPerigeeParameters (const ParameterVector &helixPar) |
Get helix parameters related to the xy space. | |
static SZUtil::ParameterVector | getSZParameters (const ParameterVector &helixPar) |
Get sz parameters. | |
static HelixUtil::ParameterVector | stack (const PerigeeUtil::ParameterVector &perigeePar, const SZUtil::ParameterVector &szPar) |
Combine parameters from the xy space and the sz space. | |
static PerigeeUtil::CovarianceMatrix | getPerigeeCovariance (const CovarianceMatrix &helixCov) |
Get perigee covariance matrix related to the xy space. | |
static SZUtil::CovarianceMatrix | getSZCovariance (const CovarianceMatrix &helixCov) |
Get sz covariance matrix. | |
static HelixUtil::CovarianceMatrix | stackBlocks (const PerigeeUtil::CovarianceMatrix &perigeeCov, const SZUtil::CovarianceMatrix &szCov) |
Combine covariance matrices from the xy space and the sz space in their respective blocks. | |
static PerigeeAmbiguity | defaultPerigeeAmbiguity () |
Initialise a default covariance matrix to zero. | |
static double | average (const HelixUtil::ParameterVector &fromPar, const HelixUtil::CovarianceMatrix &fromCov, const HelixUtil::ParameterVector &toPar, const HelixUtil::CovarianceMatrix &toCov, HelixUtil::ParameterVector &avgPar, HelixUtil::CovarianceMatrix &avgCov) |
Calculates the weighted average between two helix parameter sets with their respective covariance matrix. | |
static double | average (const PerigeeUtil::ParameterVector &fromPar, const PerigeeUtil::CovarianceMatrix &fromCov, const HelixUtil::PerigeeAmbiguity &fromAmbiguity, const HelixUtil::ParameterVector &toPar, const HelixUtil::CovarianceMatrix &toCov, HelixUtil::ParameterVector &avgPar, HelixUtil::CovarianceMatrix &avgCov) |
Calculates the weighted average between a perigee parameter sets and helix parameter sets with their respective covariance matrix under consideration of the relative ambiguity between the helix and the given perigee parameters. | |
static double | average (const PerigeeUtil::ParameterVector &fromPar, const PerigeeUtil::CovarianceMatrix &fromCov, const HelixUtil::PerigeeAmbiguity &fromAmbiguity, const PerigeeUtil::ParameterVector &toPar, const PerigeeUtil::CovarianceMatrix &toCov, const HelixUtil::PerigeeAmbiguity &toAmbiguity, const SZUtil::ParameterVector &szParameters, HelixUtil::ParameterVector &avgPar, HelixUtil::CovarianceMatrix &avgCov) |
Calculates the weighted average between two perigee parameter sets with their respective covariance matrix under consideration of their relative ambiguity to a helix near the sz parameters given as a reference. | |
static void | transport (const JacobianMatrix &jacobian, CovarianceMatrix &cov) |
Transport the covariance matrix inplace with the given jacobian matrix. | |
static CovarianceMatrix | transported (const JacobianMatrix &jacobian, const CovarianceMatrix &cov) |
Return a copy of the covariance matrix transported with the given jacobian matrix. | |
static JacobianMatrix | reversalJacobian () |
Jacobian matrix needed in the reversal operation of the parameter vector. | |
static void | reverse (CovarianceMatrix &cov) |
Reverse the covariance matrix inplace. | |
static CovarianceMatrix | reversed (const CovarianceMatrix &cov) |
Return a copy of the reversed covariance matrix. | |
static CovarianceMatrix | identity () |
Returns an identity matrix. | |
static CovarianceMatrix | covarianceFromPrecision (const PrecisionMatrix &prec) |
Convert the precision matrix to the corresponding covariance matrix. | |
static PrecisionMatrix | precisionFromCovariance (const CovarianceMatrix &cov) |
Convert the covariance matrix to the corresponding precision matrix. | |
static CovarianceMatrix | covarianceFromFullPrecision (const PrecisionMatrix &prec) |
Convert the precision matrix to the corresponding covariance matrix. | |
static PrecisionMatrix | precisionFromFullCovariance (const CovarianceMatrix &cov) |
Convert the covariance matrix to the corresponding precision 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 Public Attributes | |
static const size_t | c_N |
Number of elements. | |
Utility struct for functions and types related to the helix parameters.
Definition at line 56 of file HelixParameters.h.
|
inherited |
The matrix type representing the covariance of the n related parameters.
Definition at line 36 of file UncertainParameters.h.
|
inherited |
Indices of the parameters.
Definition at line 27 of file UncertainParameters.h.
|
inherited |
The matrix type used to translate covariances and precisions im auto mapping of the parameter space.
Definition at line 42 of file UncertainParameters.h.
|
inherited |
The vector type representing the n related parameters.
Definition at line 33 of file UncertainParameters.h.
using PerigeeAmbiguity = TrackFindingCDC::JacobianMatrix<3, 5> |
Matrix type for the ambiguity to the perigee parameters, e.g. under the stereo projection.
Definition at line 82 of file HelixParameters.h.
|
inherited |
The matrix type representing the precision of the n related parameters.
Definition at line 39 of file UncertainParameters.h.
|
static |
Calculates the weighted average between two helix parameter sets with their respective covariance matrix.
Returns the chi2 value of the average.
Definition at line 70 of file HelixParameters.cc.
|
static |
Calculates the weighted average between a perigee parameter sets and helix parameter sets with their respective covariance matrix under consideration of the relative ambiguity between the helix and the given perigee parameters.
Returns the chi2 value of the average.
Definition at line 97 of file HelixParameters.cc.
|
static |
Calculates the weighted average between two perigee parameter sets with their respective covariance matrix under consideration of their relative ambiguity to a helix near the sz parameters given as a reference.
Returns the chi2 value of the average.
Definition at line 137 of file HelixParameters.cc.
|
staticinherited |
Convert the precision matrix to the corresponding covariance matrix.
Faster version with foreknowledge that the precision is of full rank.
Definition at line 73 of file UncertainParameters.icc.h.
|
staticinherited |
Convert the precision matrix to the corresponding covariance matrix.
Definition at line 64 of file UncertainParameters.icc.h.
|
static |
Initialise a default covariance matrix to zero.
Definition at line 65 of file HelixParameters.cc.
|
static |
Get perigee covariance matrix related to the xy space.
Definition at line 46 of file HelixParameters.cc.
|
static |
Get helix parameters related to the xy space.
Definition at line 27 of file HelixParameters.cc.
|
staticinherited |
Getter for a sub part of the covariance matrix.
Definition at line 87 of file UncertainParameters.icc.h.
|
staticinherited |
Getter for a sub part of the covariance matrix.
Definition at line 83 of file UncertainParameters.icc.h.
|
static |
Get sz covariance matrix.
Definition at line 52 of file HelixParameters.cc.
|
static |
Get sz parameters.
Definition at line 33 of file HelixParameters.cc.
|
staticinherited |
Returns an identity matrix.
Definition at line 61 of file UncertainParameters.icc.h.
|
staticinherited |
Convert the covariance matrix to the corresponding precision matrix.
Definition at line 67 of file UncertainParameters.icc.h.
|
staticinherited |
Convert the covariance matrix to the corresponding precision matrix.
Faster version with foreknowledge that the precision is of full rank.
Definition at line 79 of file UncertainParameters.icc.h.
|
staticinherited |
Jacobian matrix needed in the reversal operation of the parameter vector.
Definition at line 52 of file UncertainParameters.icc.h.
|
static |
Getter for the signs which have to be applied to reverse the parameters.
Definition at line 22 of file HelixParameters.cc.
|
staticinherited |
Reverse the covariance matrix inplace.
Definition at line 55 of file UncertainParameters.icc.h.
|
staticinherited |
Return a copy of the reversed covariance matrix.
Definition at line 58 of file UncertainParameters.icc.h.
|
static |
Combine parameters from the xy space and the sz space.
Definition at line 39 of file HelixParameters.cc.
|
static |
Combine covariance matrices from the xy space and the sz space in their respective blocks.
Definition at line 58 of file HelixParameters.cc.
|
staticinherited |
Transport the covariance matrix inplace with the given jacobian matrix.
Definition at line 45 of file UncertainParameters.icc.h.
|
staticinherited |
Return a copy of the covariance matrix transported with the given jacobian matrix.
Definition at line 48 of file UncertainParameters.icc.h.
|
staticinherited |
Number of elements.
Definition at line 30 of file UncertainParameters.h.