Geant4
10.02.p02
|
Controller for geometry selection. More...
#include <IORTGeometryController.hh>
Public Member Functions | |
IORTGeometryController () | |
~IORTGeometryController () | |
void | SetGeometry (G4String) |
Select a geometry by name. More... | |
void | UpdateGeometry () |
Private Member Functions | |
void | registerGeometry (G4VUserDetectorConstruction *detector) |
Controller for geometry selection.
This controller is called by the geometry messenger and used to select the geometry. Each available geometry must have unique name and it must be known by the geometry controller.
Definition at line 54 of file IORTGeometryController.hh.
IORTGeometryController::IORTGeometryController | ( | ) |
Definition at line 54 of file IORTGeometryController.cc.
IORTGeometryController::~IORTGeometryController | ( | ) |
Definition at line 58 of file IORTGeometryController.cc.
|
private |
Definition at line 108 of file IORTGeometryController.cc.
References G4RunManager::GeometryHasBeenModified(), G4RunManager::GetRunManager(), and G4RunManager::SetUserInitialization().
Referenced by SetGeometry().
void IORTGeometryController::SetGeometry | ( | G4String | name | ) |
Select a geometry by name.
Definition at line 62 of file IORTGeometryController.cc.
References G4cout, G4endl, and registerGeometry().
Referenced by main().
void IORTGeometryController::UpdateGeometry | ( | ) |
Definition at line 116 of file IORTGeometryController.cc.
References pyG4RunManager::GeometryHasBeenModified, and G4RunManager::GetRunManager().