#include <G4IStore.hh>
Definition at line 62 of file G4IStore.hh.
Definition at line 48 of file G4IStore.cc.
virtual const G4VPhysicalVolume & GetWorldVolume() const
static G4TransportationManager * GetTransportationManager()
G4IStore::G4IStore |
( |
const G4String & |
ParallelWorldName | ) |
|
|
explicitprotected |
Definition at line 52 of file G4IStore.cc.
55 G4cout <<
" G4IStore:: ParallelWorldName = " << ParallelWorldName <<
G4endl;
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
static G4TransportationManager * GetTransportationManager()
Definition at line 103 of file G4IStore.cc.
106 if (importance < 0 ) {
107 Error(
"AddImportanceGeometryCell() - Invalid importance value given.");
110 Error(
"AddImportanceGeometryCell() - Physical volume not found!");
112 SetInternalIterator(gCell);
113 if (fCurrentIterator!=fGeometryCelli.end()) {
114 Error(
"AddImportanceGeometryCell() - Region already existing!");
116 fGeometryCelli[gCell] = importance;
const G4VPhysicalVolume & GetPhysicalVolume() const
Definition at line 119 of file G4IStore.cc.
void AddImportanceGeometryCell(G4double importance, const G4GeometryCell &gCell)
Definition at line 127 of file G4IStore.cc.
129 if (importance < 0 ) {
130 Error(
"ChangeImportance() - Invalid importance value given.");
133 Error(
"ChangeImportance() - Physical volume not found!");
135 SetInternalIterator(gCell);
136 if (fCurrentIterator==fGeometryCelli.end()) {
137 Error(
"ChangeImportance() - Region does not exist!");
139 fGeometryCelli[gCell] = importance;
const G4VPhysicalVolume & GetPhysicalVolume() const
Definition at line 142 of file G4IStore.cc.
void ChangeImportance(G4double importance, const G4GeometryCell &gCell)
Definition at line 62 of file G4IStore.cc.
64 fGeometryCelli.clear();
Implements G4VIStore.
Definition at line 162 of file G4IStore.cc.
164 SetInternalIterator(gCell);
165 G4GeometryCellImportance::const_iterator gCellIterator = fCurrentIterator;
166 if (gCellIterator==fGeometryCelli.end()) {
167 std::ostringstream err_mess;
168 err_mess <<
"GetImportance() - Region does not exist!" <<
G4endl
169 <<
"Geometry cell, " << gCell
170 <<
", not found in: " << fGeometryCelli <<
".";
171 Error(err_mess.str());
174 return (*fCurrentIterator).second;
Definition at line 149 of file G4IStore.cc.
153 G4GeometryCellImportance::const_iterator gCellIterator = fCurrentIterator;
154 if (gCellIterator==fGeometryCelli.end()) {
155 Error(
"GetImportance() - Region does not exist!");
158 return (*fCurrentIterator).second;
Definition at line 210 of file G4IStore.cc.
214 G4cout <<
"G4IStore:: Creating new MASS IStore " <<
G4endl;
G4GLOB_DLL std::ostream G4cout
Definition at line 225 of file G4IStore.cc.
229 G4cout <<
"G4IStore:: Creating new Parallel IStore " << ParallelWorldName <<
G4endl;
230 fInstance =
new G4IStore(ParallelWorldName);
G4GLOB_DLL std::ostream G4cout
Implements G4VIStore.
Definition at line 177 of file G4IStore.cc.
180 if ( inWorldKnown ) {
181 SetInternalIterator(gCell);
182 inWorldKnown = (fCurrentIterator!=fGeometryCelli.end());
const G4VPhysicalVolume & GetPhysicalVolume() const
Definition at line 75 of file G4IStore.cc.
77 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 67 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:
- geant4.10.03.p01/source/geometry/biasing/include/G4IStore.hh
- geant4.10.03.p01/source/geometry/biasing/src/G4IStore.cc