Plotting uncertainties with RooPlot

I have a fitted PDF which I can plot with RooPlot. How can I do this with uncertainties (in a way which allows the central values and uncertainties to be extracted programatically)?

How to plot uncertainties is shown in the tutorials:
https://root.cern/doc/master/rf610__visualerror_8C.html

More details on what this does:
https://root.cern/doc/master/classRooAbsReal.html#ad524171ebdc5ce401e506fb124bf567f

I assume that you need the more accurate, slower version if the accuracy of the errors is of relevance.

If you want to extract errors programmatically, you could try to retrieve the TGraph(Errors) that visualises the error band.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.