...
TFile *f = new TFile("visualizzazione.root","RECREATE");
...
f->Write();
I obtain a ROOT file with my histogram without the grid, and a object “hgrid” there is only the axis.
Now, is there a method to obtain a ROOT file with the final result?
And a method for obtain directly a jpg file?
I know that is normal.
if I run the program I obtain immediately the result that I want, without open the TBrowser.
If I open the TBrowser and the ROOT file, that I obtain from program, I have the two object, but I don’t have the result that I want.