Can the generate within RooAbsPdf set the Random Seed by user?

Hi,

I want to use a known P.D.F.(RooAbsPdf) to generate a series of toy MC samples after the fitting. It works when I only fit once and generate 5000(for example) toy samples. These samples are randomly.

If I want to do the same thing in parallel. Like, split 5 fitting jobs and each fitting generate 1000 samples. The fitting give the same results (of cause) but the toy samples are also the same between each jobs.

Thus, is there a way to set the random seed for the generator?

@moneta or @StephanH can perhaps give an answer?

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.