![]() |
Belle II Software
light-2205-abys
|
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 | |
| double & | getRefToElementOfStateVec (int row) |
| get a reference to an element of the state vector todo replace by setter? | |
| const double & | getRefToElementOfStateVec (int row) const |
| get a const reference to an element of the state vector todo replace by setter? | |
| double | getCovDiaElement (int counter) |
| get an covaraince diagonal element | |
| void | resetStateVector () |
| reset the staevector | |
| void | resetCovariance () |
| reset the staevector | |
| void | resizeAndResetStateAndCov (int newdim) |
| resize and reset statevec and its covariance | |
| int | getDimensionOfState () const |
| get the states dimension | |
| int | getNConstraints () |
| get dimension sum of constraints | |
| bool | testCovariance () const |
| test if the covariance makes sense | |
| int & | incrementNConstraintsVec (int row) |
| increment nconstraints vec | |
| int & | nConstraintsVec (int row) |
| returns a reference(!) to the number of constraints for rows parameter. More... | |
| int | dim () const |
| get dimension od statevector | |
| double | chiSquare () const |
| get chi2 of statevector | |
| int | nConstraints () const |
| get number of constraints | |
| int | nDof () const |
| get numer of degrees of freedom | |
| void | resize (int newdim) |
| resize (enlarge!) the statevector | |
| void | resetPar () |
| set statevector elements to 0 | |
| bool | testCov () const |
| check if global cov makes sense | |
| void | addNConstraint (int value) |
| some constraints are special the geometric for example | |
| 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 conatraints | |
| 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.
|
inline |
returns a reference(!) to the number of constraints for rows parameter.
Used to reset that value.
Definition at line 104 of file FitParams.h.