Geant4-11
|
#include <G4IStore.hh>
Public Member Functions | |
void | AddImportanceGeometryCell (G4double importance, const G4GeometryCell &gCell) |
void | AddImportanceGeometryCell (G4double importance, const G4VPhysicalVolume &, G4int aRepNum=0) |
void | ChangeImportance (G4double importance, const G4GeometryCell &gCell) |
void | ChangeImportance (G4double importance, const G4VPhysicalVolume &, G4int aRepNum=0) |
void | Clear () |
virtual G4double | GetImportance (const G4GeometryCell &gCell) const |
G4double | GetImportance (const G4VPhysicalVolume &, G4int aRepNum=0) const |
virtual const G4VPhysicalVolume * | GetParallelWorldVolumePointer () const |
virtual const G4VPhysicalVolume & | GetWorldVolume () const |
virtual G4bool | IsKnown (const G4GeometryCell &gCell) const |
void | SetParallelWorldVolume (const G4String ¶Name) |
void | SetWorldVolume () |
Static Public Member Functions | |
static G4IStore * | GetInstance () |
static G4IStore * | GetInstance (const G4String &ParallelWorldName) |
Protected Member Functions | |
G4IStore () | |
G4IStore (const G4String &ParallelWorldName) | |
~G4IStore () | |
Private Member Functions | |
void | Error (const G4String &m) const |
G4bool | IsInWorld (const G4VPhysicalVolume &) const |
void | SetInternalIterator (const G4GeometryCell &gCell) const |
Private Attributes | |
G4GeometryCellImportance::const_iterator | fCurrentIterator |
G4GeometryCellImportance | fGeometryCelli |
const G4VPhysicalVolume * | fWorldVolume = nullptr |
Static Private Attributes | |
static G4ThreadLocal G4IStore * | fInstance = nullptr |
Definition at line 49 of file G4IStore.hh.
|
explicitprotected |
Definition at line 48 of file G4IStore.cc.
Referenced by GetInstance().
|
explicitprotected |
Definition at line 54 of file G4IStore.cc.
References fWorldVolume, G4cout, G4endl, and G4VPhysicalVolume::GetName().
|
protected |
Definition at line 66 of file G4IStore.cc.
void G4IStore::AddImportanceGeometryCell | ( | G4double | importance, |
const G4GeometryCell & | gCell | ||
) |
Definition at line 108 of file G4IStore.cc.
References Error(), fCurrentIterator, fGeometryCelli, G4GeometryCell::GetPhysicalVolume(), IsInWorld(), and SetInternalIterator().
Referenced by AddImportanceGeometryCell().
void G4IStore::AddImportanceGeometryCell | ( | G4double | importance, |
const G4VPhysicalVolume & | aVolume, | ||
G4int | aRepNum = 0 |
||
) |
Definition at line 127 of file G4IStore.cc.
References AddImportanceGeometryCell().
void G4IStore::ChangeImportance | ( | G4double | importance, |
const G4GeometryCell & | gCell | ||
) |
Definition at line 134 of file G4IStore.cc.
References Error(), fCurrentIterator, fGeometryCelli, G4GeometryCell::GetPhysicalVolume(), IsInWorld(), and SetInternalIterator().
Referenced by ChangeImportance().
void G4IStore::ChangeImportance | ( | G4double | importance, |
const G4VPhysicalVolume & | aVolume, | ||
G4int | aRepNum = 0 |
||
) |
Definition at line 154 of file G4IStore.cc.
References ChangeImportance().
void G4IStore::Clear | ( | ) |
Definition at line 70 of file G4IStore.cc.
References fGeometryCelli.
|
private |
Definition at line 233 of file G4IStore.cc.
References FatalException, and G4Exception().
Referenced by AddImportanceGeometryCell(), ChangeImportance(), and GetImportance().
|
virtual |
Implements G4VIStore.
Definition at line 181 of file G4IStore.cc.
References Error(), fCurrentIterator, fGeometryCelli, G4endl, G4MUTEXLOCK, G4MUTEXUNLOCK, and SetInternalIterator().
G4double G4IStore::GetImportance | ( | const G4VPhysicalVolume & | aVolume, |
G4int | aRepNum = 0 |
||
) | const |
Definition at line 161 of file G4IStore.cc.
References Error(), fCurrentIterator, fGeometryCelli, G4MUTEXLOCK, G4MUTEXUNLOCK, and SetInternalIterator().
|
static |
Definition at line 243 of file G4IStore.cc.
References fInstance, G4cout, G4endl, and G4IStore().
Referenced by G4ImportanceBiasing::ConstructProcess().
Definition at line 260 of file G4IStore.cc.
References fInstance, G4cout, G4endl, and G4IStore().
|
virtual |
Definition at line 98 of file G4IStore.cc.
References fWorldVolume.
|
virtual |
|
private |
Definition at line 223 of file G4IStore.cc.
References fWorldVolume, G4VPhysicalVolume::GetLogicalVolume(), and G4LogicalVolume::IsAncestor().
Referenced by AddImportanceGeometryCell(), ChangeImportance(), and IsKnown().
|
virtual |
Implements G4VIStore.
Definition at line 205 of file G4IStore.cc.
References fCurrentIterator, fGeometryCelli, G4MUTEXLOCK, G4MUTEXUNLOCK, G4GeometryCell::GetPhysicalVolume(), IsInWorld(), and SetInternalIterator().
|
private |
Definition at line 103 of file G4IStore.cc.
References fCurrentIterator, and fGeometryCelli.
Referenced by AddImportanceGeometryCell(), ChangeImportance(), GetImportance(), and IsKnown().
void G4IStore::SetParallelWorldVolume | ( | const G4String & | paraName | ) |
Definition at line 84 of file G4IStore.cc.
References fWorldVolume, G4cout, G4endl, G4VPhysicalVolume::GetName(), G4TransportationManager::GetParallelWorld(), and G4TransportationManager::GetTransportationManager().
void G4IStore::SetWorldVolume | ( | ) |
Definition at line 75 of file G4IStore.cc.
References fWorldVolume, G4cout, G4endl, G4VPhysicalVolume::GetName(), G4TransportationManager::GetNavigatorForTracking(), G4TransportationManager::GetTransportationManager(), and G4Navigator::GetWorldVolume().
|
mutableprivate |
Definition at line 115 of file G4IStore.hh.
Referenced by AddImportanceGeometryCell(), ChangeImportance(), GetImportance(), IsKnown(), and SetInternalIterator().
|
private |
Definition at line 113 of file G4IStore.hh.
Referenced by AddImportanceGeometryCell(), ChangeImportance(), Clear(), GetImportance(), IsKnown(), and SetInternalIterator().
|
staticprivate |
Definition at line 117 of file G4IStore.hh.
Referenced by GetInstance().
|
private |
Definition at line 112 of file G4IStore.hh.
Referenced by G4IStore(), GetParallelWorldVolumePointer(), GetWorldVolume(), IsInWorld(), SetParallelWorldVolume(), and SetWorldVolume().