Getting area under a Gaussian peak


I’m trying to find the area under a gaussian peak in my TF1 fit function using the width of the fitted peak (or possibly width of the histogram bins), and the amplitude. Is there a way of doing this without using the integral command or switching to TSpectrum?


See this old post (in the old “TH1F variable bin width” thread) and / or that old post (in the old “How to find the area error using peakfind.C" thread).