I’m a ROOT newbie and trying to fit a simple linear function but the values of parameters and chi^2/ndf are not coming nice. What am I missing?
I’ve uploaded the cpp file, data file and graph png below.
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided