-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[v628][RF] Backports of RooFit PRs to v6-28-00-patches: Part 11
#12321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v628][RF] Backports of RooFit PRs to v6-28-00-patches: Part 11
#12321
Conversation
`_mode` is the analytical integral code, not the integral operation mode
|
Starting build on |
This reformatting is done now because the files will be changed in the following commit, and the differences to the ROOT code style were already minor
Trying to make a documentation page for RooBrowser
Since a few weeks, having pdfs with the same name in a RooSimultaneous fit with BatchMode didn't work anymore. This was because when setting up the computation graph for a given normalization set, all pdfs are cloned and redirected with `RooAbsArg::redirectServers()`, which doesn't work if servers have the same name. This commit suggests to instead delete the pdf servers and proxies and then recreate them by hand. Also, the logic of `RooSimultaneous::compileForNormSet()` was updated to iterate directly over the pdfs instead of iterating over the index categories and then getting the pdfs. The unit tests in `testAbsPdf` are now also parametrized to cover both BatchMode on and off, such that the case of the `RooSimultaneous` with one pdf in used in two channels is also covered buy the tests for BatchMode.
In `RooAbsCategoryLValue::setBin()`, there is a check for passing a named binning, because the function doesn't support named binnings. However, if a binning with that name doesn't exist, it is fine to not error out, because the default range is used.
In particular, use less TString.
Also, use `nullptr` instead of `0` literal in `getBinningPtr()`.
The code branch without a proto data in `RooGenContext` already did this, and now it's also done when using proto dataset generation. Closes root-project#12286.
57e4c9e to
4c1558c
Compare
|
Starting build on |
|
Build failed on ROOT-ubuntu2004/python3. Errors:
|
This is a backport of all the relevant RooFit PRs that were recently merged to master to v6-28-00-patches (in the right order, to not have the commit history diverge too much).
RooAbsCategoryLValue::setBin()for non-existing ranges #12305Related to #12319.