Belle II Software
release-08-01-10
|
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 staevector | |
void | resetCovariance () |
reset the staevector | |
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 numer 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 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.