RooFit: Select components of RooAddPdf for evaluation

Hello, experts,
I have fit a RooAddPdf model to a dataset and am able to plot the signal and background contributions of this model. However, I would like to be able to evaluate the signal and background components independently for different values of the dependent variable. Is there a way to access the individual components (as is done, e.g., when plotting) in order to evaluate these functions (using, e.g., getVal()).
Apologies if this is a well-known feature or has been addressed elsewhere. I tried to do an exhaustive forum/web search. The closest I could find was this (still open) question: [ … ent#p80693](Roofit evaluating components of a rooaddpdf

Thanks muchly!

See [Roofit evaluating components of a rooaddpdf