Geant4-11
|
#include <G4ParticlesWorkspace.hh>
Public Types | |
using | pool_type = G4TWorkspacePool< G4ParticlesWorkspace > |
Public Member Functions | |
void | DestroyWorkspace () |
G4ParticlesWorkspace (G4bool verbose=false) | |
G4bool | GetVerbose () |
void | InitialiseWorkspace () |
void | ReleaseWorkspace () |
void | SetVerbose (G4bool v) |
void | UseWorkspace () |
~G4ParticlesWorkspace () | |
Static Public Member Functions | |
static pool_type * | GetPool () |
Protected Member Functions | |
void | InitialiseParticles () |
Private Attributes | |
G4PDefData * | fpPDefOffset = nullptr |
G4PDefManager * | fpPDefSIM = nullptr |
G4bool | fVerbose = false |
Definition at line 50 of file G4ParticlesWorkspace.hh.
Definition at line 54 of file G4ParticlesWorkspace.hh.
G4ParticlesWorkspace::G4ParticlesWorkspace | ( | G4bool | verbose = false | ) |
Definition at line 43 of file G4ParticlesWorkspace.cc.
References fpPDefOffset, fpPDefSIM, G4PDefManager::GetOffset(), G4ParticleDefinition::GetSubInstanceManager(), and InitialiseWorkspace().
G4ParticlesWorkspace::~G4ParticlesWorkspace | ( | ) |
Definition at line 56 of file G4ParticlesWorkspace.cc.
void G4ParticlesWorkspace::DestroyWorkspace | ( | ) |
Definition at line 105 of file G4ParticlesWorkspace.cc.
References fpPDefSIM, and G4PDefManager::FreeSlave().
|
static |
Definition at line 38 of file G4ParticlesWorkspace.cc.
References anonymous_namespace{G4ParticlesWorkspace.cc}::thePool.
Referenced by G4WorkerThread::BuildGeometryAndPhysicsVector(), and G4WorkerThread::DestroyGeometryAndPhysicsVector().
|
inline |
|
protected |
void G4ParticlesWorkspace::InitialiseWorkspace | ( | ) |
Definition at line 82 of file G4ParticlesWorkspace.cc.
References fpPDefSIM, fVerbose, G4cout, G4endl, InitialiseParticles(), and G4PDefManager::NewSubInstances().
Referenced by G4ParticlesWorkspace().
void G4ParticlesWorkspace::ReleaseWorkspace | ( | ) |
Definition at line 72 of file G4ParticlesWorkspace.cc.
References fpPDefSIM, and G4PDefManager::UseWorkArea().
|
inline |
void G4ParticlesWorkspace::UseWorkspace | ( | ) |
Definition at line 60 of file G4ParticlesWorkspace.cc.
References fpPDefOffset, fpPDefSIM, fVerbose, G4cout, G4endl, and G4PDefManager::UseWorkArea().
|
private |
Definition at line 83 of file G4ParticlesWorkspace.hh.
Referenced by G4ParticlesWorkspace(), and UseWorkspace().
|
private |
Definition at line 77 of file G4ParticlesWorkspace.hh.
Referenced by DestroyWorkspace(), G4ParticlesWorkspace(), InitialiseWorkspace(), ReleaseWorkspace(), and UseWorkspace().
|
private |
Definition at line 86 of file G4ParticlesWorkspace.hh.
Referenced by GetVerbose(), InitialiseWorkspace(), SetVerbose(), and UseWorkspace().