36 #ifndef __OPALFITTERGSL_H
37 #define __OPALFITTERGSL_H
42 #include <gsl/gsl_vector.h>
43 #include <gsl/gsl_matrix.h>
44 #include <gsl/gsl_permutation.h>
103 virtual double fit();
120 virtual double getChi2()
const;
122 virtual int getDoF()
const;
138 virtual bool initialize();
141 virtual void setDebug (
int debuglevel);
146 virtual bool updateFitObjects (
double etaxi[]);
147 enum {NPARMAX=50, NCONMAX=20, NUNMMAX=20};
159 static void ini_gsl_permutation (gsl_permutation *&p,
unsigned int size);
160 static void ini_gsl_vector (gsl_vector *&v,
int unsigned size);
161 static void ini_gsl_matrix (gsl_matrix *&m,
int unsigned size1,
unsigned int size2);
163 static void debug_print (gsl_matrix *m,
const char *name);
164 static void debug_print (gsl_vector *v,
const char *name);
173 gsl_matrix *SinvFeta;
189 gsl_vector *FetaTlambda;
194 gsl_vector *Vinvy_eta;
198 gsl_permutation *permS;
199 gsl_permutation *permU;
200 gsl_permutation *permV;
206 #endif // __OPALFITTERGSL_H
virtual double fit()
Definition: OPALFitterGSL.cc:156
virtual int getNsoft() const
Get the number of soft constraints of the last fit.
Definition: OPALFitterGSL.cc:1123
Abstract base class for fitting engines of kinematic fits.
Definition: BaseFitter.h:63
virtual int getNunm() const
Get the number of unmeasured parameters of the last fit.
Definition: OPALFitterGSL.cc:1124
Description of the fit algorithm and interface:
Definition: OPALFitterGSL.h:99
Declares class BaseFitter.
virtual int getNpar() const
Get the number of all parameters of the last fit.
Definition: OPALFitterGSL.cc:1125
virtual int getDoF() const
Get the number of degrees of freedom of the last fit.
Definition: OPALFitterGSL.cc:1065
virtual double getProbability() const
Get the fit probability of the last fit.
Definition: OPALFitterGSL.cc:1063
virtual void setDebug(int debuglevel)
Set the Debug Level.
Definition: OPALFitterGSL.cc:1105
virtual int getError() const
Return error code.
Definition: OPALFitterGSL.cc:1062
virtual int getIterations() const
Get the number of iterations of the last fit.
Definition: OPALFitterGSL.cc:1066
virtual double getChi2() const
Get the chi**2 of the last fit.
Definition: OPALFitterGSL.cc:1064
Abstract base class for constraints of kinematic fits.
Definition: BaseConstraint.h:85
virtual int getNcon() const
Get the number of hard constraints of the last fit.
Definition: OPALFitterGSL.cc:1122
Abstract base class for particle objects of kinematic fits.
Definition: BaseFitObject.h:110