Skip to content

[RF] Don't disable dirty flag propagation during numeric integrals#21807

Open
guitargeek wants to merge 3 commits intoroot-project:masterfrom
guitargeek:issue-21788
Open

[RF] Don't disable dirty flag propagation during numeric integrals#21807
guitargeek wants to merge 3 commits intoroot-project:masterfrom
guitargeek:issue-21788

Conversation

@guitargeek
Copy link
Copy Markdown
Contributor

Disabling RooFits internal caching with setDirtyInhibit(true) when evaluating numeric integrals can result in huge performance hits when the target function is expensive to compute, for example if it contains a numeric integral itself.

Closes #21788.

This is not needed and causes problems when using non-value servers as
the target function of numeric integrals, in which case the value needs
to be re-set in `RooRealIntegral::evaluate()`, relying on a
correctly set up dirty state propagation.
Disabling RooFits internal caching with `setDirtyInhibit(true)` when
evaluating numeric integrals can result in huge performance hits when
the target function is expensive to compute, for example if it contains
a numeric integral itself.

Closes root-project#21788.
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.

Doxygen documentation stuck on running rs401d_FeldmanCousins.C

1 participant