#include <G4GeometryWorkspace.hh>
Definition at line 62 of file G4GeometryWorkspace.hh.
G4GeometryWorkspace::G4GeometryWorkspace |
( |
| ) |
|
Definition at line 56 of file G4GeometryWorkspace.cc.
72 fLogicalVolumeOffset= fpLogicalVolumeSIM->
GetOffset();
74 fPhysicalVolumeOffset= fpPhysicalVolumeSIM->
GetOffset();
76 fReplicaOffset= fpReplicaSIM->
GetOffset();
static const G4LVManager & GetSubInstanceManager()
static const G4PVRManager & GetSubInstanceManager()
static const G4PVManager & GetSubInstanceManager()
void InitialiseWorkspace()
static const G4RegionManager & GetSubInstanceManager()
G4GeometryWorkspace::~G4GeometryWorkspace |
( |
| ) |
|
Definition at line 229 of file G4GeometryWorkspace.cc.
277 ed <<
"ERROR - Unable to initialise geometry for worker node. \n"
278 <<
"A solid lacks the Clone() method - or Clone() failed. \n"
280 <<
" Parameters: " << *solid;
281 G4Exception(
"G4GeometryWorkspace::CloneParameterisedVolume()",
std::ostringstream G4ExceptionDescription
G4VSolid * GetSolid() const
virtual G4GeometryType GetEntityType() const =0
void InitialiseWorker(G4LogicalVolume *ptrMasterObject, G4VSolid *pSolid, G4VSensitiveDetector *pSDetector)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4LogicalVolume * GetLogicalVolume() const
virtual G4VSolid * Clone() const
Definition at line 186 of file G4GeometryWorkspace.cc.
208 ed <<
"ERROR - Unable to initialise geometry for worker node." <<
"\n"
209 <<
"A solid lacks the Clone() method - or Clone() failed." <<
"\n"
211 <<
" Parameters: " << *solid;
212 G4Exception(
"G4GeometryWorkspace::CloneParameterisedVolume()",
std::ostringstream G4ExceptionDescription
G4VSolid * GetSolid() const
virtual G4GeometryType GetEntityType() const =0
void InitialiseWorker(G4LogicalVolume *ptrMasterObject, G4VSolid *pSolid, G4VSensitiveDetector *pSDetector)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4LogicalVolume * GetLogicalVolume() const
virtual G4VSolid * Clone() const
void G4GeometryWorkspace::DestroyWorkspace |
( |
| ) |
|
Definition at line 320 of file G4GeometryWorkspace.cc.
323 for (
size_t ip=0; ip<physVolStore->size(); ip++)
void TerminateWorker(G4PVReplica *pMasterObject)
static G4PhysicalVolumeStore * GetInstance()
void TerminateWorker(G4LogicalVolume *ptrMasterObject)
G4LogicalVolume * GetLogicalVolume() const
G4bool G4GeometryWorkspace::GetVerbose |
( |
| ) |
|
|
inline |
void G4GeometryWorkspace::InitialisePhysicalVolumes |
( |
| ) |
|
|
protected |
Definition at line 133 of file G4GeometryWorkspace.cc.
136 for (
size_t ip=0; ip<physVolStore->size(); ip++)
168 G4Exception(
"G4GeometryWorkspace::CreateAndUseWorkspace()",
170 "Cannot find Parameterisation for parameterised volume.");
178 G4cout <<
"G4GeometryWorkspace::InitialisePhysicalVolumes: "
179 <<
"Copying geometry - Done!" <<
G4endl;
G4VSolid * GetMasterSolid() const
void InitialiseWorker(G4LogicalVolume *ptrMasterObject, G4VSolid *pSolid, G4VSensitiveDetector *pSDetector)
static G4PhysicalVolumeStore * GetInstance()
virtual G4bool IsParameterised() const
G4GLOB_DLL std::ostream G4cout
void InitialiseWorker(G4PVReplica *pMasterObject)
G4bool CloneReplicaSolid(G4PVReplica *)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4LogicalVolume * GetLogicalVolume() const
G4bool CloneParameterisedSolids(G4PVParameterised *paramVol)
void G4GeometryWorkspace::InitialiseWorkspace |
( |
| ) |
|
Definition at line 289 of file G4GeometryWorkspace.cc.
293 G4cout <<
"G4GeometryWorkspace::InitialiseWorkspace():"
294 <<
" Copying geometry - Start " <<
G4endl;
313 G4cout <<
"G4GeometryWorkspace::InitialiseWorkspace: "
314 <<
"Copying geometry - Done!" <<
G4endl;
G4GLOB_DLL std::ostream G4cout
void SlaveCopySubInstanceArray()
void InitialisePhysicalVolumes()
void SlaveInitializeSubInstance()
void G4GeometryWorkspace::ReleaseWorkspace |
( |
| ) |
|
void G4GeometryWorkspace::UseWorkspace |
( |
| ) |
|
Definition at line 90 of file G4GeometryWorkspace.cc.
94 G4cout <<
"G4GeometryWorkspace::UseWorkspace: Start " <<
G4endl;
103 fpLogicalVolumeSIM->
UseWorkArea(fLogicalVolumeOffset);
104 fpPhysicalVolumeSIM->
UseWorkArea(fPhysicalVolumeOffset);
116 G4cout <<
"G4GeometryWorkspace::UseWorkspace: End " <<
G4endl;
G4GLOB_DLL std::ostream G4cout
void UseWorkArea(T *newOffset)
The documentation for this class was generated from the following files: