RooKeysPdf from the weighted RooDataSet

Hi experts,

I am working on a weighted unbinned RooDataSet object, where the event-weights are changing event by event.

It seems that RooKeysPdf is modeled without weight, from this dataset.

Also, I would like to know why the RooDataSet::weightError(RooAbsData::SumW2) is not working.

Thanks.

Xiaorui

Hi Xiaorui,

What ROOT version are you using?

Wouter

Hi Wouter,

I am using ROOT5.24 … .

So you mean ROOT5.26 will be OK?

Thanks,
Xiaorui

Hi,

The implementation of weights is done correctly in class RooNDKeysPdf
in ROOT 5.26. This class also works in 1 dimension.

I just checked that RooKeysPdf is not yet fixed, I have opened a bug report for this to make sure that this will happen for the next release.

Wouter