I have to do gauss fitting of many TH1F plots. When I fit multiple plots using loop in my macro, I get the fit parameter showing up in the terminal, and its impractical to copy paste each value (I don’t want to show this plots, so putting the fit parameters in histograms is useless). I need only the mean value and corresponding errors. Is there any commands/codes to put in my macro so that I can save this fit parameter in an ascii / text file ?