#include <G4IStore.hh>
Definition at line 62 of file G4IStore.hh.
Definition at line 52 of file G4IStore.cc.
virtual const G4VPhysicalVolume & GetWorldVolume() const
static G4TransportationManager * GetTransportationManager()
G4IStore::G4IStore |
( |
const G4String & |
ParallelWorldName | ) |
|
|
explicitprotected |
Definition at line 56 of file G4IStore.cc.
59 G4cout <<
" G4IStore:: ParallelWorldName = " << ParallelWorldName <<
G4endl;
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
static G4TransportationManager * GetTransportationManager()
Definition at line 107 of file G4IStore.cc.
110 if (importance < 0 ) {
111 Error(
"AddImportanceGeometryCell() - Invalid importance value given.");
114 Error(
"AddImportanceGeometryCell() - Physical volume not found!");
116 SetInternalIterator(gCell);
117 if (fCurrentIterator!=fGeometryCelli.end()) {
118 Error(
"AddImportanceGeometryCell() - Region already existing!");
120 fGeometryCelli[gCell] = importance;
const G4VPhysicalVolume & GetPhysicalVolume() const
Definition at line 123 of file G4IStore.cc.
void AddImportanceGeometryCell(G4double importance, const G4GeometryCell &gCell)
Definition at line 131 of file G4IStore.cc.
133 if (importance < 0 ) {
134 Error(
"ChangeImportance() - Invalid importance value given.");
137 Error(
"ChangeImportance() - Physical volume not found!");
139 SetInternalIterator(gCell);
140 if (fCurrentIterator==fGeometryCelli.end()) {
141 Error(
"ChangeImportance() - Region does not exist!");
143 fGeometryCelli[gCell] = importance;
const G4VPhysicalVolume & GetPhysicalVolume() const
Definition at line 146 of file G4IStore.cc.
void ChangeImportance(G4double importance, const G4GeometryCell &gCell)
Definition at line 66 of file G4IStore.cc.
68 fGeometryCelli.clear();
Implements G4VIStore.
Definition at line 174 of file G4IStore.cc.
176 #ifdef G4MULTITHREADED
179 SetInternalIterator(gCell);
180 G4GeometryCellImportance::const_iterator gCellIterator = fCurrentIterator;
181 if (gCellIterator==fGeometryCelli.end()) {
182 std::ostringstream err_mess;
183 err_mess <<
"GetImportance() - Region does not exist!" <<
G4endl
184 <<
"Geometry cell, " << gCell
185 <<
", not found in: " << fGeometryCelli <<
".";
186 Error(err_mess.str());
189 G4double importance_value = (*fCurrentIterator).second;
190 #ifdef G4MULTITHREADED
193 return importance_value;
Definition at line 153 of file G4IStore.cc.
156 #ifdef G4MULTITHREADED
160 G4GeometryCellImportance::const_iterator gCellIterator = fCurrentIterator;
161 if (gCellIterator==fGeometryCelli.end()) {
162 Error(
"GetImportance() - Region does not exist!");
165 G4double importance_value = (*fCurrentIterator).second;
166 #ifdef G4MULTITHREADED
169 return importance_value;
Definition at line 236 of file G4IStore.cc.
240 G4cout <<
"G4IStore:: Creating new MASS IStore " <<
G4endl;
G4GLOB_DLL std::ostream G4cout
Definition at line 251 of file G4IStore.cc.
255 G4cout <<
"G4IStore:: Creating new Parallel IStore " << ParallelWorldName <<
G4endl;
256 fInstance =
new G4IStore(ParallelWorldName);
G4GLOB_DLL std::ostream G4cout
Implements G4VIStore.
Definition at line 197 of file G4IStore.cc.
198 #ifdef G4MULTITHREADED
203 if ( inWorldKnown ) {
204 SetInternalIterator(gCell);
205 inWorldKnown = (fCurrentIterator!=fGeometryCelli.end());
207 #ifdef G4MULTITHREADED
const G4VPhysicalVolume & GetPhysicalVolume() const
Definition at line 79 of file G4IStore.cc.
81 G4cout <<
" G4IStore:: SetParallelWorldVolume " <<
G4endl;
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
static G4TransportationManager * GetTransportationManager()
G4VPhysicalVolume * GetParallelWorld(const G4String &worldName)
void G4IStore::SetWorldVolume |
( |
| ) |
|
Definition at line 71 of file G4IStore.cc.
G4Navigator * GetNavigatorForTracking() const
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
static G4TransportationManager * GetTransportationManager()
G4VPhysicalVolume * GetWorldVolume() const
The documentation for this class was generated from the following files:
- source/geant4.10.03.p03/source/geometry/biasing/include/G4IStore.hh
- source/geant4.10.03.p03/source/geometry/biasing/src/G4IStore.cc