diff --git a/test/stressRooFit_tests.h b/test/stressRooFit_tests.h index 1f34591ca46dc7..c7e2d21556e878 100644 --- a/test/stressRooFit_tests.h +++ b/test/stressRooFit_tests.h @@ -3435,6 +3435,7 @@ class TestBasic403 : public RooUnitTest // Instruct dataset d in interpret w as event weight rather than as observable RooDataSet dataw(data->GetName(),data->GetTitle(),data,*data->get(),0,w->GetName()) ; + dataw.convertToVectorStore(); //data->setWeightVar(*w) ; diff --git a/tutorials/roofit/rf208_convolution.C b/tutorials/roofit/rf208_convolution.C index bc71a6430315fc..d01f06620c07d9 100644 --- a/tutorials/roofit/rf208_convolution.C +++ b/tutorials/roofit/rf208_convolution.C @@ -60,8 +60,14 @@ void rf208_convolution() // Sample 1000 events in x from gxlx RooDataSet *data = lxg.generate(t, 10000); + RooArgList list; + lxg.treeNodeServerList(&list); + list.Print(); + + //return; + // Fit gxlx to data - lxg.fitTo(*data); + lxg.fitTo(*data, BatchMode(1)); // Plot data, landau pdf, landau (X) gauss pdf RooPlot *frame = t.frame(Title("landau (x) gauss convolution"));