Detector messenger. More...
#include <Doxymodules_parameterisations.h>
Public Member Functions | |
Par03DetectorMessenger (Par03DetectorConstruction *) | |
~Par03DetectorMessenger () | |
virtual void | SetNewValue (G4UIcommand *, G4String) final |
Invokes appropriate methods based on the typed command. | |
virtual G4String | GetCurrentValue (G4UIcommand *) final |
Retrieves the current settings. | |
Private Attributes | |
Par03DetectorConstruction * | fDetector = nullptr |
Detector construction to setup. | |
G4UIdirectory * | fExampleDir = nullptr |
Command to set the directory common to all messengers in this example /Par03. | |
G4UIdirectory * | fDetectorDir = nullptr |
Command to set the directory for detector settings /Par03/detector. | |
G4UIcmdWithoutParameter * | fPrintCmd |
Command printing current settings. | |
G4UIcmdWithADoubleAndUnit * | fDetectorRadiusCmd = nullptr |
Command to set the detector radius. | |
G4UIcmdWithADoubleAndUnit * | fDetectorLengthCmd = nullptr |
Command to set the detector length. | |
G4UIcmdWithAString * | fDetectorMaterialCmd = nullptr |
Command to set the detector material. | |
G4UIcmdWithAnInteger * | fNbLayersCmd = nullptr |
Command to set the number of layers. | |
G4UIcmdWithAnInteger * | fNbRhoCellsCmd = nullptr |
Command to set the number of radial cells. | |
G4UIcmdWithAnInteger * | fNbPhiCellsCmd = nullptr |
Command to set the number of cells in azimuthal angle. | |
Detector messenger.
Provides UI commands to setup detector and readout geometry (prior to initialization). Radius, length, and material of the detector, as well as segmentation of the readout geometry can be changed.
Definition at line 61 of file Doxymodules_parameterisations.h.
Par03DetectorMessenger::Par03DetectorMessenger | ( | Par03DetectorConstruction * | aDetector | ) |
Definition at line 37 of file Par03DetectorMessenger.cc.
Par03DetectorMessenger::~Par03DetectorMessenger | ( | ) |
Definition at line 105 of file Par03DetectorMessenger.cc.
|
finalvirtual |
Invokes appropriate methods based on the typed command.
Definition at line 120 of file Par03DetectorMessenger.cc.
|
finalvirtual |
Retrieves the current settings.
Definition at line 155 of file Par03DetectorMessenger.cc.
|
private |
Detector construction to setup.
Definition at line 61 of file Par03DetectorMessenger.hh.
|
private |
Command to set the directory common to all messengers in this example /Par03.
Definition at line 64 of file Par03DetectorMessenger.hh.
|
private |
Command to set the directory for detector settings /Par03/detector.
Definition at line 66 of file Par03DetectorMessenger.hh.
|
private |
Command printing current settings.
Definition at line 68 of file Par03DetectorMessenger.hh.
|
private |
Command to set the detector radius.
Definition at line 70 of file Par03DetectorMessenger.hh.
|
private |
Command to set the detector length.
Definition at line 72 of file Par03DetectorMessenger.hh.
|
private |
Command to set the detector material.
Definition at line 74 of file Par03DetectorMessenger.hh.
|
private |
Command to set the number of layers.
Definition at line 76 of file Par03DetectorMessenger.hh.
|
private |
Command to set the number of radial cells.
Definition at line 78 of file Par03DetectorMessenger.hh.
|
private |
Command to set the number of cells in azimuthal angle.
Definition at line 80 of file Par03DetectorMessenger.hh.