I am fitting a gaussian to the data, then in order to see that if mt fit is good or bad, what code I should use to get Chi squared value? roomodel.cpp (1.4 KB)
you might not be able to execute it as you do not have that root file, but can you please tell me the code which I should use to get Chi squared value.