Saving the other data points in a legend on a Histogram

Hi, So I know if I Want to save the mean, its GetMean(1) and if I want the value of a RooRealVal I can use .getVal();

What I need is to obtain the sigma from a Gaussian fit. Is there a code snippet that does this?
As you can see below, the data is in the legend, I just want to download and save it as my code currently doesn’t print every single graph (it only prints like 1% of the graphs I produce and that’s annoying as it is!


Thanks for your help!

Assuming that you executed something like FLPullHisto->Fit(“gaus”, …); try:
FLPullHisto->GetFunction(“gaus”)->GetParameter(“Sigma”)
FLPullHisto->GetFunction(“gaus”)->GetParameter(2)

Thank you! :smiley: