root
root copied to clipboard
[RF] Multiple RooAddPdf improvements that also speed up the evaluation in BatchMode
This PR applies several improvements to the RooAddPdf class:
- Avoid code duplication of
updateCoefficients()with RooAddModel - Reduce footprint of cache object by using
std::vectorand avoid creating dummy RooRealVars - Avoid redundant computation of raw coefficient values in BatchMode, which fixes performance problems in important fits like the ATLAS Higgs combination
More details can be found in the commit descriptions.
@phsft-bot build
Starting build on ROOT-debian10-i386/soversion, ROOT-performance-centos8-multicore/cxx17, ROOT-ubuntu18.04/nortcxxmod, ROOT-ubuntu2004/python3, mac1015/cxx17, mac11/cxx14, windows10/cxx14
How to customize builds
Build failed on windows10/cxx14. Running on null:C:\build\workspace\root-pullrequests-build See console output.
Failing tests:
- projectroot.roottest.root.meta.MakeProject.roottest_root_meta_MakeProject_stl_makeproject_test_build
- projectroot.roottest.root.meta.MakeProject.roottest_root_meta_MakeProject_examples
- projectroot.roottest.root.meta.MakeProject.roottest_root_meta_MakeProject_stltest
- projectroot.roottest.root.meta.MakeProject.roottest_root_meta_MakeProject_stltest2