remage
Simulation framework for HPGe-based experiments
 
Loading...
Searching...
No Matches
RMGWorkerInitialization< ThreadInitialization > Class Template Reference

Worker-thread initialization that honours remage's RNG configuration. More...

#include <RMGWorkerInitialization.hh>

Inheritance diagram for RMGWorkerInitialization< ThreadInitialization >:
Collaboration diagram for RMGWorkerInitialization< ThreadInitialization >:

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.
 

Detailed Description

template<typename ThreadInitialization>
class RMGWorkerInitialization< ThreadInitialization >

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.


The documentation for this class was generated from the following file: