Geant4  10.01.p02
G4GeometryWorkspace Class Reference

#include <G4GeometryWorkspace.hh>

+ Collaboration diagram for G4GeometryWorkspace:

Public Member Functions

 G4GeometryWorkspace ()
 
 ~G4GeometryWorkspace ()
 
void UseWorkspace ()
 
void ReleaseWorkspace ()
 
void DestroyWorkspace ()
 
void InitialiseWorkspace ()
 
void SetVerbose (G4bool v)
 
G4bool GetVerbose ()
 

Protected Member Functions

void InitialisePhysicalVolumes ()
 
G4bool CloneParameterisedSolids (G4PVParameterised *paramVol)
 
G4bool CloneReplicaSolid (G4PVReplica *)
 

Private Attributes

G4LVManagerfpLogicalVolumeSIM
 
G4PVManagerfpPhysicalVolumeSIM
 
G4PVRManagerfpReplicaSIM
 
G4RegionManagerfpRegionSIM
 
G4LVDatafLogicalVolumeOffset
 
G4PVDatafPhysicalVolumeOffset
 
G4ReplicaDatafReplicaOffset
 
G4RegionDatafRegionOffset
 
G4bool fVerbose
 

Detailed Description

Definition at line 62 of file G4GeometryWorkspace.hh.

Constructor & Destructor Documentation

G4GeometryWorkspace::G4GeometryWorkspace ( )
G4GeometryWorkspace::~G4GeometryWorkspace ( )

Definition at line 83 of file G4GeometryWorkspace.cc.

Member Function Documentation

G4bool G4GeometryWorkspace::CloneParameterisedSolids ( G4PVParameterised paramVol)
protected

Definition at line 229 of file G4GeometryWorkspace.cc.

References G4VSolid::Clone(), G4VPVParameterisation::ComputeSolid(), FatalException, G4Exception(), G4VSolid::GetEntityType(), G4VPhysicalVolume::GetLogicalVolume(), G4PVReplica::GetMultiplicity(), G4PVParameterised::GetParameterisation(), G4LogicalVolume::GetSolid(), G4LogicalVolume::InitialiseWorker(), and G4TemplateAutoLock< M, L, U >::unlock().

Referenced by InitialisePhysicalVolumes().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4GeometryWorkspace::CloneReplicaSolid ( G4PVReplica replicaPV)
protected

Definition at line 186 of file G4GeometryWorkspace.cc.

References G4VSolid::Clone(), FatalException, G4Exception(), G4VSolid::GetEntityType(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetSolid(), G4LogicalVolume::InitialiseWorker(), and G4TemplateAutoLock< M, L, U >::unlock().

Referenced by InitialisePhysicalVolumes().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4GeometryWorkspace::DestroyWorkspace ( )

Definition at line 320 of file G4GeometryWorkspace.cc.

References fpLogicalVolumeSIM, fpPhysicalVolumeSIM, fpRegionSIM, fpReplicaSIM, G4GeomSplitter< T >::FreeSlave(), G4PhysicalVolumeStore::GetInstance(), G4VPhysicalVolume::GetLogicalVolume(), G4PVReplica::TerminateWorker(), and G4LogicalVolume::TerminateWorker().

Referenced by G4WorkerThread::DestroyGeometryAndPhysicsVector(), and G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4GeometryWorkspace::GetVerbose ( )
inline

Definition at line 77 of file G4GeometryWorkspace.hh.

References fVerbose.

void G4GeometryWorkspace::InitialisePhysicalVolumes ( )
protected

Definition at line 133 of file G4GeometryWorkspace.cc.

References CloneParameterisedSolids(), CloneReplicaSolid(), FatalException, fVerbose, G4cout, G4endl, G4Exception(), G4PhysicalVolumeStore::GetInstance(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetMasterSolid(), G4PVReplica::InitialiseWorker(), G4LogicalVolume::InitialiseWorker(), and G4PVReplica::IsParameterised().

Referenced by InitialiseWorkspace().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4GeometryWorkspace::InitialiseWorkspace ( )

Definition at line 289 of file G4GeometryWorkspace.cc.

References fpLogicalVolumeSIM, fpPhysicalVolumeSIM, fpRegionSIM, fpReplicaSIM, fVerbose, G4cout, G4endl, InitialisePhysicalVolumes(), G4GeomSplitter< T >::SlaveCopySubInstanceArray(), and G4GeomSplitter< T >::SlaveInitializeSubInstance().

Referenced by G4GeometryWorkspace(), and G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4GeometryWorkspace::ReleaseWorkspace ( )

Definition at line 122 of file G4GeometryWorkspace.cc.

References fpLogicalVolumeSIM, fpPhysicalVolumeSIM, fpRegionSIM, fpReplicaSIM, and G4GeomSplitter< T >::UseWorkArea().

Referenced by G4GeometryWorkspacePool::Recycle().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4GeometryWorkspace::SetVerbose ( G4bool  v)
inline

Definition at line 76 of file G4GeometryWorkspace.hh.

References fVerbose.

void G4GeometryWorkspace::UseWorkspace ( )

Definition at line 90 of file G4GeometryWorkspace.cc.

References fLogicalVolumeOffset, fPhysicalVolumeOffset, fpLogicalVolumeSIM, fpPhysicalVolumeSIM, fpRegionSIM, fpReplicaSIM, fRegionOffset, fReplicaOffset, fVerbose, G4cout, G4endl, and G4GeomSplitter< T >::UseWorkArea().

Referenced by G4GeometryWorkspacePool::FindOrCreateWorkspace().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4LVData* G4GeometryWorkspace::fLogicalVolumeOffset
private

Definition at line 96 of file G4GeometryWorkspace.hh.

Referenced by G4GeometryWorkspace(), and UseWorkspace().

G4PVData* G4GeometryWorkspace::fPhysicalVolumeOffset
private

Definition at line 97 of file G4GeometryWorkspace.hh.

Referenced by G4GeometryWorkspace(), and UseWorkspace().

G4LVManager* G4GeometryWorkspace::fpLogicalVolumeSIM
private
G4PVManager* G4GeometryWorkspace::fpPhysicalVolumeSIM
private
G4RegionManager* G4GeometryWorkspace::fpRegionSIM
private
G4PVRManager* G4GeometryWorkspace::fpReplicaSIM
private
G4RegionData* G4GeometryWorkspace::fRegionOffset
private

Definition at line 99 of file G4GeometryWorkspace.hh.

Referenced by G4GeometryWorkspace(), and UseWorkspace().

G4ReplicaData* G4GeometryWorkspace::fReplicaOffset
private

Definition at line 98 of file G4GeometryWorkspace.hh.

Referenced by G4GeometryWorkspace(), and UseWorkspace().

G4bool G4GeometryWorkspace::fVerbose
private

The documentation for this class was generated from the following files: