23 #ifndef MODELFITTING_LOGCHISQUARECOMPARATOR_H
24 #define MODELFITTING_LOGCHISQUARECOMPARATOR_H
60 double operator()(
double real,
double model,
double weight)
const {
61 double val = weight * (real - model) /
m_u0;
Data vs model comparator which computes a modified residual.
double operator()(double real, double model, double weight) const
Returns the modified residual.
LogChiSquareComparator(double u0=10.)
Creates a new LogChiSquareComparator instance with the given .