Tree ROOT file

Hi,
I am not sure to fully understand your question.
Do you want somehow create a 2D histogram (e.g. TH2D) from two 1D histograms (e.g TH1D)

If this is the case, it isn’t possible.
You could go from one 2D histogram to two 1D histograms, but not the other way.
Passing from 2D to 1D you lost informations that cannot be retrieved.
Look the post below, there is an example explaining why you could not do it