i am reading a *.csv into a TTree, then I plot a graph from it.
I then make the TSpline on this graph, which works fine.
Then I call TSpline->GetCoeff, and write those values in an array for each node. I then plot the arrays I want to see.
What puzzles me, is that “c”, the second coefficient, always seems to be missing factor 2.
So when I make .csv-files with numerical defined x^2, 2x^2 and x^3, I get 1, 2, and 3*x for “c”.
This is true for both TSpline3 and TSpline5.
This is, what the source-file says about the coefficient:
Double_t fC; // second order expansion coefficient : fC*2! is the second derivative at x