Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <G4RNGHelper.hh>
Public Types | |
using | SeedsQueue = std::vector<T> |
using | SeedsQueueSize_type = typename SeedsQueue::size_type |
Public Member Functions | |
virtual | ~G4TemplateRNGHelper () |
virtual const T | GetSeed (const G4int &sdId) |
void | AddOneSeed (const T &seed) |
void | Fill (G4double *dbl, G4int nev, G4int nev_tot, G4int nrpe) |
void | Refill (G4double *dbl, G4int nev) |
const SeedsQueueSize_type | GetNumberSeeds () const |
virtual void | Clear () |
G4TemplateRNGHelper< G4long > * | GetInstance () |
G4TemplateRNGHelper< G4long > * | GetInstanceIfExist () |
G4TemplateRNGHelper< G4String > * | GetInstance () |
G4TemplateRNGHelper< G4String > * | GetInstanceIfExist () |
Static Public Member Functions | |
static G4TemplateRNGHelper< T > * | GetInstance () |
static G4TemplateRNGHelper< T > * | GetInstanceIfExist () |
Protected Attributes | |
SeedsQueue | seeds |
G4int | offset = 0 |
G4int | nev_filled = 0 |
G4int | nev_total = 0 |
G4int | nRandParEvent = 0 |
Definition at line 51 of file G4RNGHelper.hh.
using G4TemplateRNGHelper< T >::SeedsQueue = std::vector<T> |
Definition at line 54 of file G4RNGHelper.hh.
using G4TemplateRNGHelper< T >::SeedsQueueSize_type = typename SeedsQueue::size_type |
Definition at line 55 of file G4RNGHelper.hh.
|
virtual |
Definition at line 94 of file G4RNGHelper.cc.
|
inline |
Definition at line 79 of file G4RNGHelper.hh.
|
inlinevirtual |
Definition at line 109 of file G4RNGHelper.hh.
|
inline |
Definition at line 82 of file G4RNGHelper.hh.
Referenced by G4MTRunManager::InitializeEventLoop(), and G4TaskRunManager::InitializeEventLoop().
|
static |
Definition at line 43 of file G4RNGHelper.cc.
Referenced by G4WorkerRunManager::GenerateEvent(), G4WorkerTaskRunManager::GenerateEvent(), G4MTRunManager::InitializeEventLoop(), G4TaskRunManager::InitializeEventLoop(), G4MTRunManager::RefillSeeds(), G4TaskRunManager::RefillSeeds(), G4MTRunManager::SetUpAnEvent(), G4TaskRunManager::SetUpAnEvent(), G4MTRunManager::SetUpNEvents(), and G4TaskRunManager::SetUpNEvents().
G4TemplateRNGHelper< G4long > * G4TemplateRNGHelper< G4long >::GetInstance | ( | ) |
Definition at line 60 of file G4RNGHelper.cc.
G4TemplateRNGHelper< G4String > * G4TemplateRNGHelper< G4String >::GetInstance | ( | ) |
Definition at line 77 of file G4RNGHelper.cc.
|
static |
Definition at line 53 of file G4RNGHelper.cc.
Referenced by G4RunManagerKernel::~G4RunManagerKernel().
G4TemplateRNGHelper< G4long > * G4TemplateRNGHelper< G4long >::GetInstanceIfExist | ( | ) |
Definition at line 70 of file G4RNGHelper.cc.
G4TemplateRNGHelper< G4String > * G4TemplateRNGHelper< G4String >::GetInstanceIfExist | ( | ) |
Definition at line 87 of file G4RNGHelper.cc.
|
inline |
Definition at line 106 of file G4RNGHelper.hh.
|
inlinevirtual |
Definition at line 64 of file G4RNGHelper.hh.
Referenced by G4WorkerRunManager::GenerateEvent(), G4WorkerTaskRunManager::GenerateEvent(), G4MTRunManager::SetUpAnEvent(), G4TaskRunManager::SetUpAnEvent(), G4MTRunManager::SetUpNEvents(), and G4TaskRunManager::SetUpNEvents().
|
inline |
Definition at line 94 of file G4RNGHelper.hh.
Referenced by G4MTRunManager::RefillSeeds(), and G4TaskRunManager::RefillSeeds().
|
protected |
Definition at line 116 of file G4RNGHelper.hh.
Referenced by G4TemplateRNGHelper< T >::Fill(), and G4TemplateRNGHelper< T >::Refill().
|
protected |
Definition at line 117 of file G4RNGHelper.hh.
Referenced by G4TemplateRNGHelper< T >::Fill().
|
protected |
Definition at line 118 of file G4RNGHelper.hh.
Referenced by G4TemplateRNGHelper< T >::Fill(), and G4TemplateRNGHelper< T >::Refill().
|
protected |
Definition at line 115 of file G4RNGHelper.hh.
Referenced by G4TemplateRNGHelper< T >::Fill(), G4TemplateRNGHelper< T >::GetSeed(), and G4TemplateRNGHelper< T >::Refill().
|
protected |
Definition at line 112 of file G4RNGHelper.hh.
Referenced by G4TemplateRNGHelper< T >::AddOneSeed(), G4TemplateRNGHelper< T >::Clear(), G4TemplateRNGHelper< T >::Fill(), G4TemplateRNGHelper< T >::GetNumberSeeds(), G4TemplateRNGHelper< T >::GetSeed(), and G4TemplateRNGHelper< T >::Refill().