Detector messenger. More...
#include <Doxymodules_parameterisations.h>
Public Member Functions | |
Par04DetectorMessenger (Par04DetectorConstruction *) | |
~Par04DetectorMessenger () | |
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 | |
Par04DetectorConstruction * | fDetector = nullptr |
Detector construction to setup. | |
G4UIdirectory * | fExampleDir = nullptr |
Command to set the directory common to all messengers in this example /Par04. | |
G4UIdirectory * | fDetectorDir = nullptr |
Command to set the directory for detector settings /Par04/detector. | |
G4UIcmdWithoutParameter * | fPrintCmd |
Command printing current settings. | |
G4UIcmdWithADoubleAndUnit * | fDetectorInnerRadiusCmd = nullptr |
Command to set the detector inner radius. | |
G4UIcmdWithADoubleAndUnit * | fDetectorLengthCmd = nullptr |
Command to set the detector length. | |
G4UIcmdWithAnInteger * | fNbLayersCmd = nullptr |
Command to set the number of layers. | |
G4UIcommand * | fAbsorCmd = nullptr |
Commanbd to set the absorbers within layers (material, thickness, sensitivity) | |
G4UIdirectory * | fMeshDir = nullptr |
Command to set the directory for sensitive detector settings /Par04/mesh. | |
G4UIcmdWithAnInteger * | fMeshNbRhoCellsCmd = nullptr |
Command to set the number of cells in the cylindrical readout mesh (along rho axis) | |
G4UIcmdWithAnInteger * | fMeshNbPhiCellsCmd = nullptr |
Command to set the number of cells in the cylindrical readout mesh (along phi axis) | |
G4UIcmdWithAnInteger * | fMeshNbZCellsCmd = nullptr |
Command to set the number of cells in the cylindrical readout mesh (along z axis) | |
G4UIcmdWithADoubleAndUnit * | fMeshSizeRhoCellsCmd = nullptr |
Command to the size of cells in the cylindrical readout mesh (along rho axis) | |
G4UIcmdWithADoubleAndUnit * | fMeshSizeZCellsCmd = nullptr |
Command to the size of cells in the cylindrical readout mesh (along z axis) | |
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 80 of file Doxymodules_parameterisations.h.
Par04DetectorMessenger::Par04DetectorMessenger | ( | Par04DetectorConstruction * | aDetector | ) |
Definition at line 44 of file Par04DetectorMessenger.cc.
Par04DetectorMessenger::~Par04DetectorMessenger | ( | ) |
Definition at line 153 of file Par04DetectorMessenger.cc.
|
finalvirtual |
Invokes appropriate methods based on the typed command.
Definition at line 172 of file Par04DetectorMessenger.cc.
|
finalvirtual |
Retrieves the current settings.
Definition at line 230 of file Par04DetectorMessenger.cc.
|
private |
Detector construction to setup.
Definition at line 61 of file Par04DetectorMessenger.hh.
|
private |
Command to set the directory common to all messengers in this example /Par04.
Definition at line 64 of file Par04DetectorMessenger.hh.
|
private |
Command to set the directory for detector settings /Par04/detector.
Definition at line 66 of file Par04DetectorMessenger.hh.
|
private |
Command printing current settings.
Definition at line 68 of file Par04DetectorMessenger.hh.
|
private |
Command to set the detector inner radius.
Definition at line 70 of file Par04DetectorMessenger.hh.
|
private |
Command to set the detector length.
Definition at line 72 of file Par04DetectorMessenger.hh.
|
private |
Command to set the number of layers.
Definition at line 74 of file Par04DetectorMessenger.hh.
|
private |
Commanbd to set the absorbers within layers (material, thickness, sensitivity)
Definition at line 76 of file Par04DetectorMessenger.hh.
|
private |
Command to set the directory for sensitive detector settings /Par04/mesh.
Definition at line 78 of file Par04DetectorMessenger.hh.
|
private |
Command to set the number of cells in the cylindrical readout mesh (along rho axis)
Definition at line 80 of file Par04DetectorMessenger.hh.
|
private |
Command to set the number of cells in the cylindrical readout mesh (along phi axis)
Definition at line 82 of file Par04DetectorMessenger.hh.
|
private |
Command to set the number of cells in the cylindrical readout mesh (along z axis)
Definition at line 84 of file Par04DetectorMessenger.hh.
|
private |
Command to the size of cells in the cylindrical readout mesh (along rho axis)
Definition at line 86 of file Par04DetectorMessenger.hh.
|
private |
Command to the size of cells in the cylindrical readout mesh (along z axis)
Definition at line 88 of file Par04DetectorMessenger.hh.