Status: Resolved (View Workflow)
since ROOT version 5.32.00, I am experiencing a different behavior when using ProjWData in plotting. Attached is a macro that demostrate it. I have a model that uses per-event lifetime errors (tauErr). With large number of data, the plotting of the model takes a very long time. Therefore, we implemented this to speed it up:
RooDataHist projData("projData", "projData",tauErr,data);
and then using ProjWData(projData) in the plotting. This seem to work until ROOT version 5.30.06, but since 5.32.00 the plot is broken. Without the speeding "fix" above the plotting is correct (ommiting ProjWData(projData) from the lines 121-124).
Is it a feature of the new ROOT/RooFit version or a bug ? If it is a feature, is there another way how to speed up the plotting ?
A small data file for reproducing can be found here:
- is duplicated by
ROOT-9861 [RF] RooCmdArgs copy pointers to temporaries