Setting different yields for different categories

I use a pdf RooBCPGenDecay which takes a categorical variable tag as an input. I want to extend the pdf with different yields for the two different tag values, however I have only a single pdf. What is the proper way to do this?

Hi,

Let me add to the discussion @jonas .

Cheers,
D