HistFactory plotting of components broken in ROOT 6.16/00

After merge of https://github.com/root-project/root/pull/3508, HistFactory no longer supports component plotting using plotOn. I’ve been able to reproduce this with publicly available code here: https://indico.cern.ch/event/509900/contributions/2031935/

The original fits were developed, and should look like this:
https://indico.cern.ch/event/509900/contributions/2031935/attachments/1265020/1872055/histfactory.pdf slide 23

But now the fits default to any component selection taking on the total PDF shape.
I’ve attached the reproduced plots with the latest ROOT version here:

after_change_in_root_version_1.pdf (58.6 KB)
after_change_in_root_version2.pdf (23.0 KB)

Any help would be appreciated in fixing this.

Hi @adam.davis,

Thanks for reporting! We will look into that.

https://sft.its.cern.ch/jira/browse/ROOT-10098

@StephanH Thanks for looking as well!

Access denied. Could you post the relevant snippet here or on the JIRA ticket?

Sure thing, I’ll post it on the JIRA