Is there any documentation or a tutorial macro which illustrates how to generate datasets with an index from a RooSimultaneous pdf. I have a rough idea (perhaps completely wrong!) that in order to generate a dataset with a certain number of entries per index category, one needs to define a prototype dataset, but I’m not clear on exactly what needs to be done. Could anyone provide a brief example and save me scrutinizing the source code for an answer?
Many thanks in advance,