ROOT 6.18, Histo is TH1F.I think it worked when I added those lines:
f->Write()
f->Close()
But it got saved as a histogram. Is it not possible to save it among leaves so I can call it later? If not, is it possible to call the saved histogram and used leaves/branches methods on it? i.e. normalisation.
If not, is it possible to call the saved histogram and used leaves/branches methods on it?
It is possible but is unlikely to be what you want/mean. (you would need to add a branch to the Tree based on the histogram address/pointer and then call Fill … but just once and so there would be one entry for that branch and many entries for all the other branches).
used leaves/branches methods on it? i.e. normalisation.
What do you mean? (and related Where does the content of the histogram comes from?)