Skip to content

Conversation

@guitargeek
Copy link
Contributor

This experimental public interface was so far implemented in the
RooFuncWrapper class, but it got lost from the public interface when
that class was merged into the implementation details of the
RooEvaluatorWrapper (in commit 5b9d51d).

Writing the codegen debug macros is however quite useful for developing,
so this commit brings back that functionality as a free function in the
RooFit::Experimental namespace.

These custom pullbacks and pushforwards have the wrong signature so they
were not used anyway. The inline implementations of `TMath::Min()` and
`TMath::Max()` use the C++ ternary operator, which Clad can handle now.
So these user derivatives are also not needed anymore.
This experimental public interface was so far implemented in the
`RooFuncWrapper` class, but it got lost from the public interface when
that class was merged into the implementation details of the
`RooEvaluatorWrapper` (in commit 5b9d51d).

Writing the codegen debug macros is however quite useful for developing,
so this commit brings back that functionality as a free function in the
`RooFit::Experimental` namespace.
@github-actions
Copy link

Test Results

    22 files      22 suites   3d 20h 32m 34s ⏱️
 3 683 tests  3 683 ✅ 0 💤 0 ❌
79 131 runs  79 131 ✅ 0 💤 0 ❌

Results for commit bd6c3f2.

Copy link
Member

@vgvassilev vgvassilev left a comment

Choose a reason for hiding this comment

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

Lgtm!

@guitargeek guitargeek merged commit 259f4e6 into root-project:master Sep 30, 2025
29 checks passed
@guitargeek guitargeek deleted the roofit_ad_debug branch September 30, 2025 17:09
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