Skip to content

Conversation

@guitargeek
Copy link
Contributor

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).

  1. [RF] Fix signature of RooWorkspace::getSnapshots() #12119
  2. [RF] New tutorial about bias and numeric issues in binned fits #12056
  3. [RF] xroofit improvements #12103

Related to #11856.

guitargeek and others added 4 commits January 26, 2023 15:58
For ROOT 6.26, the `RooWorkspace::getSnapshots()` method was introduced
in commit 460a58c.

However, the signature was not what it should have been: it returned a
copy of the snaphot list instead of a `const` reference.

This is fixed now, which also uncovered a bug in some RooStats code
where the snapshots are supposed to be transferred from one workspace to
another, but they were just appended to the new list that was returned
by `getSnapshots()`, so whe whole code had no effect.

This is fixed now by correctly using `RooWorkspace::saveSnapshot()`.
A new `rf614_binned_fit_problems` tutorial is added in both C++ and
Python.
This gets rid of the define private public etc "hacks" that we previously
present.

There are a number of other improvements made in recent weeks too, these are
all detailed in commits in the main xroofit repo.
@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 856c933 into root-project:v6-28-00-patches Jan 26, 2023
@guitargeek guitargeek deleted the v6-28-00-patches_roofit_backports_9 branch January 26, 2023 16:27
@phsft-bot
Copy link

Build failed on mac11/cxx14.
Running on macphsft23.dyndns.cern.ch:/Users/sftnight/build/workspace/root-pullrequests-build
See console output.

Errors:

  • [2023-01-26T17:24:45.478Z] CMake Error at /Users/sftnight/build/workspace/root-pullrequests-build/rootspi/jenkins/root-build.cmake:1138 (message):

@phsft-bot
Copy link

Build failed on ROOT-debian10-i386/soversion.
Running on pcepsft10.dyndns.cern.ch:/build/workspace/root-pullrequests-build
See console output.

Errors:

  • [2023-01-26T17:32:27.106Z] 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.

3 participants