Geant4
10.02.p02
|
#include <G4UniformRandPool.hh>
Public Member Functions | |
G4UniformRandPool () | |
G4UniformRandPool (G4int ps) | |
~G4UniformRandPool () | |
void | Resize (G4int newSize) |
void | GetMany (G4double *rnds, G4int howMany) |
G4double | GetOne () |
G4int | GetPoolSize () const |
Static Public Member Functions | |
static G4double | flat () |
static void | flatArray (G4int howmany, G4double *rnds) |
Private Member Functions | |
void | Fill (G4int howmany) |
Private Attributes | |
G4int | size |
G4double * | buffer |
G4int | currentIdx |
Definition at line 54 of file G4UniformRandPool.hh.
G4UniformRandPool::G4UniformRandPool | ( | ) |
Definition at line 103 of file G4UniformRandPool.cc.
References buffer, create_pool(), create_pool_align(), Fill(), and size.
Referenced by flat(), and flatArray().
G4UniformRandPool::G4UniformRandPool | ( | G4int | ps | ) |
Definition at line 117 of file G4UniformRandPool.cc.
References buffer, create_pool(), create_pool_align(), Fill(), and size.
G4UniformRandPool::~G4UniformRandPool | ( | ) |
Definition at line 132 of file G4UniformRandPool.cc.
References buffer, destroy_pool(), and destroy_pool_align().
|
inlineprivate |
Definition at line 101 of file G4UniformRandPool.hh.
References buffer, currentIdx, and size.
Referenced by G4UniformRandPool(), GetMany(), and GetOne().
|
static |
Definition at line 231 of file G4UniformRandPool.cc.
References G4UniformRandPool(), and G4AutoDelete::Register().
Definition at line 241 of file G4UniformRandPool.cc.
References G4UniformRandPool(), and G4AutoDelete::Register().
Definition at line 156 of file G4UniformRandPool.cc.
References buffer, currentIdx, Fill(), and size.
|
inline |
Definition at line 84 of file G4UniformRandPool.hh.
References buffer, currentIdx, Fill(), and size.
|
inline |
Definition at line 96 of file G4UniformRandPool.hh.
References size.
void G4UniformRandPool::Resize | ( | G4int | newSize | ) |
Definition at line 144 of file G4UniformRandPool.cc.
References buffer, create_pool(), currentIdx, destroy_pool(), and size.
|
private |
Definition at line 80 of file G4UniformRandPool.hh.
Referenced by Fill(), G4UniformRandPool(), GetMany(), GetOne(), Resize(), and ~G4UniformRandPool().
|
private |
|
private |
Definition at line 79 of file G4UniformRandPool.hh.
Referenced by Fill(), G4UniformRandPool(), GetMany(), GetOne(), GetPoolSize(), and Resize().