-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[RF] Several improvements to RooClassFactory #13624
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
Conversation
179e90f to
515ade0
Compare
515ade0 to
ee72f8a
Compare
|
Starting build on |
This is to enable support for expressions representing the complicated amplitudes in partial wave analysis.
This should preserve backwards compatibility, because `const char*` implicitly casts to `std::string`.
If you call `makePdfInstance` or `makeFunctionInstance` twice in a row with the same arguments, the RooClassFactory should not have to recompile anything. This is particularly important to support the jupyter notebook workflow, where the same cell might be run several times. In fact, before this commit, calling the `makeClassInstance` function twice in a row with the same arguments resulted in a crash.
|
Build failed on ROOT-ubuntu2004/python3. |
|
Build failed on ROOT-ubuntu2204/nortcxxmod. Failing tests: |
lmoneta
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thank you for this improvement!
sympyfor examplestd::stringinstead of C-style strings