Skip to content

Conversation

@guitargeek
Copy link
Contributor

Backport some fixes for RooFit to the release branch.

ferdymercury and others added 4 commits November 17, 2025 12:00
(cherry picked from commit 95fe1d8)
Since a8ef8b0, any RooAbsPdf that makes a prediction for the expected
number of events will use this prediction for the normalization when
plotting.

This made is more meaningful to compare models with data because the
model normalization was not automatically scaled to match the data.

However, it also broke plots with projections of RooSimultaneous pdfs
over data, because the temporary RooAddPdf that is created in this case
did not use coefficients that were scaled to the actual dataset, but to
unity. Correctly normalizing to the sum of entries in the dataset fixes this
problem.

A unit test is also implemented.

Closes root-project#20383.

(cherry picked from commit 61735d8)
Avoid warning about duplicate command arguments by removing old
arguments when overriding them.

(cherry picked from commit d4b150c)
Just like in any other getter for the inputs of RooFit functions, the
`RooPolyVar::x()` getter should return the underlying RooAbsReal,
instead of the internal proxy.

Closes root-project#20293.

(cherry picked from commit 66cd6ae)
@guitargeek guitargeek self-assigned this Nov 17, 2025
@guitargeek guitargeek changed the title [v636][RF] Backport recent RooFit bugfixes [v638][RF] Backport recent RooFit bugfixes Nov 17, 2025
@github-actions
Copy link

Test Results

    22 files      22 suites   3d 20h 50m 6s ⏱️
 3 708 tests  3 367 ✅   0 💤 341 ❌
79 623 runs  78 203 ✅ 741 💤 679 ❌

For more details on these failures, see this check.

Results for commit 8c5b1ff.

@guitargeek guitargeek merged commit f1e7d46 into root-project:v6-38-00-patches Nov 17, 2025
26 of 30 checks passed
@guitargeek guitargeek deleted the bp_1 branch November 17, 2025 13:34
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.

2 participants