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!