Fill a RooFitResult from scratch

Hi,

for several reasons, after performing a fit I want to save the RooFitResult to a text-readable format (for example, something like YAML) to be able to load it after from PyROOT. This should be relatively easy with its set* methods, but unfortunately they are protected. Is there any way around this?

Albert

If there’s no Roofit internal solution, you can always cheat with dirty C++ tricks :slight_smile: Look at the code here http://cpp.sh/4kpb4

Wow! That’s a neat trick :wink: I wonder if I could do the same from python…

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