44 R3BLOG(info,
"called for " << fSpline->GetNp() <<
" points");
46 TArrayF* p =
new TArrayF(5);
48 for (
int n = 0; n < fSpline->GetNp(); n++)
52 fSpline->GetKnot(n, a[0], a[1]);
53 fSpline->GetCoeff(n, b[0], b[1], b[2], b[3], b[4]);
75 fSpline =
new TSpline3(
"spline_func", fxmin, fxmax, (TF1*)0, fMaxPoints);
76 TArrayF* p =
new TArrayF(5);
78 for (
int n = 0; n < fMaxPoints; n++)
82 if (list->fill(name, p))
84 fSpline->SetPoint(n, p->GetAt(0), p->GetAt(1));
85 fSpline->SetPointCoeff(n, p->GetAt(2), p->GetAt(3), p->GetAt(4));
102 R3BLOG(info,
"for " << fSpline->GetName());
104 for (
int n = 0; n < fSpline->GetNp(); n++)
108 fSpline->GetKnot(n, a[0], a[1]);
109 fSpline->GetCoeff(n, b[0], b[1], b[2], b[3], b[4]);
110 LOG(info) <<
"CutPoint" << n <<
": " << a[0] <<
" ; " << a[1];
111 LOG(info) <<
"CutPoint" << n <<
": " << b[0] <<
" ; " << b[1] <<
" ; " << b[2];
116 R3BLOG(warn,
"Spline parameters not found");