Two years late, but I just recently solved a problem of a similar nature (see this thread: [url]Slice in plotOn() picking only the last category noticed that your “apples” and peaches" plots look the model is plotting the same slice. Try this: replace
RooSimultaneous *simPdf;
simPdf = builder.buildPdf(*configuration,&combData);
with
RooArgSet deps(<list of parameters in combData>);
RooSimultaneous *simPdf;
simPdf = builder.buildPdf(*configuration,deps);