_ROOT Version: 6.18
Could you, please, explain, how to use TH2 constructor without arguments correctly.
Let’s say, I create an object:
“TH2I *hist = new TH2I();”
Then I set some name and then I should set some axis parameters. I do it using:
“hist->GetXaxis()->Set(nbinsx, xleft, xright)” and the same for y axis.
But what else i should do for correct working with this histogram, because that not enough: the histogram isn’t filled when only previous settings were done (that’s what i see from the results of my testing).