#include <Doxymodules_medical.h>
Definition at line 137 of file Doxymodules_medical.h.
◆ Manager()
RadioBio::Manager::Manager |
( |
| ) |
|
|
privatedefault |
◆ ~Manager()
RadioBio::Manager::~Manager |
( |
| ) |
|
Definition at line 71 of file Manager.cc.
72{
74 delete q.second;
75}
std::map< G4String, VRadiobiologicalQuantity * > fQuantities
◆ CreateInstance()
Manager * RadioBio::Manager::CreateInstance |
( |
| ) |
|
|
static |
Definition at line 49 of file Manager.cc.
50{
52 G4Exception("RadioBioManager::createInstance", "RecreatingRadioBioManager", FatalException,
53 "Creating another, new, instance of RadioBioManager");
55 }
56
59}
static Manager * fInstance
◆ GetInstance()
Manager * RadioBio::Manager::GetInstance |
( |
| ) |
|
|
static |
◆ InitializeAll()
void RadioBio::Manager::InitializeAll |
( |
| ) |
|
◆ ComputeAll()
void RadioBio::Manager::ComputeAll |
( |
| ) |
|
Definition at line 89 of file Manager.cc.
90{
92 (q.second)->Compute();
93}
◆ ResetAll()
void RadioBio::Manager::ResetAll |
( |
| ) |
|
Definition at line 97 of file Manager.cc.
98{
100 (q.second)->Reset();
101}
◆ StoreAll()
void RadioBio::Manager::StoreAll |
( |
| ) |
|
Definition at line 105 of file Manager.cc.
106{
108 (q.second)->Store();
109}
◆ PrintParameters()
void RadioBio::Manager::PrintParameters |
( |
| ) |
|
Definition at line 120 of file Manager.cc.
121{
122 G4cout << "*******************************************" << G4endl
123 << "*** right now registered quantities are ***" << G4endl;
125 G4cout << "*** " << q.first;
126 G4cout << "*** but their calculation might be not ****" << G4endl
127 << "*** active. Ask for parameters of each ****" << G4endl
128 << "*******************************************" << G4endl;
129}
◆ DigestAccumulables()
void RadioBio::Manager::DigestAccumulables |
( |
| ) |
|
Definition at line 133 of file Manager.cc.
134{
136
137 G4VAccumulable* GenAcc = G4AccumulableManager::Instance()->GetAccumulable(q.first);
138
139 if (!GenAcc) {
140 G4Exception("RadioBioManager::AddFromAccumulable", "NoAccumulable", FatalException, q.first);
141 }
142
143
144 if (!q.second->IsCalculationEnabled()) continue;
145
146
147 q.second->AddFromAccumulable(GenAcc);
148 }
149}
◆ Register()
Definition at line 153 of file Manager.cc.
154{
155 if (q == nullptr) {
156 G4Exception("RadioBioManager::Register", "RegisteringNullptr", JustWarning,
157 "Asking to register a quantity with null pointer!");
158 return false;
159 }
160
162 G4Exception("RadioBioManager::Register", "RegisteringSameQuantity", FatalException,
163 "Registering two radiobiological quantities with the same name!");
164 return false;
165 }
167 return true;
168}
◆ GetQuantity()
◆ fQuantities
◆ fInstance
Manager* RadioBio::Manager::fInstance = nullptr |
|
inlinestaticprivate |
The documentation for this class was generated from the following files: