I would like to know a simple way to create a 2D array of TH1F
For the moment, what I’m doing is
TH1F **histo = new TH1F[nbins1][nbins2] (nbins2 is = 10)
but this does not work. It tells me
error: cannot convert ‘TH1F (*)[10]’ to ‘TH1F**’ in initialization
I had a look at this but wanted to know if there was a simpler solution.