Geant4 11.2.2
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 67 of file G4ParticleHPThreadLocalManager.cc.

68{
69 delete RWB;
70 RWB = nullptr;
71}

Referenced by G4ParticleHPManager::CloseReactionWhiteBoard().

◆ GetInstance()

◆ GetReactionWhiteBoard()

G4ParticleHPReactionWhiteBoard * G4ParticleHPThreadLocalManager::GetReactionWhiteBoard ( )

Definition at line 58 of file G4ParticleHPThreadLocalManager.cc.

59{
60 if (RWB == nullptr) {
61 G4cout << "Warning: try to access G4ParticleHPReactionWhiteBoard before opening" << G4endl;
63 }
64 return RWB;
65}
#define G4endl
Definition G4ios.hh:67
G4GLOB_DLL std::ostream G4cout

Referenced by G4ParticleHPManager::GetReactionWhiteBoard().

◆ OpenReactionWhiteBoard()

void G4ParticleHPThreadLocalManager::OpenReactionWhiteBoard ( )

Definition at line 48 of file G4ParticleHPThreadLocalManager.cc.

49{
50 if (RWB != nullptr) {
51 G4cout << "Warning: G4ParticleHPReactionWhiteBoard is tried doubly opening" << G4endl;
52 return;
53 }
54
56}

Referenced by G4ParticleHPManager::OpenReactionWhiteBoard().

Friends And Related Symbol Documentation

◆ G4ThreadLocalSingleton< G4ParticleHPThreadLocalManager >


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