Dear all,
I’m trying to create a new RooDataSet which has several weights, I tried something like:
RooDataSet *ds = new RooDataSet(Form("%s_RooDataSet", obsname.c_str()), “dataset”,
objets, RooFit::Import(*tcut),
RooFit::Cut(cuts.c_str()),
RooFit::WeightVar(v_weights[1].c_str()),RooFit::WeightVar(v_weights[0].c_str()));
but it seems that it is using only the last weight that I’m providing… could someone tell me how to give the 2 weights to the RooDataSet?
Thanks a lot!