MnHesse examples


I am struggling to implement the MnHesse function in Minuit2. Is there an example (c++) available for a call where a minimum has been found? I tried Minos but I am constantly getting the error message:

MnMinos.cxx:90: ROOT::Minuit2::MinosError ROOT::Minuit2::MnMinos::Minos(unsigned int, unsigned int, double) const: Assertion `fMinimum.IsValid()’ failed.


Oh sorry for the stupid question I figured it quite fast. I just had to look at he MnHesse.h file!

I have loads of local minima in the measured data so that makes the gradient calcs dogy and they give me a seg-fault. However when I used the min from previous opt then it works perfectly fine!