Hi,
i’m learning how to use TDataFrame but I have a question:
how can i weight events in a Histo1D like doing?
mytree->Draw("a_variable>>myhisto","eventweight","");
for example I have an histogram like this one and I want to apply to it the weight eventweight like in the previous line:
auto myhisto = selected_events.Histo1D({"myhisto", "myhisto", 10, 1, 11}, "avariable");
Federico
ROOT Version:
Platform, compiler:
