Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ParticleHPThreadLocalManager Class Reference

#include <G4ParticleHPThreadLocalManager.hh>

Public Member Functions

G4ParticleHPReactionWhiteBoardGetReactionWhiteBoard ()
 
void OpenReactionWhiteBoard ()
 
void CloseReactionWhiteBoard ()
 

Static Public Member Functions

static G4ParticleHPThreadLocalManagerGetInstance ()
 

Friends

class G4ThreadLocalSingleton< G4ParticleHPThreadLocalManager >
 

Detailed Description

Definition at line 40 of file G4ParticleHPThreadLocalManager.hh.

Member Function Documentation

◆ CloseReactionWhiteBoard()

void G4ParticleHPThreadLocalManager::CloseReactionWhiteBoard ( )

Definition at line 80 of file G4ParticleHPThreadLocalManager.cc.

81{
82 delete RWB;
83 RWB=0;
84}

Referenced by G4ParticleHPManager::CloseReactionWhiteBoard().

◆ GetInstance()

◆ GetReactionWhiteBoard()

G4ParticleHPReactionWhiteBoard * G4ParticleHPThreadLocalManager::GetReactionWhiteBoard ( )

Definition at line 70 of file G4ParticleHPThreadLocalManager.cc.

71{
72 if ( !RWB )
73 {
74 G4cout << "Warning: try to access G4ParticleHPReactionWhiteBoard before opening" << G4endl;
76 }
77 return RWB;
78}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout

Referenced by G4ParticleHPManager::GetReactionWhiteBoard().

◆ OpenReactionWhiteBoard()

void G4ParticleHPThreadLocalManager::OpenReactionWhiteBoard ( )

Definition at line 58 of file G4ParticleHPThreadLocalManager.cc.

59{
60 if ( RWB )
61 {
62 G4cout << "Warning: G4ParticleHPReactionWhiteBoard is tried doubly opening" << G4endl;
63 return;
64 }
65
67}

Referenced by G4ParticleHPManager::OpenReactionWhiteBoard().

Friends And Related Function Documentation

◆ G4ThreadLocalSingleton< G4ParticleHPThreadLocalManager >


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