I attach a 2D gauss fitting example (modified from a 1D gauss fitting exmaple given on this forum). Cloning the function:
for 1D gauss worked, but for 2D gauss ROOT cannot find any function under the address returned by this Clone(). How to access it properly?
The other problem is… why such a simple 2D sample does not converge with Minuit (although it converges with Fumili)?
exampleGradFit2D.C (4.9 KB)