Hello, I’m having trouble using chi2FitTo with a range specified. Referring to this thread:
https://root-forum.cern.ch/t/behavor-of-chisq2-fit-with-limited-range/39089
I used the modified script that StephanH provided in that thread, but did not get the same result, specifically the chi2 fit with the restricted range gave the same result as the fit with no range specified. Here is the resulting plot:
test.pdf (60.3 KB)
I’m using ROOT 6.19/01 on macosx.
many thanks for your help,
-John Walsh