Worker-thread initialization that honours remage's RNG configuration. More...
#include <RMGWorkerInitialization.hh>


Public Member Functions | |
| void | SetupRNGEngine (const CLHEP::HepRandomEngine *aRNGEngine) const override |
| Install the user-selected random engine on this worker, or fall back to Geant4's. | |
Worker-thread initialization that honours remage's RNG configuration.
Mixin template parameterized on a Geant4 worker initialization (e.g. G4UserWorkerThreadInitialization or G4UserTaskThreadInitialization). When the user has explicitly selected a random engine through RMGManager, that engine is installed on the worker thread; otherwise Geant4's default per-thread seeding strategy is used.