Hello,
Is there a way to add calculated quantities to the statistics box for a fit? In other words, If I integrate to determine the number of events under a gaussian peak, and various other quantities, how might I add them to a box?
Also, is there a way to print only particular fit parameters of interest? Say I have a gaussian plus a polynomial background, but am only interested in the fit parameters of the gaussian, how to I code for this?
in you example, the stats box is something like the top stats box of the attachment. I would like to know if it is possible to align the parameter name on the left and the values on the right, just like the bottom stats box of the attachment.
I did this alignment replacing
TLatex *myt = new TLatex(0,0,Form("Integral %g",integral) );
by
TLatex *myt = new TLatex(0,0,Form("Integral %g",integral) );
Just another question, is there a way to set the same font for the added line and the stats box. I tried to add the line