Skip to content
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

[v634][RF] Backports of recent fixes and improvements #17370

Merged
merged 6 commits into from
Jan 7, 2025

Conversation

guitargeek
Copy link
Contributor

Backports of recent fixes and improvements in RooFit to the 6.34 branch.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Since we're not calling `ClearProxiedObjects()` anymore anyway, we don't
need the hack to avoid it.
The RooCrystalBall class didn't have getters to its parameters yet,
which we generally need for all commonly-used PDFs for model inspection
and IO (other than IO with ROOT files).
Support also `createNLL` in case of partially-extended simultaneous fits
with the new default CPU backend (and hence also "codegen").

This problem was reported by @gartrog in private communication.

Add also a corresponding test.
This is useful to avoid manual casting of the return value to
`RooArgSet *`.

Other methods, like `selectByName` already do this.
It was forgotten to call `delete` on the return value of
`selectByAttrib`. Wrapping the return value in a `std::unique_ptr` fixes
the problem.
@guitargeek guitargeek self-assigned this Jan 7, 2025
@guitargeek guitargeek merged commit a53dc49 into root-project:v6-34-00-patches Jan 7, 2025
18 of 20 checks passed
@guitargeek guitargeek deleted the bp_1 branch January 7, 2025 22:56
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.

None yet

1 participant