TH2F SetBinContent(bin, value)

I’m not quite sure how’s the SetBinContent (or the Get) works using (bin, value) and not (binx, biny, value)…

I see that when I want to fill the following histogram
TH2F *temp = new TH2F(“temp”, “temp”, 2, 0, 1, 2, 0, 1);
it doesn’t work filling (0,value)->…->(4,value)

Thanks in advance,
Stefanos

Hello, you should read this explanation.