24 #ifndef _MODELFITTING_ENGINE_ASINHCHISQUARECOMPARATOR_H_
25 #define _MODELFITTING_ENGINE_ASINHCHISQUARECOMPARATOR_H_
29 namespace ModelFitting {
46 double operator()(
double real,
double model,
double weight)
const {
47 double val = weight * (real - model) /
m_u0;
Data vs model comparator which computes a modified residual, using asinh.
double operator()(double real, double model, double weight) const
Returns the modified residual.
AsinhChiSquareComparator(double u0=10)