Geant4
10.00.p03
|
Controller for geometry selection. More...
#include <HadrontherapyGeometryController.hh>
Public Member Functions | |
HadrontherapyGeometryController () | |
~HadrontherapyGeometryController () | |
void | SetGeometry (G4String) |
Select a geometry by name. More... | |
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 49 of file HadrontherapyGeometryController.hh.
HadrontherapyGeometryController::HadrontherapyGeometryController | ( | ) |
Definition at line 46 of file HadrontherapyGeometryController.cc.
HadrontherapyGeometryController::~HadrontherapyGeometryController | ( | ) |
Definition at line 50 of file HadrontherapyGeometryController.cc.
|
private |
Definition at line 80 of file HadrontherapyGeometryController.cc.
References G4RunManager::GeometryHasBeenModified(), G4RunManager::GetRunManager(), and G4RunManager::SetUserInitialization().
Referenced by SetGeometry().
void HadrontherapyGeometryController::SetGeometry | ( | G4String | name | ) |
Select a geometry by name.
Definition at line 54 of file HadrontherapyGeometryController.cc.
References G4cout, G4endl, and registerGeometry().
Referenced by main().