redirectServers - Server not redirected

I have a pdf which is a convolution of an exponential with a resolution function (RooBDecay). I create an NLL from this and use it to fit. The fitting portion is fine, however, when I try to use this NLL for any other purposes (eg plotting or importing it to a workspace), I get hit with a redirectServers error which says that the resolution function could not be redirected:

[#0] ERROR:LinkStateMgmt – RooAbsArg::redirectServers(0x55fc1c8fd080,sc_pdf_btag): server res_core (0x55fc0921c4f0) not redirected

What could be done to resolve this? I am saving all my pdfs in a RooWorkspace and loading them if it helps.

Hi,

Could you please provide a reproducer for the issue and share with us which version of ROOT you are using? We can then decide whether an issue on our tracker GitHub · Where software is built is in order.

Thanks!

Cheers,
D

Hi!

I am attaching a MWE and an example dataset. This code fails in ROOT version 6.34.04 with the aforementioned error.

Thanks and regards,
Rishabh

mwe_data.root (14.0 KB)

mwe.py (3.4 KB)

Hi!

This is a gentle reminder for this issue. Thanks!

Thank you for reporting this problem!

I have fixed it now in ROOT:

I’ll also backport it to the ROOT 6.38 and 6.36 patch release branches, so you can benefit for this fix in the upcoming patch releases.

Cheers,
Jonas

Dear Jonas,

Thanks a lot for looking into this and providing a solution.