#include <G4VUserParallelWorld.hh>
Public Member Functions | |
G4VUserParallelWorld (G4String worldName) | |
virtual | ~G4VUserParallelWorld () |
virtual void | Construct ()=0 |
G4String | GetName () |
Protected Member Functions | |
G4VPhysicalVolume * | GetWorld () |
Protected Attributes | |
G4String | fWorldName |
Definition at line 46 of file G4VUserParallelWorld.hh.
G4VUserParallelWorld::G4VUserParallelWorld | ( | G4String | worldName | ) |
Definition at line 35 of file G4VUserParallelWorld.cc.
References fWorldName.
00036 { fWorldName = worldName; }
G4VUserParallelWorld::~G4VUserParallelWorld | ( | ) | [virtual] |
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 }
G4String G4VUserParallelWorld::fWorldName [protected] |
Definition at line 56 of file G4VUserParallelWorld.hh.
Referenced by G4VUserParallelWorld(), GetName(), and GetWorld().