Hi ROOTers,
I want to get the content of a specific bin in a THn (or THnSparse). I can locate the bin on each axis by doing
myTHn->GetAxis(2)->FindBin(34)
(numbers here are jusrt an example) but then I can not use the GetBinContent(bin)
function, since it requires as input the global bin index and not one index for each axis.
Is there a way to do this?
_ROOT Version: 6.18/00
_Platform: Linux 3.10.0-1127.13.1.el7.x86_64