GENIE-MC/Generator

Consider giving a error message instead of crashing when linked to ROOT without TMinuit2 support

Opened this issue · 0 comments

When GENIE is linked against root without Minuit2 built in, running specific model will fail due to

ROOT::Math::Minimizer * min = ROOT::Math::Factory::CreateMinimizer("Minuit2");

will get nullptr, program will crash with SIGSEGV. This can be confusing.