![]() |
ATLAS Offline Software
|
A container to manage all properties of a gx2f system. More...
#include <Chi2Fitter.h>
Public Member Functions | |
| Gx2fSystem (std::size_t nDims) | |
| Constructor to initialize matrices and vectors to zero based on specified dimensions. | |
| std::size_t | nDims () const |
| Accessor for the number of dimensions of the extended system. | |
| double | chi2 () const |
| Accessor for the accumulated chi-squared value (const version). | |
| double & | chi2 () |
| Accessor for the accumulated chi-squared value (mutable version). | |
| const Eigen::MatrixXd & | aMatrix () const |
| Accessor for the extended system matrix (const version). | |
| Eigen::MatrixXd & | aMatrix () |
| Accessor for the extended system matrix (mutable version). | |
| const Eigen::VectorXd & | bVector () const |
| Accessor for the extended system vector (const version). | |
| Eigen::VectorXd & | bVector () |
| Accessor for the extended system vector (mutable version). | |
| std::size_t | ndf () const |
| Accessor for the number of degrees of freedom (const version). | |
| std::size_t & | ndf () |
| Accessor for the number of degrees of freedom (mutable version). | |
| std::size_t | findRequiredNdf () |
| Determines the minimum number of degrees of freedom required for the fit. | |
| bool | isWellDefined () |
| Checks if the system has sufficient degrees of freedom for fitting. | |
Private Attributes | |
| std::size_t | m_nDims |
| Number of dimensions of the (extended) system. | |
| double | m_chi2 = 0. |
| Sum of chi-squared values. | |
| Eigen::MatrixXd | m_aMatrix {Eigen::MatrixXd::Zero(m_nDims, m_nDims)} |
| Extended matrix for accumulation. | |
| Eigen::VectorXd | m_bVector {Eigen::VectorXd::Zero(m_nDims)} |
| Extended vector for accumulation. | |
| std::size_t | m_ndf = 0u |
| Number of degrees of freedom of the system. | |
A container to manage all properties of a gx2f system.
This struct manages the mathematical infrastructure for the gx2f. It initializes and maintains the extended aMatrix and extended bVector.
Definition at line 421 of file Chi2Fitter.h.
|
inlineexplicit |
Constructor to initialize matrices and vectors to zero based on specified dimensions.
| nDims | Number of dimensions for the extended matrix and vector. |
Definition at line 425 of file Chi2Fitter.h.
|
inline |
Accessor for the extended system matrix (mutable version).
Definition at line 445 of file Chi2Fitter.h.
|
inline |
Accessor for the extended system matrix (const version).
Definition at line 441 of file Chi2Fitter.h.
|
inline |
Accessor for the extended system vector (mutable version).
Definition at line 453 of file Chi2Fitter.h.
|
inline |
Accessor for the extended system vector (const version).
Definition at line 449 of file Chi2Fitter.h.
|
inline |
Accessor for the accumulated chi-squared value (mutable version).
Definition at line 437 of file Chi2Fitter.h.
|
inline |
Accessor for the accumulated chi-squared value (const version).
Definition at line 433 of file Chi2Fitter.h.
|
inline |
Determines the minimum number of degrees of freedom required for the fit.
Automatically deduces the required NDF based on the system configuration. We have only 3 cases, because we always have l0, l1, phi, theta:
Definition at line 472 of file Chi2Fitter.h.
|
inline |
Checks if the system has sufficient degrees of freedom for fitting.
Definition at line 487 of file Chi2Fitter.h.
|
inline |
Accessor for the number of degrees of freedom (mutable version).
Definition at line 461 of file Chi2Fitter.h.
|
inline |
Accessor for the number of degrees of freedom (const version).
Definition at line 457 of file Chi2Fitter.h.
|
inline |
Accessor for the number of dimensions of the extended system.
Definition at line 429 of file Chi2Fitter.h.
|
private |
Extended matrix for accumulation.
Definition at line 497 of file Chi2Fitter.h.
|
private |
Extended vector for accumulation.
Definition at line 500 of file Chi2Fitter.h.
|
private |
Sum of chi-squared values.
Definition at line 494 of file Chi2Fitter.h.
|
private |
Number of degrees of freedom of the system.
Definition at line 503 of file Chi2Fitter.h.
|
private |
Number of dimensions of the (extended) system.
Definition at line 491 of file Chi2Fitter.h.