Multi-dimensional binning

Hi, is it possible to impose binning in multiple dimensions?
Say for example I have an ntuple with 5 variables, what I want to do is to rewrite this as a histogram or if not as an ntuple



It is not clear what is exactly your request. I suggest you to have a look at the multi-dimensional histogram class THnSparse. See: