![]() |
Belle II Software release-09-00-03
|


Public Member Functions | |
| NewtonFitterGSL () | |
| Constructor. | |
| virtual | ~NewtonFitterGSL () |
| Virtual destructor. | |
| virtual double | fit () override |
| The fit method, returns the fit probability. | |
| virtual int | getError () const override |
| Get the error code of the last fit: 0=OK, 1=failed. | |
| virtual double | getProbability () const override |
| Get the fit probability of the last fit. | |
| virtual double | getChi2 () const override |
| Get the chi**2 of the last fit. | |
| virtual int | getDoF () const override |
| Get the number of degrees of freedom of the last fit. | |
| virtual int | getIterations () const override |
| Get the number of iterations of the last fit. | |
| virtual int | getNcon () const |
| Get the number of hard constraints of the last fit. | |
| virtual int | getNsoft () const |
| Get the number of soft constraints of the last fit. | |
| virtual int | getNpar () const |
| Get the number of all parameters of the last fit. | |
| virtual int | getNunm () const |
| Get the number of unmeasured parameters of the last fit. | |
| virtual bool | initialize () override |
| Initialize the fitter. | |
| virtual void | setDebug (int debuglevel) |
| Set the Debug Level. | |
| virtual void | addFitObject (BaseFitObject *fitobject_) |
| virtual void | addFitObject (BaseFitObject &fitobject_) |
| virtual void | addConstraint (BaseConstraint *constraint_) |
| virtual void | addConstraint (BaseConstraint &constraint_) |
| virtual void | addHardConstraint (BaseHardConstraint *constraint_) |
| virtual void | addHardConstraint (BaseHardConstraint &constraint_) |
| virtual void | addSoftConstraint (BaseSoftConstraint *constraint_) |
| virtual void | addSoftConstraint (BaseSoftConstraint &constraint_) |
| virtual std::vector< BaseFitObject * > * | getFitObjects () |
| virtual std::vector< BaseHardConstraint * > * | getConstraints () |
| virtual std::vector< BaseSoftConstraint * > * | getSoftConstraints () |
| virtual void | reset () |
| virtual BaseTracer * | getTracer () |
| virtual const BaseTracer * | getTracer () const |
| virtual void | setTracer (BaseTracer *newTracer) |
| virtual void | setTracer (BaseTracer &newTracer) |
| virtual const double * | getGlobalCovarianceMatrix (int &idim) const |
| virtual double * | getGlobalCovarianceMatrix (int &idim) |
Public Attributes | |
| std::map< std::string, double > | traceValues |
Protected Types | |
| enum | { NPARMAX = 50 , NCONMAX = 10 , NUNMMAX = 10 } |
| typedef std::vector< BaseFitObject * > | FitObjectContainer |
| typedef std::vector< BaseHardConstraint * > | ConstraintContainer |
| typedef std::vector< BaseSoftConstraint * > | SoftConstraintContainer |
| typedef FitObjectContainer::iterator | FitObjectIterator |
| typedef ConstraintContainer::iterator | ConstraintIterator |
| typedef SoftConstraintContainer::iterator | SoftConstraintIterator |
Protected Member Functions | |
| virtual double | calcChi2 () |
| Calculate the chi2. | |
| int | calcDx () |
| Calculate the vector dx to update the parameters; returns fail code, 0=OK. | |
| int | calcDxSVD () |
| Calculate the vector dx to update the parameters; returns fail code, 0=OK. | |
| void | printMy (const double M[], const double y[], int idim) |
| Print a Matrix M and a vector y of dimension idim. | |
| bool | updateParams (gsl_vector *xnew) |
| void | fillxold () |
| void | fillperr () |
| int | calcM (bool errorpropagation=false) |
| int | calcy () |
| int | optimizeScale () |
| int | invertM () |
| void | calcCovMatrix () |
| double | meritFunction (double mu) |
| double | meritFunctionDeriv () |
Static Protected Member Functions | |
| static void | ini_gsl_permutation (gsl_permutation *&p, unsigned int size) |
| static void | ini_gsl_vector (gsl_vector *&v, int unsigned size) |
| static void | ini_gsl_matrix (gsl_matrix *&m, int unsigned size1, unsigned int size2) |
| static void | debug_print (gsl_matrix *m, const char *name) |
| static void | debug_print (gsl_vector *v, const char *name) |
Protected Attributes | |
| int | npar |
| total number of parameters | |
| int | ncon |
| total number of hard constraints | |
| int | nsoft |
| total number of soft constraints | |
| int | nunm |
| total number of unmeasured parameters | |
| int | ierr |
| Error status. | |
| int | nit |
| Number of iterations. | |
| double | fitprob |
| fit probability | |
| double | chi2 |
| final chi2 | |
| FitObjectContainer | fitobjects |
| ConstraintContainer | constraints |
| SoftConstraintContainer | softconstraints |
| int | covDim |
| dimension of global covariance matrix | |
| double * | cov |
| global covariance matrix of last fit problem | |
| bool | covValid |
| Flag whether global covariance is valid. | |
| BaseTracer * | tracer |
Private Types | |
| enum | { NITMAX = 100 } |
Private Attributes | |
| unsigned int | idim |
| gsl_vector * | x |
| gsl_vector * | xold |
| gsl_vector * | xbest |
| gsl_vector * | dx |
| gsl_vector * | dxscal |
| gsl_vector * | grad |
| gsl_vector * | y |
| gsl_vector * | yscal |
| gsl_vector * | perr |
| gsl_vector * | v1 |
| gsl_vector * | v2 |
| gsl_vector * | Meval |
| gsl_matrix * | M |
| gsl_matrix * | Mscal |
| gsl_matrix * | M1 |
| gsl_matrix * | M2 |
| gsl_matrix * | M3 |
| gsl_matrix * | M4 |
| gsl_matrix * | M5 |
| gsl_matrix * | Mevec |
| gsl_matrix * | CC |
| gsl_matrix * | CC1 |
| gsl_matrix * | CCinv |
| gsl_permutation * | permM |
| gsl_eigen_symmv_workspace * | ws |
| unsigned int | wsdim |
| double | chi2best |
| double | chi2new |
| double | chi2old |
| double | fvalbest |
| double | scale |
| double | scalebest |
| double | stepsize |
| double | stepbest |
| double | scalevals [NITMAX] |
| double | fvals [NITMAX] |
| int | imerit |
| int | debug |
Definition at line 38 of file NewtonFitterGSL.h.
|
protectedinherited |
Definition at line 92 of file BaseFitter.h.
|
protectedinherited |
Definition at line 96 of file BaseFitter.h.
|
protectedinherited |
Definition at line 91 of file BaseFitter.h.
|
protectedinherited |
Definition at line 95 of file BaseFitter.h.
|
protectedinherited |
Definition at line 93 of file BaseFitter.h.
|
protectedinherited |
Definition at line 97 of file BaseFitter.h.
|
protected |
Definition at line 104 of file NewtonFitterGSL.h.
|
private |
Definition at line 162 of file NewtonFitterGSL.h.
| NewtonFitterGSL | ( | ) |
Constructor.
Definition at line 53 of file NewtonFitterGSL.cc.
|
virtual |
Virtual destructor.
Definition at line 70 of file NewtonFitterGSL.cc.
|
virtualinherited |
Definition at line 74 of file BaseFitter.cc.
|
virtualinherited |
Definition at line 60 of file BaseFitter.cc.
|
virtualinherited |
Definition at line 54 of file BaseFitter.cc.
|
virtualinherited |
Definition at line 48 of file BaseFitter.cc.
|
virtualinherited |
Definition at line 89 of file BaseFitter.cc.
|
virtualinherited |
Definition at line 83 of file BaseFitter.cc.
|
virtualinherited |
Definition at line 101 of file BaseFitter.cc.
|
virtualinherited |
Definition at line 95 of file BaseFitter.cc.
|
protectedvirtual |
|
protected |
Definition at line 1012 of file NewtonFitterGSL.cc.
|
protected |
Calculate the vector dx to update the parameters; returns fail code, 0=OK.
Definition at line 503 of file NewtonFitterGSL.cc.
|
protected |
Calculate the vector dx to update the parameters; returns fail code, 0=OK.
Definition at line 548 of file NewtonFitterGSL.cc.
|
protected |
Definition at line 766 of file NewtonFitterGSL.cc.
|
protected |
Definition at line 829 of file NewtonFitterGSL.cc.
|
staticprotected |
Definition at line 680 of file NewtonFitterGSL.cc.
|
staticprotected |
Definition at line 688 of file NewtonFitterGSL.cc.
|
protected |
Definition at line 741 of file NewtonFitterGSL.cc.
|
protected |
Definition at line 719 of file NewtonFitterGSL.cc.
|
overridevirtual |
The fit method, returns the fit probability.
Implements BaseFitter.
Definition at line 128 of file NewtonFitterGSL.cc.
|
overridevirtual |
Get the chi**2 of the last fit.
Implements BaseFitter.
Definition at line 499 of file NewtonFitterGSL.cc.
|
virtualinherited |
Definition at line 112 of file BaseFitter.cc.
|
overridevirtual |
Get the number of degrees of freedom of the last fit.
Implements BaseFitter.
Definition at line 500 of file NewtonFitterGSL.cc.
|
overridevirtual |
Get the error code of the last fit: 0=OK, 1=failed.
Implements BaseFitter.
Definition at line 497 of file NewtonFitterGSL.cc.
|
virtualinherited |
Definition at line 107 of file BaseFitter.cc.
|
virtualinherited |
|
virtualinherited |
|
overridevirtual |
Get the number of iterations of the last fit.
Implements BaseFitter.
Definition at line 501 of file NewtonFitterGSL.cc.
|
virtual |
Get the number of hard constraints of the last fit.
Definition at line 695 of file NewtonFitterGSL.cc.
|
virtual |
Get the number of all parameters of the last fit.
Definition at line 698 of file NewtonFitterGSL.cc.
|
virtual |
Get the number of soft constraints of the last fit.
Definition at line 696 of file NewtonFitterGSL.cc.
|
virtual |
Get the number of unmeasured parameters of the last fit.
Definition at line 697 of file NewtonFitterGSL.cc.
|
overridevirtual |
Get the fit probability of the last fit.
Implements BaseFitter.
Definition at line 498 of file NewtonFitterGSL.cc.
|
virtualinherited |
Definition at line 117 of file BaseFitter.cc.
|
virtualinherited |
Definition at line 130 of file BaseFitter.cc.
|
virtualinherited |
Definition at line 134 of file BaseFitter.cc.
|
staticprotected |
Definition at line 669 of file NewtonFitterGSL.cc.
|
staticprotected |
Definition at line 646 of file NewtonFitterGSL.cc.
|
staticprotected |
Definition at line 657 of file NewtonFitterGSL.cc.
|
overridevirtual |
Initialize the fitter.
Implements BaseFitter.
Definition at line 394 of file NewtonFitterGSL.cc.
|
protected |
Definition at line 986 of file NewtonFitterGSL.cc.
|
protected |
Definition at line 1120 of file NewtonFitterGSL.cc.
|
protected |
Definition at line 1138 of file NewtonFitterGSL.cc.
|
protected |
Definition at line 861 of file NewtonFitterGSL.cc.
|
protected |
Print a Matrix M and a vector y of dimension idim.
Definition at line 488 of file NewtonFitterGSL.cc.
|
virtualinherited |
Definition at line 122 of file BaseFitter.cc.
|
virtual |
Set the Debug Level.
Definition at line 1006 of file NewtonFitterGSL.cc.
|
virtualinherited |
Definition at line 143 of file BaseFitter.cc.
|
virtualinherited |
Definition at line 138 of file BaseFitter.cc.
|
protected |
Definition at line 700 of file NewtonFitterGSL.cc.
|
private |
Definition at line 146 of file NewtonFitterGSL.h.
|
private |
Definition at line 147 of file NewtonFitterGSL.h.
|
private |
Definition at line 148 of file NewtonFitterGSL.h.
|
protected |
final chi2
Definition at line 114 of file NewtonFitterGSL.h.
|
private |
Definition at line 154 of file NewtonFitterGSL.h.
|
private |
Definition at line 155 of file NewtonFitterGSL.h.
|
private |
Definition at line 156 of file NewtonFitterGSL.h.
|
protectedinherited |
Definition at line 100 of file BaseFitter.h.
|
protectedinherited |
global covariance matrix of last fit problem
Definition at line 104 of file BaseFitter.h.
|
protectedinherited |
dimension of global covariance matrix
Definition at line 103 of file BaseFitter.h.
|
protectedinherited |
Flag whether global covariance is valid.
Definition at line 105 of file BaseFitter.h.
|
private |
Definition at line 168 of file NewtonFitterGSL.h.
|
private |
Definition at line 128 of file NewtonFitterGSL.h.
|
private |
Definition at line 129 of file NewtonFitterGSL.h.
|
protectedinherited |
Definition at line 99 of file BaseFitter.h.
|
protected |
fit probability
Definition at line 113 of file NewtonFitterGSL.h.
|
private |
Definition at line 157 of file NewtonFitterGSL.h.
|
private |
Definition at line 164 of file NewtonFitterGSL.h.
|
private |
Definition at line 130 of file NewtonFitterGSL.h.
|
private |
Definition at line 124 of file NewtonFitterGSL.h.
|
protected |
Error status.
Definition at line 110 of file NewtonFitterGSL.h.
|
private |
Definition at line 166 of file NewtonFitterGSL.h.
|
private |
Definition at line 138 of file NewtonFitterGSL.h.
|
private |
Definition at line 140 of file NewtonFitterGSL.h.
|
private |
Definition at line 141 of file NewtonFitterGSL.h.
|
private |
Definition at line 142 of file NewtonFitterGSL.h.
|
private |
Definition at line 143 of file NewtonFitterGSL.h.
|
private |
Definition at line 144 of file NewtonFitterGSL.h.
|
private |
Definition at line 136 of file NewtonFitterGSL.h.
|
private |
Definition at line 145 of file NewtonFitterGSL.h.
|
private |
Definition at line 139 of file NewtonFitterGSL.h.
|
protected |
total number of hard constraints
Definition at line 107 of file NewtonFitterGSL.h.
|
protected |
Number of iterations.
Definition at line 111 of file NewtonFitterGSL.h.
|
protected |
total number of parameters
Definition at line 106 of file NewtonFitterGSL.h.
|
protected |
total number of soft constraints
Definition at line 108 of file NewtonFitterGSL.h.
|
protected |
total number of unmeasured parameters
Definition at line 109 of file NewtonFitterGSL.h.
|
private |
Definition at line 150 of file NewtonFitterGSL.h.
|
private |
Definition at line 133 of file NewtonFitterGSL.h.
|
private |
Definition at line 158 of file NewtonFitterGSL.h.
|
private |
Definition at line 159 of file NewtonFitterGSL.h.
|
private |
Definition at line 163 of file NewtonFitterGSL.h.
|
protectedinherited |
Definition at line 101 of file BaseFitter.h.
|
private |
Definition at line 161 of file NewtonFitterGSL.h.
|
private |
Definition at line 160 of file NewtonFitterGSL.h.
|
protectedinherited |
Definition at line 108 of file BaseFitter.h.
|
inherited |
Definition at line 112 of file BaseFitter.h.
|
private |
Definition at line 134 of file NewtonFitterGSL.h.
|
private |
Definition at line 135 of file NewtonFitterGSL.h.
|
private |
Definition at line 151 of file NewtonFitterGSL.h.
|
private |
Definition at line 152 of file NewtonFitterGSL.h.
|
private |
Definition at line 125 of file NewtonFitterGSL.h.
|
private |
Definition at line 127 of file NewtonFitterGSL.h.
|
private |
Definition at line 126 of file NewtonFitterGSL.h.
|
private |
Definition at line 131 of file NewtonFitterGSL.h.
|
private |
Definition at line 132 of file NewtonFitterGSL.h.