Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to set the randomseed via parameter (or something) #38

Closed
andresailer opened this issue Aug 10, 2021 · 0 comments · Fixed by #52
Closed

Allow to set the randomseed via parameter (or something) #38

andresailer opened this issue Aug 10, 2021 · 0 comments · Fixed by #52

Comments

@andresailer
Copy link
Collaborator

marlin::Global::parameters->add("RandomSeed", {"123456"});

Also check that this actually does something.
On first call to ProcessorMGR::instance() the processormgr is instantiated, which also instantiates the EventSeeder, which takes the randomseed from the global parameters. So this RandomSeed could already be used, but I don't remember any more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant