Hi rooters,
I have a question.
Is it possible to fit a TH1 object with a user-defined function F, that is NOT possible to describe with a formula?
The result of my fit should give the best factor to normalize F to the histogram.
Thanks in advance.
Tina
lopez
2
You can use C functions to return the value you need for a given set of input parameters.
See this example:
https://root.cern.ch/doc/master/classTF1.html#F4
You can implement a method to lookup the value in your table and return it with a C function.
system
Closed
3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.