![]() |
Belle II Software release-09-00-03
|
Class to store and manage fitparams (statevector) More...
#include <FitParams.h>

Public Types | |
| typedef std::vector< std::pair< const ParticleBase *, int > > | indexmap |
| index map | |
Public Member Functions | |
| FitParams (const int dim) | |
| Constructor. | |
| ~FitParams () | |
| Destructor. | |
| FitParams (const FitParams &toCopy) | |
| copy constructor | |
| FitParams & | operator= (const FitParams &other) |
| Assignment operator. | |
| Eigen::Matrix< double, -1, -1, 0, MAX_MATRIX_SIZE, MAX_MATRIX_SIZE > & | getCovariance () |
| getter for the states covariance | |
| const Eigen::Matrix< double, -1, -1, 0, MAX_MATRIX_SIZE, MAX_MATRIX_SIZE > & | getCovariance () const |
| const getter for the states covariance | |
| Eigen::Matrix< double, -1, 1, 0, MAX_MATRIX_SIZE, 1 > & | getStateVector () |
| getter for the fit parameters/statevector | |
| const Eigen::Matrix< double, -1, 1, 0, MAX_MATRIX_SIZE, 1 > & | getStateVector () const |
| const getter for the fit parameters/statevector | |
| void | resetStateVector () |
| reset the statevector | |
| void | resetCovariance () |
| reset the statevector | |
| int | getDimensionOfState () const |
| get the states dimension | |
| bool | testCovariance () const |
| test if the covariance makes sense | |
| double | chiSquare () const |
| get chi2 of statevector | |
| int | nDof () const |
| get number of degrees of freedom | |
| void | addChiSquare (double chisq, int nconstraints) |
| increment global chi2 | |
| void | resetChiSquare () |
| reset chi2 | |
Protected Member Functions | |
| FitParams () | |
| constructor | |
Private Attributes | |
| int | m_dim |
| dimension of statevector | |
| double | m_chiSquare |
| chi2 | |
| int | m_nConstraints |
| number of constraints | |
| int | m_dimensionReduction |
| reduce the ndf used in the chi2 by this count | |
| std::vector< int > | m_nConstraintsVec |
| vector with the number of constraints per parameter | |
| Eigen::Matrix< double, -1, 1, 0, MAX_MATRIX_SIZE, 1 > | m_globalState |
| vector holding all parameters of this fit | |
| Eigen::Matrix< double, -1, -1, 0, MAX_MATRIX_SIZE, MAX_MATRIX_SIZE > | m_globalCovariance |
| covariance of the global state | |
Class to store and manage fitparams (statevector)
Definition at line 20 of file FitParams.h.
| typedef std::vector< std::pair<const ParticleBase*, int> > indexmap |
index map
Definition at line 106 of file FitParams.h.
|
explicit |
Constructor.
Definition at line 17 of file FitParams.cc.
|
inline |
copy constructor
Definition at line 31 of file FitParams.h.
|
inlineprotected |
|
inline |
increment global chi2
Definition at line 92 of file FitParams.h.
|
inline |
|
inline |
getter for the states covariance
Definition at line 53 of file FitParams.h.
|
inline |
const getter for the states covariance
Definition at line 59 of file FitParams.h.
|
inline |
|
inline |
|
inline |
const getter for the fit parameters/statevector
Definition at line 68 of file FitParams.h.
| int nDof | ( | ) | const |
get number of degrees of freedom
Definition at line 56 of file FitParams.cc.
Assignment operator.
Definition at line 41 of file FitParams.h.
|
inline |
reset chi2
Definition at line 99 of file FitParams.h.
| void resetCovariance | ( | ) |
reset the statevector
Definition at line 36 of file FitParams.cc.
| void resetStateVector | ( | ) |
reset the statevector
Definition at line 31 of file FitParams.cc.
| bool testCovariance | ( | ) | const |
test if the covariance makes sense
Definition at line 46 of file FitParams.cc.
|
private |
chi2
Definition at line 119 of file FitParams.h.
|
private |
dimension of statevector
Definition at line 116 of file FitParams.h.
|
private |
reduce the ndf used in the chi2 by this count
Definition at line 125 of file FitParams.h.
|
private |
covariance of the global state
Definition at line 134 of file FitParams.h.
|
private |
vector holding all parameters of this fit
Definition at line 131 of file FitParams.h.
|
private |
number of constraints
Definition at line 122 of file FitParams.h.
|
private |
vector with the number of constraints per parameter
Definition at line 128 of file FitParams.h.