1 #ifndef __JFIT__JREGRESSOR__
2 #define __JFIT__JREGRESSOR__
13 namespace JPP {
using namespace JFIT; }
24 template<
class JModel_t>
26 public JMessage< JAbstractMinimiser<JModel_t> >
43 template<
class JFunction_t,
class T>
44 double operator()(
const JFunction_t& fit, T __begin, T __end)
48 for (T i = __begin; i != __end; ++i) {
49 chi2 += fit(
value, *i);
74 public JMinimiser_t<JModel_t>
89 double operator()(
const JModel_t& value, T __begin, T __end)
107 template<
class T1,
class T2>
109 T1 __begin1, T1 __end1,
110 T2 __begin2, T2 __end2)
Template definition of a data regressor of given model.
JMinimiser_t< JModel_t > minimiser_type
double operator()(const JModel_t &value, T1 __begin1, T1 __end1, T2 __begin2, T2 __end2)
Global fit.
double operator()(const JModel_t &value, T __begin, T __end)
Global fit.
double operator()(const JFunction_t &fit, T __begin, T __end)
Get chi2.
JRegressor< JModel_t, JMinimiser_t > regressor_type
Regressor function object for JPoint4D fit using JSimplex minimiser.
General purpose messaging.
JAbstractMinimiser()
Default constructor.
JModel_t value
model value
Abstract class for global fit method.
Auxiliary class for handling debug parameter within a class.