Hi, I have an input file(including data points, theory value and the error of data points) to calculate chi-square. I want to minimize the chi-square by using a free parameter of data points. How can I use minimization class in root to fid this free parameter.
Hi,
taking a quick look it seems that KinematicFit accepts 4 pointers as arguments but the last 3 arguments that you are passing at line 174 are doubles, not double pointers. Could that be the problem?
In any case I’m afraid this looks like a bug in your code