Geant4  10.02.p03
G4SolidsWorkspace Class Reference

#include <G4SolidsWorkspace.hh>

Collaboration diagram for G4SolidsWorkspace:

Public Member Functions

 G4SolidsWorkspace (G4bool verbose=false)
 
 ~G4SolidsWorkspace ()
 
void UseWorkspace ()
 
void ReleaseWorkspace ()
 
void DestroyWorkspace ()
 
void InitialiseWorkspace ()
 
void SetVerbose (G4bool v)
 
G4bool GetVerbose ()
 

Protected Member Functions

void InitialiseSolids ()
 

Private Attributes

G4PlSideManager * fpPolyconeSideSIM
 
G4PhSideManager * fpPolyhedraSideSIM
 
G4PlSideData * fPolyconeSideOffset
 
G4PhSideData * fPolyhedraSideOffset
 
G4bool fVerbose
 

Detailed Description

Definition at line 57 of file G4SolidsWorkspace.hh.

Constructor & Destructor Documentation

◆ G4SolidsWorkspace()

G4SolidsWorkspace::G4SolidsWorkspace ( G4bool  verbose = false)

Definition at line 36 of file G4SolidsWorkspace.cc.

37  : fVerbose(verbose)
38 {
39  // G4PlSideManager *fPolyconeSideSIM; // (G4PlSideManager::GetSubInstanceManager())
40 
45 
46  // Copy information from master into PolyCone/Gon Sides in this thread.
48 
49  // Capture its address of PolyCone/Gon Sides in this thread
52 }
G4PlSideManager * fpPolyconeSideSIM
G4PlSideData * fPolyconeSideOffset
static const G4PhSideManager & GetSubInstanceManager()
G4PhSideManager * fpPolyhedraSideSIM
static const G4PlSideManager & GetSubInstanceManager()
G4PhSideData * fPolyhedraSideOffset
Here is the call graph for this function:

◆ ~G4SolidsWorkspace()

G4SolidsWorkspace::~G4SolidsWorkspace ( )

Definition at line 54 of file G4SolidsWorkspace.cc.

55 {
56 }

Member Function Documentation

◆ DestroyWorkspace()

void G4SolidsWorkspace::DestroyWorkspace ( )

Definition at line 108 of file G4SolidsWorkspace.cc.

109 {
112 }
G4PlSideManager * fpPolyconeSideSIM
G4PhSideManager * fpPolyhedraSideSIM
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetVerbose()

G4bool G4SolidsWorkspace::GetVerbose ( )
inline

Definition at line 71 of file G4SolidsWorkspace.hh.

71 { return fVerbose; }
Here is the call graph for this function:

◆ InitialiseSolids()

void G4SolidsWorkspace::InitialiseSolids ( )
protected

Definition at line 82 of file G4SolidsWorkspace.cc.

83 {
84 }
Here is the caller graph for this function:

◆ InitialiseWorkspace()

void G4SolidsWorkspace::InitialiseWorkspace ( )

Definition at line 87 of file G4SolidsWorkspace.cc.

88 {
89  if( fVerbose )
90  G4cout << "G4SolidsWorkspace::InitialiseWorkspace: "
91  << "Copying geometry - Start " << G4endl;
92 
93  //Geometry related, split classes mechanism:
94  // Do *NOT* instantiate sub-instance for this thread,
95  // just copy the contents !!
96 
99 
100  // Additional initialization if needed - beyond copying memory
102 
103  if( fVerbose )
104  G4cout << "G4SolidsWorkspace::CreateAndUseWorkspace: "
105  << "Copying geometry - Done!" << G4endl;
106 }
G4PlSideManager * fpPolyconeSideSIM
G4PhSideManager * fpPolyhedraSideSIM
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
void SlaveInitializeSubInstance()
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReleaseWorkspace()

void G4SolidsWorkspace::ReleaseWorkspace ( )

Definition at line 75 of file G4SolidsWorkspace.cc.

77 {
80 }
G4PlSideManager * fpPolyconeSideSIM
G4PhSideManager * fpPolyhedraSideSIM
void UseWorkArea(T *newOffset)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetVerbose()

void G4SolidsWorkspace::SetVerbose ( G4bool  v)
inline

Definition at line 70 of file G4SolidsWorkspace.hh.

◆ UseWorkspace()

void G4SolidsWorkspace::UseWorkspace ( )

Definition at line 62 of file G4SolidsWorkspace.cc.

63 {
64  if( fVerbose )
65  G4cout << "G4SolidsWorkspace::UseWorkspace: Copying geometry - Start " << G4endl;
66 
67  // Implementation copied from G4WorkerThread::BuildGeometryAndPhysicsVector()
68 
69  //Geometry related, split classes mechanism: instantiate sub-instance for this thread
72 }
G4PlSideManager * fpPolyconeSideSIM
G4PlSideData * fPolyconeSideOffset
G4PhSideManager * fpPolyhedraSideSIM
G4GLOB_DLL std::ostream G4cout
G4PhSideData * fPolyhedraSideOffset
#define G4endl
Definition: G4ios.hh:61
void UseWorkArea(T *newOffset)
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ fPolyconeSideOffset

G4PlSideData* G4SolidsWorkspace::fPolyconeSideOffset
private

Definition at line 85 of file G4SolidsWorkspace.hh.

◆ fPolyhedraSideOffset

G4PhSideData* G4SolidsWorkspace::fPolyhedraSideOffset
private

Definition at line 86 of file G4SolidsWorkspace.hh.

◆ fpPolyconeSideSIM

G4PlSideManager* G4SolidsWorkspace::fpPolyconeSideSIM
private

Definition at line 78 of file G4SolidsWorkspace.hh.

◆ fpPolyhedraSideSIM

G4PhSideManager* G4SolidsWorkspace::fpPolyhedraSideSIM
private

Definition at line 79 of file G4SolidsWorkspace.hh.

◆ fVerbose

G4bool G4SolidsWorkspace::fVerbose
private

Definition at line 88 of file G4SolidsWorkspace.hh.


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