[RF] Enable passing of gradient function directly to RooMinimizer
After my previous work on the RooFit minimizer interfaces, it is relatively easy to allow passing a custom gradient function to the RooMinimizer constructor. The interface might still evolve in the future, but this commit is still a milestone because now we can get actual `RooFitResult` objects that were obtained minimizing a RooFuncWrapper that wraps both the likelihood and the gradient code. Some helper functionality that was originally in the new RooFuncWrapper class but that is not needed anymore with the new minimizer interface was removed.
Showing
- roofit/roofitcore/inc/RooFuncWrapper.h 4 additions, 14 deletionsroofit/roofitcore/inc/RooFuncWrapper.h
- roofit/roofitcore/inc/RooMinimizer.h 5 additions, 0 deletionsroofit/roofitcore/inc/RooMinimizer.h
- roofit/roofitcore/src/RooFuncWrapper.cxx 0 additions, 9 deletionsroofit/roofitcore/src/RooFuncWrapper.cxx
- roofit/roofitcore/src/RooMinimizerFcn.cxx 27 additions, 4 deletionsroofit/roofitcore/src/RooMinimizerFcn.cxx
- roofit/roofitcore/src/RooMinimizerFcn.h 1 addition, 0 deletionsroofit/roofitcore/src/RooMinimizerFcn.h
- roofit/roofitcore/test/testRooFuncWrapper.cxx 33 additions, 45 deletionsroofit/roofitcore/test/testRooFuncWrapper.cxx
Loading
Please register or sign in to comment