ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HadrontherapyGeometryController Class Reference

#include <geant4/tree/geant4-10.6-release/examples/advanced/hadrontherapy/include/HadrontherapyGeometryController.hh>

Public Member Functions

 HadrontherapyGeometryController ()
 
 ~HadrontherapyGeometryController ()
 
void SetGeometry (G4String)
 

Private Member Functions

void registerGeometry (G4VUserDetectorConstruction *detector)
 

Detailed Description

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 42 of file HadrontherapyGeometryController.hh.

View newest version in sPHENIX GitHub at line 42 of file HadrontherapyGeometryController.hh

Constructor & Destructor Documentation

HadrontherapyGeometryController::HadrontherapyGeometryController ( )

Definition at line 42 of file HadrontherapyGeometryController.cc.

View newest version in sPHENIX GitHub at line 42 of file HadrontherapyGeometryController.cc

HadrontherapyGeometryController::~HadrontherapyGeometryController ( )

Definition at line 46 of file HadrontherapyGeometryController.cc.

View newest version in sPHENIX GitHub at line 46 of file HadrontherapyGeometryController.cc

Member Function Documentation

void HadrontherapyGeometryController::registerGeometry ( G4VUserDetectorConstruction detector)
private

Definition at line 77 of file HadrontherapyGeometryController.cc.

View newest version in sPHENIX GitHub at line 77 of file HadrontherapyGeometryController.cc

References pyG4RunManager::GeometryHasBeenModified, and G4RunManager::GetRunManager().

Referenced by SetGeometry().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void HadrontherapyGeometryController::SetGeometry ( G4String  name)

Select a geometry by name.

Definition at line 50 of file HadrontherapyGeometryController.cc.

View newest version in sPHENIX GitHub at line 50 of file HadrontherapyGeometryController.cc

References G4cout, G4endl, and registerGeometry().

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


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