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

[RF] Support non-uniform binnings in codegen to enable AD for non-uniform template fits #17452

Merged
merged 2 commits into from
Jan 19, 2025

Conversation

guitargeek
Copy link
Contributor

Support the code generation also for template histograms with
non-uniform binning, to enable automatic differentiation for template
fits with non-uniform bins.

This was requested both by CMS and ATLAS users, because they use
non-uniform binnings in their Higgs combinations.

Support the code generation also for template histograms with
non-uniform binning, to enable automatic differentiation for template
fits with non-uniform bins.

This was requested both by CMS and ATLAS users, because they use
non-uniform binnings in their Higgs combinations.
If RooFit is build standalone, the interpreter doesn't automatically
include its header files. That's why we need to manually include the
header with the implementation details of the code generation.
Otherwise, the dispatching to the translate functions doesn't work in
RooFit standalone.
Copy link

Test Results

    18 files      18 suites   3d 23h 37m 33s ⏱️
 2 695 tests  2 695 ✅ 0 💤 0 ❌
46 780 runs  46 780 ✅ 0 💤 0 ❌

Results for commit 30d6a48.

@dpiparo dpiparo self-requested a review January 18, 2025 15:24
Copy link
Member

@pcanal pcanal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There does not seem to be any new test? Is this already covered by existing test?

@guitargeek
Copy link
Contributor Author

@pcanal, thanks for the question! I explained in-line where this is tested. Can you please approve the PR? Even though Danilo approved it, I can't merge it because your change request is blocking the merge. Thanks!

@guitargeek guitargeek merged commit 72b497d into root-project:master Jan 19, 2025
20 of 21 checks passed
@guitargeek guitargeek deleted the non-uniform-bins branch January 19, 2025 13:42
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