I’ve been experiencing some troubles in finding the right instructions to insert in a C++ macro to be run inside ROOT framework (v5.26/00).
I create several TH1D and draw them inside a TCanvas properly divided. Then I change some options such as Stat_box Height or Width and the FIlling color of the pad and of the histos.
moreover I ask to ROOT to perfom a gaussian fit on every TH1D and change the Stat options through the command lines
unfortunately I have 21 of these TCanvases containing 14 TH1D drown inside and fitted, and since I need the fit values of each TH1D stored as a datafile (.out , .txt, or .root for example), I was wondering if it was a method of some class that enable me to do such thing.
Could someone help me???
I’m posting because I already searched through this forum and couldn’t find any thread on this issue of mine.
Please let me know if such thread already exists.