Geant4
10.00.p03
|
#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 (double *dbl, int nev, int nev_tot, int nrpe) |
void | Refill (double *dbl, int nev) |
const SeedsQueueSize_type | GetNumberSeeds () const |
virtual void | Clear () |
Static Public Member Functions | |
static G4TemplateRNGHelper * | GetInstance () |
Protected Attributes | |
SeedsQueue | seeds |
int | offset |
int | nev_filled |
int | nev_total |
int | nRandParEvent |
Private Member Functions | |
G4TemplateRNGHelper () | |
template<> | |
G4TemplateRNGHelper< long > * | instance |
template<> | |
G4TemplateRNGHelper< G4String > * | instance |
Static Private Attributes | |
static G4TemplateRNGHelper * | instance |
Definition at line 47 of file G4RNGHelper.hh.
typedef std::vector<T> G4TemplateRNGHelper< T >::SeedsQueue |
Definition at line 59 of file G4RNGHelper.hh.
typedef SeedsQueue::size_type G4TemplateRNGHelper< T >::SeedsQueueSize_type |
Definition at line 60 of file G4RNGHelper.hh.
|
inlineprivate |
Definition at line 63 of file G4RNGHelper.hh.
References G4TemplateRNGHelper< T >::nev_filled, G4TemplateRNGHelper< T >::nev_total, and G4TemplateRNGHelper< T >::offset.
Referenced by G4TemplateRNGHelper< T >::GetInstance().
|
inlinevirtual |
Definition at line 71 of file G4RNGHelper.hh.
References G4TemplateRNGHelper< T >::Clear().
|
inline |
Definition at line 92 of file G4RNGHelper.hh.
References G4TemplateRNGHelper< T >::seeds.
|
inlinevirtual |
Definition at line 120 of file G4RNGHelper.hh.
References G4TemplateRNGHelper< T >::seeds.
Referenced by G4TemplateRNGHelper< T >::~G4TemplateRNGHelper().
|
inline |
Definition at line 95 of file G4RNGHelper.hh.
References L, G4TemplateRNGHelper< T >::nev_filled, G4TemplateRNGHelper< T >::nev_total, G4TemplateRNGHelper< T >::nRandParEvent, G4TemplateRNGHelper< T >::offset, and G4TemplateRNGHelper< T >::seeds.
Referenced by G4MTRunManager::InitializeEventLoop().
|
inlinestatic |
Definition at line 52 of file G4RNGHelper.hh.
References G4TemplateRNGHelper< T >::G4TemplateRNGHelper(), and G4TemplateRNGHelper< T >::instance().
Referenced by G4WorkerRunManager::GenerateEvent(), G4MTRunManager::InitializeEventLoop(), G4MTRunManager::RefillSeeds(), G4MTRunManager::SetUpAnEvent(), and G4MTRunManager::SetUpNEvents().
|
inline |
Definition at line 117 of file G4RNGHelper.hh.
References G4TemplateRNGHelper< T >::seeds.
|
inlinevirtual |
Definition at line 77 of file G4RNGHelper.hh.
References FatalException, G4Exception(), G4TemplateRNGHelper< T >::offset, and G4TemplateRNGHelper< T >::seeds.
Referenced by G4WorkerRunManager::GenerateEvent(), G4MTRunManager::SetUpAnEvent(), and G4MTRunManager::SetUpNEvents().
|
private |
Definition at line 31 of file G4RNGHelper.cc.
Referenced by G4TemplateRNGHelper< T >::GetInstance().
|
private |
Definition at line 34 of file G4RNGHelper.cc.
|
inline |
Definition at line 106 of file G4RNGHelper.hh.
References L, G4TemplateRNGHelper< T >::nev_filled, G4TemplateRNGHelper< T >::nRandParEvent, G4TemplateRNGHelper< T >::offset, and G4TemplateRNGHelper< T >::seeds.
Referenced by G4MTRunManager::RefillSeeds().
|
staticprivate |
Definition at line 49 of file G4RNGHelper.hh.
|
protected |
Definition at line 126 of file G4RNGHelper.hh.
Referenced by G4TemplateRNGHelper< T >::Fill(), G4TemplateRNGHelper< T >::G4TemplateRNGHelper(), and G4TemplateRNGHelper< T >::Refill().
|
protected |
Definition at line 127 of file G4RNGHelper.hh.
Referenced by G4TemplateRNGHelper< T >::Fill(), and G4TemplateRNGHelper< T >::G4TemplateRNGHelper().
|
protected |
Definition at line 128 of file G4RNGHelper.hh.
Referenced by G4TemplateRNGHelper< T >::Fill(), and G4TemplateRNGHelper< T >::Refill().
|
protected |
Definition at line 125 of file G4RNGHelper.hh.
Referenced by G4TemplateRNGHelper< T >::Fill(), G4TemplateRNGHelper< T >::G4TemplateRNGHelper(), G4TemplateRNGHelper< T >::GetSeed(), and G4TemplateRNGHelper< T >::Refill().
|
protected |
Definition at line 122 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().