G4VUserParallelWorld Class Reference

#include <G4VUserParallelWorld.hh>


Public Member Functions

 G4VUserParallelWorld (G4String worldName)
virtual ~G4VUserParallelWorld ()
virtual void Construct ()=0
G4String GetName ()

Protected Member Functions

G4VPhysicalVolumeGetWorld ()

Protected Attributes

G4String fWorldName


Detailed Description

Definition at line 46 of file G4VUserParallelWorld.hh.


Constructor & Destructor Documentation

G4VUserParallelWorld::G4VUserParallelWorld ( G4String  worldName  ) 

Definition at line 35 of file G4VUserParallelWorld.cc.

References fWorldName.

00036 { fWorldName = worldName; }

G4VUserParallelWorld::~G4VUserParallelWorld (  )  [virtual]

Definition at line 38 of file G4VUserParallelWorld.cc.

00039 { ; }


Member Function Documentation

virtual void G4VUserParallelWorld::Construct (  )  [pure virtual]

G4String G4VUserParallelWorld::GetName (  )  [inline]

Definition at line 62 of file G4VUserParallelWorld.hh.

References fWorldName.

Referenced by G4VUserDetectorConstruction::RegisterParallelWorld().

00062 { return fWorldName; }

G4VPhysicalVolume * G4VUserParallelWorld::GetWorld (  )  [protected]

Definition at line 41 of file G4VUserParallelWorld.cc.

References fWorldName, G4TransportationManager::GetParallelWorld(), G4TransportationManager::GetTransportationManager(), and G4VPhysicalVolume::SetName().

00042 {
00043   G4VPhysicalVolume* pWorld
00044        = G4TransportationManager::GetTransportationManager()
00045          ->GetParallelWorld(fWorldName);
00046   pWorld->SetName(fWorldName);
00047   return pWorld;
00048 }


Field Documentation

G4String G4VUserParallelWorld::fWorldName [protected]

Definition at line 56 of file G4VUserParallelWorld.hh.

Referenced by G4VUserParallelWorld(), GetName(), and GetWorld().


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:53:57 2013 for Geant4 by  doxygen 1.4.7