Hi Emily, You can compute the integral of your function before and after the fit using TF1::Integral. See example in $ROOTSYS/tutorials/myfit.C to compute the integral of a function in a range. Rene Brun On Fri, 22 Mar 2002, Emily Nurse wrote: > Hello, > When making using a user defined function in Fit my function is weighted > so as to fit to the data points as best as possible and give the lowest > chi-squared value. This is fine but is there a way of finding out the > amount the function is weighted i.e. the ratio of my original function to > the one produced after the fit? > Thanks in advance, > Emily. >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:47 MET