Skip to content

Conversation

@guitargeek
Copy link
Contributor

`_mode` is the analytical integral code, not the integral operation mode
@phsft-bot
Copy link

Starting build on ROOT-debian10-i386/soversion, ROOT-performance-centos8-multicore/cxx17, ROOT-ubuntu18.04/nortcxxmod, ROOT-ubuntu2004/python3, mac12/noimt, mac11/cxx14, windows10/cxx14
How to customize builds

Enrico Lusiani and others added 10 commits February 15, 2023 12:17
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.
@guitargeek guitargeek force-pushed the v6-28-00-patches_roofit_backports_11 branch from 57e4c9e to 4c1558c Compare February 15, 2023 11:17
@phsft-bot
Copy link

Starting build on ROOT-debian10-i386/soversion, ROOT-performance-centos8-multicore/cxx17, ROOT-ubuntu18.04/nortcxxmod, ROOT-ubuntu2004/python3, mac12/noimt, mac11/cxx14, windows10/cxx14
How to customize builds

@guitargeek guitargeek merged commit 447ba4b into root-project:v6-28-00-patches Feb 16, 2023
@guitargeek guitargeek deleted the v6-28-00-patches_roofit_backports_11 branch February 16, 2023 09:24
@phsft-bot
Copy link

Build failed on ROOT-ubuntu2004/python3.
Running on root-ubuntu-2004-1.cern.ch:/home/sftnight/build/workspace/root-pullrequests-build
See console output.

Errors:

  • [2023-02-16T10:17:20.875Z] CMake Error at /home/sftnight/build/workspace/root-pullrequests-build/rootspi/jenkins/root-build.cmake:1138 (message):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants