#include <G4NavigationHistoryPool.hh>
Definition at line 47 of file G4NavigationHistoryPool.hh.
◆ ~G4NavigationHistoryPool()
G4NavigationHistoryPool::~G4NavigationHistoryPool |
( |
| ) |
|
◆ G4NavigationHistoryPool()
G4NavigationHistoryPool::G4NavigationHistoryPool |
( |
| ) |
|
|
private |
Definition at line 50 of file G4NavigationHistoryPool.cc.
std::vector< std::vector< G4NavigationLevel > * > fPool
std::vector< std::vector< G4NavigationLevel > * > fFree
◆ Clean()
void G4NavigationHistoryPool::Clean |
( |
| ) |
|
Definition at line 69 of file G4NavigationHistoryPool.cc.
71 for(
size_t i=0; i<
fPool.size(); ++i)
std::vector< std::vector< G4NavigationLevel > * > fPool
std::vector< std::vector< G4NavigationLevel > * > fFree
◆ DeRegister()
void G4NavigationHistoryPool::DeRegister |
( |
std::vector< G4NavigationLevel > * |
pLevels | ) |
|
|
inline |
◆ GetInstance()
◆ GetLevels()
Definition at line 130 of file G4NavigationHistoryPool.hh.
132 std::vector<G4NavigationLevel> * levels = 0;
134 if (
fFree.size() !=0)
136 levels =
fFree.back();
std::vector< G4NavigationLevel > * GetNewLevels()
std::vector< std::vector< G4NavigationLevel > * > fFree
◆ GetNewLevels()
Definition at line 116 of file G4NavigationHistoryPool.hh.
118 std::vector<G4NavigationLevel> * aLevelVec =
static const G4int kHistoryMax
void Register(std::vector< G4NavigationLevel > *pLevels)
◆ Print()
void G4NavigationHistoryPool::Print |
( |
void |
| ) |
const |
Definition at line 83 of file G4NavigationHistoryPool.cc.
86 G4cout <<
"Total navigation history collections cleaned: " G4GLOB_DLL std::ostream G4cout
std::vector< std::vector< G4NavigationLevel > * > fPool
◆ Register()
◆ Reset()
void G4NavigationHistoryPool::Reset |
( |
| ) |
|
|
private |
Definition at line 95 of file G4NavigationHistoryPool.cc.
97 for(
size_t i=0; i<
fPool.size(); ++i)
101 for(
size_t j=0; j<
fFree.size(); ++j)
std::vector< std::vector< G4NavigationLevel > * > fPool
std::vector< std::vector< G4NavigationLevel > * > fFree
◆ fFree
◆ fgInstance
◆ fPool
The documentation for this class was generated from the following files: