Geant4  10.01.p01
G4WorkerThread Class Reference

#include <G4WorkerThread.hh>

Public Member Functions

void SetThreadId (G4int threadId)
 
G4int GetThreadId () const
 
void SetNumberThreads (G4int numnberThreads)
 
G4int GetNumberThreads () const
 

Static Public Member Functions

static void BuildGeometryAndPhysicsVector ()
 
static void DestroyGeometryAndPhysicsVector ()
 
static void UpdateGeometryAndPhysicsVectorFromMaster ()
 

Private Attributes

G4int threadId
 
G4int numThreads
 

Detailed Description

Definition at line 42 of file G4WorkerThread.hh.

Member Function Documentation

void G4WorkerThread::BuildGeometryAndPhysicsVector ( )
static

Definition at line 57 of file G4WorkerThread.cc.

References G4SolidsWorkspacePool::CreateAndUseWorkspace(), G4TWorkspacePool< T >::CreateAndUseWorkspace(), G4GeometryWorkspacePool::CreateAndUseWorkspace(), G4SolidsWorkspacePool::GetInstance(), G4GeometryWorkspacePool::GetInstance(), G4ParticlesWorkspace::GetPool(), and G4PhysicsListWorkspace::GetPool().

Referenced by tbbTask::execute(), and G4MTRunManagerKernel::StartThread().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4WorkerThread::DestroyGeometryAndPhysicsVector ( )
static

Definition at line 70 of file G4WorkerThread.cc.

References G4SolidsWorkspace::DestroyWorkspace(), G4GeometryWorkspace::DestroyWorkspace(), G4SolidsWorkspacePool::GetInstance(), G4GeometryWorkspacePool::GetInstance(), G4ParticlesWorkspace::GetPool(), G4PhysicsListWorkspace::GetPool(), G4SolidsWorkspacePool::GetWorkspace(), G4TWorkspacePool< T >::GetWorkspace(), and G4GeometryWorkspacePool::GetWorkspace().

Referenced by G4MTRunManagerKernel::StartThread().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4WorkerThread::GetNumberThreads ( ) const

Definition at line 45 of file G4WorkerThread.cc.

References numThreads.

G4int G4WorkerThread::GetThreadId ( ) const

Definition at line 35 of file G4WorkerThread.cc.

References threadId.

Referenced by G4MTRunManagerKernel::StartThread(), and G4WorkerRunManager::StoreRNGStatus().

+ Here is the caller graph for this function:

void G4WorkerThread::SetNumberThreads ( G4int  numnberThreads)

Definition at line 40 of file G4WorkerThread.cc.

References numThreads.

Referenced by G4MTRunManager::CreateAndStartWorkers().

+ Here is the caller graph for this function:

void G4WorkerThread::SetThreadId ( G4int  threadId)

Definition at line 30 of file G4WorkerThread.cc.

References threadId.

Referenced by G4MTRunManager::CreateAndStartWorkers().

+ Here is the caller graph for this function:

Member Data Documentation

G4int G4WorkerThread::numThreads
private

Definition at line 57 of file G4WorkerThread.hh.

Referenced by GetNumberThreads(), and SetNumberThreads().

G4int G4WorkerThread::threadId
private

Definition at line 56 of file G4WorkerThread.hh.

Referenced by GetThreadId(), and SetThreadId().


The documentation for this class was generated from the following files: