#include <G4IStore.hh>
Definition at line 62 of file G4IStore.hh.
◆ G4IStore() [1/2]
Definition at line 48 of file G4IStore.cc.
const G4VPhysicalVolume * fWorldVolume
static G4TransportationManager * GetTransportationManager()
virtual const G4VPhysicalVolume & GetWorldVolume() const
◆ G4IStore() [2/2]
G4IStore::G4IStore |
( |
const G4String & |
ParallelWorldName | ) |
|
|
explicitprotected |
Definition at line 52 of file G4IStore.cc.
55 G4cout <<
" G4IStore:: ParallelWorldName = " << ParallelWorldName <<
G4endl;
const G4VPhysicalVolume * fWorldVolume
G4GLOB_DLL std::ostream G4cout
static G4TransportationManager * GetTransportationManager()
const G4String & GetName() const
◆ ~G4IStore()
◆ AddImportanceGeometryCell() [1/2]
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!");
114 Error(
"AddImportanceGeometryCell() - Region already existing!");
void Error(const G4String &m) const
G4bool IsInWorld(const G4VPhysicalVolume &) const
G4GeometryCellImportance::const_iterator fCurrentIterator
G4GeometryCellImportance fGeometryCelli
const G4VPhysicalVolume & GetPhysicalVolume() const
void SetInternalIterator(const G4GeometryCell &gCell) const
◆ AddImportanceGeometryCell() [2/2]
Definition at line 119 of file G4IStore.cc.
void AddImportanceGeometryCell(G4double importance, const G4GeometryCell &gCell)
◆ ChangeImportance() [1/2]
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!");
137 Error(
"ChangeImportance() - Region does not exist!");
void Error(const G4String &m) const
G4bool IsInWorld(const G4VPhysicalVolume &) const
G4GeometryCellImportance::const_iterator fCurrentIterator
G4GeometryCellImportance fGeometryCelli
const G4VPhysicalVolume & GetPhysicalVolume() const
void SetInternalIterator(const G4GeometryCell &gCell) const
◆ ChangeImportance() [2/2]
Definition at line 142 of file G4IStore.cc.
void ChangeImportance(G4double importance, const G4GeometryCell &gCell)
◆ Clear()
Definition at line 62 of file G4IStore.cc.
G4GeometryCellImportance fGeometryCelli
◆ Error()
void G4IStore::Error |
( |
const G4String & |
m | ) |
const |
|
private |
Definition at line 200 of file G4IStore.cc.
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ GetImportance() [1/2]
Implements G4VIStore.
Definition at line 162 of file G4IStore.cc.
167 std::ostringstream err_mess;
168 err_mess <<
"GetImportance() - Region does not exist!" <<
G4endl 169 <<
"Geometry cell, " << gCell
171 Error(err_mess.str());
174 return (*fCurrentIterator).second;
void Error(const G4String &m) const
G4GeometryCellImportance::const_iterator fCurrentIterator
G4GeometryCellImportance fGeometryCelli
void SetInternalIterator(const G4GeometryCell &gCell) const
◆ GetImportance() [2/2]
Definition at line 149 of file G4IStore.cc.
155 Error(
"GetImportance() - Region does not exist!");
158 return (*fCurrentIterator).second;
void Error(const G4String &m) const
G4GeometryCellImportance::const_iterator fCurrentIterator
G4GeometryCellImportance fGeometryCelli
void SetInternalIterator(const G4GeometryCell &gCell) const
◆ GetInstance() [1/2]
G4IStore * G4IStore::GetInstance |
( |
void |
| ) |
|
|
static |
Definition at line 210 of file G4IStore.cc.
214 G4cout <<
"G4IStore:: Creating new MASS IStore " <<
G4endl;
static G4ThreadLocal G4IStore * fInstance
G4GLOB_DLL std::ostream G4cout
◆ GetInstance() [2/2]
Definition at line 225 of file G4IStore.cc.
229 G4cout <<
"G4IStore:: Creating new Parallel IStore " << ParallelWorldName <<
G4endl;
static G4ThreadLocal G4IStore * fInstance
G4GLOB_DLL std::ostream G4cout
◆ GetParallelWorldVolumePointer()
Definition at line 93 of file G4IStore.cc.
const G4VPhysicalVolume * fWorldVolume
◆ GetWorldVolume()
◆ IsInWorld()
Definition at line 187 of file G4IStore.cc.
const G4VPhysicalVolume * fWorldVolume
G4bool IsAncestor(const G4VPhysicalVolume *p) const
G4LogicalVolume * GetLogicalVolume() const
◆ IsKnown()
Implements G4VIStore.
Definition at line 177 of file G4IStore.cc.
180 if ( inWorldKnown ) {
G4bool IsInWorld(const G4VPhysicalVolume &) const
G4GeometryCellImportance::const_iterator fCurrentIterator
G4GeometryCellImportance fGeometryCelli
const G4VPhysicalVolume & GetPhysicalVolume() const
void SetInternalIterator(const G4GeometryCell &gCell) const
◆ SetInternalIterator()
void G4IStore::SetInternalIterator |
( |
const G4GeometryCell & |
gCell | ) |
const |
|
private |
Definition at line 98 of file G4IStore.cc.
G4GeometryCellImportance::const_iterator fCurrentIterator
G4GeometryCellImportance fGeometryCelli
◆ SetParallelWorldVolume()
void G4IStore::SetParallelWorldVolume |
( |
G4String |
paraName | ) |
|
Definition at line 75 of file G4IStore.cc.
77 G4cout <<
" G4IStore:: SetParallelWorldVolume " <<
G4endl;
const G4VPhysicalVolume * fWorldVolume
G4GLOB_DLL std::ostream G4cout
static G4TransportationManager * GetTransportationManager()
const G4String & GetName() const
G4VPhysicalVolume * GetParallelWorld(const G4String &worldName)
◆ SetWorldVolume()
void G4IStore::SetWorldVolume |
( |
| ) |
|
Definition at line 67 of file G4IStore.cc.
const G4VPhysicalVolume * fWorldVolume
G4GLOB_DLL std::ostream G4cout
G4Navigator * GetNavigatorForTracking() const
static G4TransportationManager * GetTransportationManager()
const G4String & GetName() const
G4VPhysicalVolume * GetWorldVolume() const
◆ fCurrentIterator
G4GeometryCellImportance::const_iterator G4IStore::fCurrentIterator |
|
mutableprivate |
◆ fGeometryCelli
◆ fInstance
◆ fWorldVolume
The documentation for this class was generated from the following files: