markrosslonergan / Elephant_Vanishes

PROfit a PROfessional PROductive neutrino oscillation fitting, systematic and statistics framework
0 stars 0 forks source link

random number central generator setup and seed through PROconfig? #54

Open markrosslonergan opened 1 month ago

markrosslonergan commented 1 month ago

One thing we may want to do in future is setup random number generator more centrally. Currently in the Poisson throw code you setup the mersenne twister, std::mt19937, inside the function. If we start to have more calls to random numbers, e.g in FC proceedures and such, we may want to have this setup once (maybe in PROconfig with seed info) and passed as needed. I will add an issue to remind us but its not an urgent thing for now