TH1D to TH2D

Hi folks,

I’m currently trying to build a TH2D from several TH1D.
Can anybody explain to me how best to proceed or if there are Methods already available?

Best regards

I just read what you meant more carefully. I’m not sure if there is an easy way of doing this. Perhaps using TArrayD perhaps?

Sorry I can’t be of more help.

I would do it “by hand” looping on all TH1D, and TH1D bins and fill the corresponding bins of the TH2D