RooFit: how to import weighted dataset

From: Anton Korneev <tosha_korneev_at_tut.by>
Date: Wed, 10 Mar 2010 17:14:08 +0100


Hello friends,

in the latest version of roofit (root 5.26) function RooDataSet::setWeightVar() was deprecated and now I have a problem to import text file with 'weight' column. To show a problem I prepare short script, which follows documentation from: http://root.cern.ch/root/html526/RooDataSet.html#RooDataSet:RooDataSet%2

but do not work. Can you take a look?
I am expecting that "sumEntries" in script output have to be sum of all weights of input file.

Thanks,
Anton

Received on Wed Mar 10 2010 - 17:14:15 CET

This archive was generated by hypermail 2.2.0 : Wed Mar 10 2010 - 23:50:02 CET