#include <G4MoleculeHandleManager.hh>
Definition at line 58 of file G4MoleculeHandleManager.hh.
◆ ~G4MoleculeHandleManager()
G4MoleculeHandleManager::~G4MoleculeHandleManager |
( |
| ) |
|
Definition at line 43 of file G4MoleculeHandleManager.cc.
44{
45 if (!fMoleculeHandle.empty())
46 {
47 auto it = fMoleculeHandle.begin();
48 for (; it != fMoleculeHandle.end(); it++)
49 {
50 it->second.reset();
51 }
52 }
53}
◆ DeleteInstance()
void G4MoleculeHandleManager::DeleteInstance |
( |
| ) |
|
|
static |
Definition at line 55 of file G4MoleculeHandleManager.cc.
56{
57 if (fInstance != nullptr)
58 {
59 delete fInstance;
60 fInstance = nullptr;
61 }
62}
◆ GetMoleculeHandle()
Definition at line 73 of file G4MoleculeHandleManager.cc.
74{
75 auto it = fMoleculeHandle.find(molecule);
77
78 if (it != fMoleculeHandle.end())
79 {
81 }
82 else
83 {
86 }
87
88 return molHandle;
89}
std::shared_ptr< const G4Molecule > G4MoleculeHandle
◆ Instance()
The documentation for this class was generated from the following files: