ROOT::Fit::Chi2FCN

Hi rooters

I have a very simple question where the answer seems almost obvious but just to be sure: I would like to fit a user defined function to a graph where I do not know the errors associated with the data could some one tell me what objective function is returned when I call ROOT::Fit::Chi2FCN?

cheers

Mark