Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4RNGHelper.hh>
Public Types | |
typedef std::vector< T > | SeedsQueue |
typedef SeedsQueue::size_type | SeedsQueueSize_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 |
G4int | nev_filled |
G4int | nev_total |
G4int | nRandParEvent |
Definition at line 46 of file G4RNGHelper.hh.
typedef std::vector<T> G4TemplateRNGHelper< T >::SeedsQueue |
Definition at line 52 of file G4RNGHelper.hh.
typedef SeedsQueue::size_type G4TemplateRNGHelper< T >::SeedsQueueSize_type |
Definition at line 53 of file G4RNGHelper.hh.
|
virtual |
Definition at line 83 of file G4RNGHelper.cc.
|
inline |
Definition at line 74 of file G4RNGHelper.hh.
|
inlinevirtual |
Definition at line 107 of file G4RNGHelper.hh.
|
inline |
Definition at line 77 of file G4RNGHelper.hh.
Referenced by G4MTRunManager::InitializeEventLoop(), and G4TaskRunManager::InitializeEventLoop().
|
static |
Definition at line 37 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 52 of file G4RNGHelper.cc.
G4TemplateRNGHelper< G4String > * G4TemplateRNGHelper< G4String >::GetInstance | ( | ) |
Definition at line 67 of file G4RNGHelper.cc.
|
static |
Definition at line 46 of file G4RNGHelper.cc.
Referenced by G4RunManagerKernel::~G4RunManagerKernel().
G4TemplateRNGHelper< G4long > * G4TemplateRNGHelper< G4long >::GetInstanceIfExist | ( | ) |
Definition at line 61 of file G4RNGHelper.cc.
G4TemplateRNGHelper< G4String > * G4TemplateRNGHelper< G4String >::GetInstanceIfExist | ( | ) |
Definition at line 77 of file G4RNGHelper.cc.
|
inline |
Definition at line 104 of file G4RNGHelper.hh.
|
inlinevirtual |
Definition at line 58 of file G4RNGHelper.hh.
Referenced by G4WorkerRunManager::GenerateEvent(), G4WorkerTaskRunManager::GenerateEvent(), G4TaskRunManager::SetUpAnEvent(), G4MTRunManager::SetUpAnEvent(), G4MTRunManager::SetUpNEvents(), and G4TaskRunManager::SetUpNEvents().
|
inline |
Definition at line 90 of file G4RNGHelper.hh.
Referenced by G4MTRunManager::RefillSeeds(), and G4TaskRunManager::RefillSeeds().
|
protected |
Definition at line 114 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().
|
protected |
Definition at line 116 of file G4RNGHelper.hh.
Referenced by G4TemplateRNGHelper< T >::Fill(), and G4TemplateRNGHelper< T >::Refill().
|
protected |
Definition at line 113 of file G4RNGHelper.hh.
Referenced by G4TemplateRNGHelper< T >::Fill(), G4TemplateRNGHelper< T >::GetSeed(), and G4TemplateRNGHelper< T >::Refill().
|
protected |
Definition at line 110 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().