8 #if ROOT_VERSION_CODE >= ROOT_VERSION(6, 33, 1) 18 for (
int i = 0;
i <
size; ++
i) {
23 fn = (
x - par[0]) / (par[1] * 1.4142);
24 fn =
N * (1. - TMath::Erf(
fn)) / 2.;
33 LogDebug(
"CSC") <<
" AFEB threshold fit " <<
i + 1 <<
" " <<
x <<
" " <<
y <<
" " << er <<
" " <<
fn <<
" " <<
chi2 34 <<
" " << par[0] <<
" " << par[1] <<
"\n";
std::vector< float > ydata
std::vector< float > xdata
data
double operator()(std::span< const double >) const override
Provide the chi-squared function for the given data.