I used TBrowser to open one .root file and show the histograms.
I used the right-click on the plot to select “ProjectionX” and one new TH1D was created and shown in the list of current root file. Yes, this TH1D can be shown correctly.
But when I close the TBrowser and exit root terminal, and reopen this root file in TBrowser, and this projection TH1D was no longer there.
Who knows how to save the TH1D from projection in the .root file?
Thanks a lot.