Multidimensional adaptive binning

Dear all,

I tried to find some information related to adaptive binning with root, roofit or roostats, but it seems that I can’t find what the good answer.
I would like to make adaptive binning on a 2D plot (like a Dalitz plot). I am quite sure that such thing already exists somewhere within root, but I can’t find it.

Would you have an idea how to do that?

Thanks a lot for your help.

Best
Baptiste

Hi,
What are you looking for exactly ? We have a class in ROOT, called TKDTreeBinning, see root.cern.ch/root/htmldoc/TKDTreeBinning.html
and its linked tutorial

which builds adaptive bins in multi-dimensions with the requirement that the number of content is equal in all bins.

Best Regards

Lorenzo