Geant4 11.1.1
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 58 of file G4RNGHelper.hh.
using G4TemplateRNGHelper< T >::SeedsQueueSize_type = typename SeedsQueue::size_type |
Definition at line 59 of file G4RNGHelper.hh.
|
virtual |
Definition at line 97 of file G4RNGHelper.cc.
|
inline |
Definition at line 80 of file G4RNGHelper.hh.
|
inlinevirtual |
Definition at line 113 of file G4RNGHelper.hh.
|
inline |
Definition at line 83 of file G4RNGHelper.hh.
Referenced by G4MTRunManager::InitializeEventLoop(), and G4TaskRunManager::InitializeEventLoop().
|
static |
Definition at line 42 of file G4RNGHelper.cc.
Referenced by G4WorkerRunManager::GenerateEvent(), G4WorkerTaskRunManager::GenerateEvent(), G4MTRunManager::InitializeEventLoop(), G4TaskRunManager::InitializeEventLoop(), G4MTRunManager::RefillSeeds(), G4TaskRunManager::RefillSeeds(), G4TaskRunManager::SetUpAnEvent(), G4MTRunManager::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 78 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 71 of file G4RNGHelper.cc.
G4TemplateRNGHelper< G4String > * G4TemplateRNGHelper< G4String >::GetInstanceIfExist | ( | ) |
Definition at line 90 of file G4RNGHelper.cc.
|
inline |
Definition at line 110 of file G4RNGHelper.hh.
|
inlinevirtual |
Definition at line 64 of file G4RNGHelper.hh.
Referenced by G4WorkerRunManager::GenerateEvent(), G4WorkerTaskRunManager::GenerateEvent(), G4TaskRunManager::SetUpAnEvent(), G4MTRunManager::SetUpAnEvent(), G4MTRunManager::SetUpNEvents(), and G4TaskRunManager::SetUpNEvents().
|
inline |
Definition at line 96 of file G4RNGHelper.hh.
Referenced by G4MTRunManager::RefillSeeds(), and G4TaskRunManager::RefillSeeds().
|
protected |
Definition at line 121 of file G4RNGHelper.hh.
Referenced by G4TemplateRNGHelper< T >::Fill(), and G4TemplateRNGHelper< T >::Refill().
|
protected |
Definition at line 122 of file G4RNGHelper.hh.
Referenced by G4TemplateRNGHelper< T >::Fill().
|
protected |
Definition at line 123 of file G4RNGHelper.hh.
Referenced by G4TemplateRNGHelper< T >::Fill(), and G4TemplateRNGHelper< T >::Refill().
|
protected |
Definition at line 120 of file G4RNGHelper.hh.
Referenced by G4TemplateRNGHelper< T >::Fill(), G4TemplateRNGHelper< T >::GetSeed(), and G4TemplateRNGHelper< T >::Refill().
|
protected |
Definition at line 117 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().