Skip to content
Snippets Groups Projects
Commit 7c1ca29d authored by Jonas Rembser's avatar Jonas Rembser
Browse files

[RF] Don't clone plot variable in `RooAbsReal::plotOn`

The plot variable of the RooPlot is cloned in the implementation of
`RooAbsReal::plotOn`, probably not to disturb it's original state.

This commit suggests to not clone the variable and instead reset its
value to the original value at the end of `plotOn`.

These changes enable the plotting of functions that use the RooFitDriver
internally for evaluation, which is not meant for copying and server
redirection.
parent 8679898a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment