Dear All, We have a problem to fit a non-equidistant histogram (in root file Counting.root here attached). The macro root file to do that is Counting.root also attached.
The histogram had been created, in another macro, s non-equidistant bins histogram as:
new TH1F(“Counting”,“Countingw”,NP-1,xx); where NP=150, xx[NP] is array of neutron energy, as in the attached file: .
The fit not working except at the end of the histogram. We also tried Tgraph but we have the same thing.
Thank you Vicenzo for your answer.
Is there any thoughts about this issue, we really need to solve it to finish our results. The fitted function is needed .