Hi all,
Apologies in advance, but I’m a new member of the forum (but a long term lurker) and so cannot post links.
I am seeing an identical error to what was reported in the post titled “ERROR:InputArguments –RooArgSet::checkForDup…”
When running the rf616_morphing tutorial in ROOT v6.36.02 I see:
[#0] ERROR:InputArguments – RooArgSet::checkForDup: ERROR argument with name histpdf0_Int[x] is already in this set
[#0] ERROR:InputArguments – RooArgSet::checkForDup: ERROR argument with name histpdf1_Int[x] is already in this set
[#0] ERROR:InputArguments – RooArgSet::checkForDup: ERROR argument with name histpdf2_Int[x] is already in this set
[#0] ERROR:InputArguments – RooArgSet::checkForDup: ERROR argument with name histpdf3_Int[x] is already in this set
[#0] ERROR:InputArguments – RooArgSet::checkForDup: ERROR argument with name histpdf4_Int[x] is already in this set
In testing this tutorial (and running my own code) to investigate, it seems this is is triggered by various things:
- plotting the morphed PDF (once it has been read from the RooWorkspace)
- creating a NLL from the morphed PDF in the RooWorkspace
- plotting this created NLL
- generating data from a morphed PDF being read in from a RooWorkspace (this one isn’t in the tutorial but was something I tested separately)
These errors are also produced for every PDF that is part of the morphed object, so as you use more granular morphed PDFs these increase. Even though this is apparently an error that can be ignored, when you have many morphing PDFs, this slows so much that it is unable to generate data in a timely manner.
It seems that the commonality between all of these is:
- A morphed PDF is saved to a RooWorkspace
- It is then read directly from the RooWorkspace for some operation
Is there a workaround for this? Or even just an alternative way to generate data from a RooAbsPdf (which is my main use case).
Thanks in advance!