Geant4  10.00.p01
G4WorkerThread Class Reference

AAADEBUG. More...

#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

AAADEBUG.

Definition at line 42 of file G4WorkerThread.hh.

Member Function Documentation

void G4WorkerThread::BuildGeometryAndPhysicsVector ( )
static

Definition at line 79 of file G4WorkerThread.cc.

References G4GeometryWorkspacePool::CreateAndUseWorkspace(), G4SolidsWorkspacePool::CreateAndUseWorkspace(), G4GeometryWorkspacePool::GetInstance(), G4SolidsWorkspacePool::GetInstance(), G4VModularPhysicsList::GetSubInstanceManager(), G4VPhysicsConstructor::GetSubInstanceManager(), G4ParticleDefinition::GetSubInstanceManager(), and G4VUserPhysicsList::GetSubInstanceManager().

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 156 of file G4WorkerThread.cc.

References G4GeometryWorkspace::DestroyWorkspace(), G4SolidsWorkspace::DestroyWorkspace(), G4SolidsWorkspacePool::GetInstance(), G4GeometryWorkspacePool::GetInstance(), G4VModularPhysicsList::GetSubInstanceManager(), G4VPhysicsConstructor::GetSubInstanceManager(), G4VUserPhysicsList::GetSubInstanceManager(), G4SolidsWorkspacePool::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: