Including weights when using RDataFrame HistoND()

I had a look to the method documentation for RDataFrame. And I see that the methods Histo1D, Histo2D and Histo3D include prototypes where I can add as argument one column that will serve as a weight.

As for example:

However, I do not see the analogue for HistoND.

Would it be possible to have an example for filling a THnD using RDataFrame::THnD where there is a column that is used as a weight?

Thanks!

Sorry, I see now that it is passed within the column names.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.