Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 6.22/00
-
Fix Version/s: 6.22/02
-
Component/s: RooFit/RooStats
-
Labels:None
-
Environment:
Debian 10
Ubuntu 18.04
-
Development:
Description
When creating a RooSimultaneous that has a RooSimultaneous as a component, ROOT 6.22.00 fails outputting messages like
[#0] ERROR:InputArguments -- RooSimultaneous::addPdf(pdf): index state '{Kpi;FB}' has already an associated PDF.
|
The same code works with previous versions.
A simple MWE can be created by adding the following lines to rf501_simultaneouspdf.C, just above the simPdf.fitTo(combData); line
RooCategory channel_cat("channel_cat", "channel_cat");
|
channel_cat.defineType("Kpi");
|
std::map<std::string, RooAbsPdf*> pdf_map;
|
pdf_map["Kpi"] = &simPdf;
|
RooSimultaneous superSimPdf("superSimPdf", "superSimPdf", pdf_map, channel_cat);
|
The code fails to execute, emitting
[#0] ERROR:InputArguments -- RooSimultaneous::addPdf(superSimPdf): index state '{Kpi;physics}' has already an associated PDF.
|
Attachments
Issue Links
- duplicates
-
ROOT-10913 RooCategory doesn't update its label when its state is dirty.
-
- Closed
-