allpix::RunManager
A wrapper around G4RunManager that allows us to use our own event seeds.
#include <RunManager.hpp>
Inherits from G4RunManager
Public Functions
Name | |
---|---|
RunManager() | |
~RunManager() override =default | |
void | Run(G4int n_event, uint64_t seed1, uint64_t seed2) Wrapper around G4RunManager::BeamOn that seeds the RNG before calling BeamOn. |
void | AbortRun(G4bool softAbort) override Overriding G4RunManager::AbortRun so as to reset the state to G4State_Idle in order to allow the next event to run BeamOn. |
Public Functions Documentation
function RunManager
RunManager()
function ~RunManager
~RunManager() override =default
function Run
void Run(
G4int n_event,
uint64_t seed1,
uint64_t seed2
)
Wrapper around G4RunManager::BeamOn that seeds the RNG before calling BeamOn.
Parameters:
- n_event number of events (particles) to simulate in one call to BeamOn.
- seed1 First event seed
- seed2 Second event seed
function AbortRun
void AbortRun(
G4bool softAbort
) override
Overriding G4RunManager::AbortRun so as to reset the state to G4State_Idle in order to allow the next event to run BeamOn.
Updated on 2024-12-13 at 08:31:36 +0000