Problem of weights while using RooDataSet->append()

I think what you are looking for might have been discussed here: