Geant4 VMC Version 6.6
|
Messenger class that defines commands for TG4RegionsManager[2]. More...
#include <TG4RegionsMessenger.h>
Public Member Functions | |
TG4RegionsMessenger (TG4RegionsManager *regionsManager) | |
TG4RegionsMessenger (TG4RegionsManager2 *regionsManager) | |
virtual | ~TG4RegionsMessenger () |
virtual void | SetNewValue (G4UIcommand *command, G4String string) |
Private Member Functions | |
TG4RegionsMessenger ()=delete | |
TG4RegionsMessenger (const TG4RegionsMessenger &right)=delete | |
TG4RegionsMessenger & | operator= (const TG4RegionsMessenger &right)=delete |
void | CreateCommands () |
Private Attributes | |
TG4RegionsManager * | fRegionsManager = nullptr |
associated class | |
TG4RegionsManager2 * | fRegionsManager2 = nullptr |
associated class | |
G4UIdirectory * | fDirectory = nullptr |
command directory | |
G4UIcmdWithABool * | fSetCheckCmd = nullptr |
command: /mcRegions/check [true|false] | |
G4UIcmdWithABool * | fSetPrintCmd = nullptr |
command: /mcRegions/print [true|false] | |
G4UIcmdWithABool * | fSetSaveCmd = nullptr |
command: /mcRegions/save [true|false] | |
G4UIcmdWithAString * | fSetFileNameCmd = nullptr |
command: /mcRegions/setFileName fileName | |
G4UIcmdWithAString * | fDumpRegionCmd = nullptr |
command: /mcRegions/dump [lvName] | |
G4UIcmdWithAnInteger * | fSetRangePrecisionCmd = nullptr |
command: /mcRegions/setRangePrecision value | |
G4UIcmdWithADouble * | fSetEnergyToleranceCmd = nullptr |
command: /mcRegions/setEnergyTolerance value | |
G4UIcmdWithABool * | fApplyForGammaCmd = nullptr |
command: /mcRegions/applyForGamma true|false | |
G4UIcmdWithABool * | fApplyForElectronCmd = nullptr |
command: /mcRegions/applyForElectron true|false | |
G4UIcmdWithABool * | fApplyForPositronCmd = nullptr |
command: /mcRegions/applyForPositron true|false | |
G4UIcmdWithABool * | fApplyForProtonCmd = nullptr |
command: /mcRegions/applyForProton true|false | |
G4UIcmdWithABool * | fSetLoadCmd = nullptr |
command: /mcRegions/load [true|false] | |
G4UIcmdWithABool * | fSetFromG4TableCmd = nullptr |
command: /mcRegions/fromG4Table [true|false] | |
Messenger class that defines commands for TG4RegionsManager[2].
Implements commands:
Commands working only with old region manager:
Definition at line 53 of file TG4RegionsMessenger.h.
TG4RegionsMessenger::TG4RegionsMessenger | ( | TG4RegionsManager * | regionsManager | ) |
Standard constructor
Definition at line 27 of file TG4RegionsMessenger.cxx.
TG4RegionsMessenger::TG4RegionsMessenger | ( | TG4RegionsManager2 * | regionsManager | ) |
Standard constructor
Definition at line 36 of file TG4RegionsMessenger.cxx.
|
virtual |
Destructor
Definition at line 45 of file TG4RegionsMessenger.cxx.
|
privatedelete |
|
privatedelete |
|
virtual |
Apply command to the associated object.
Definition at line 163 of file TG4RegionsMessenger.cxx.
|
privatedelete |
|
private |
Create commands
Definition at line 70 of file TG4RegionsMessenger.cxx.
Referenced by TG4RegionsMessenger(), and TG4RegionsMessenger().
|
private |
associated class
Definition at line 72 of file TG4RegionsMessenger.h.
Referenced by CreateCommands(), and SetNewValue().
|
private |
|
private |
command directory
Definition at line 74 of file TG4RegionsMessenger.h.
Referenced by CreateCommands(), and ~TG4RegionsMessenger().
|
private |
command: /mcRegions/check [true|false]
Definition at line 77 of file TG4RegionsMessenger.h.
Referenced by CreateCommands(), SetNewValue(), and ~TG4RegionsMessenger().
|
private |
command: /mcRegions/print [true|false]
Definition at line 79 of file TG4RegionsMessenger.h.
Referenced by CreateCommands(), SetNewValue(), and ~TG4RegionsMessenger().
|
private |
command: /mcRegions/save [true|false]
Definition at line 81 of file TG4RegionsMessenger.h.
Referenced by CreateCommands(), SetNewValue(), and ~TG4RegionsMessenger().
|
private |
command: /mcRegions/setFileName fileName
Definition at line 83 of file TG4RegionsMessenger.h.
Referenced by CreateCommands(), SetNewValue(), and ~TG4RegionsMessenger().
|
private |
command: /mcRegions/dump [lvName]
Definition at line 87 of file TG4RegionsMessenger.h.
Referenced by CreateCommands(), SetNewValue(), and ~TG4RegionsMessenger().
|
private |
command: /mcRegions/setRangePrecision value
Definition at line 89 of file TG4RegionsMessenger.h.
Referenced by CreateCommands(), SetNewValue(), and ~TG4RegionsMessenger().
|
private |
command: /mcRegions/setEnergyTolerance value
Definition at line 91 of file TG4RegionsMessenger.h.
Referenced by CreateCommands(), SetNewValue(), and ~TG4RegionsMessenger().
|
private |
command: /mcRegions/applyForGamma true|false
Definition at line 93 of file TG4RegionsMessenger.h.
Referenced by CreateCommands(), SetNewValue(), and ~TG4RegionsMessenger().
|
private |
command: /mcRegions/applyForElectron true|false
Definition at line 95 of file TG4RegionsMessenger.h.
Referenced by CreateCommands(), SetNewValue(), and ~TG4RegionsMessenger().
|
private |
command: /mcRegions/applyForPositron true|false
Definition at line 97 of file TG4RegionsMessenger.h.
Referenced by CreateCommands(), SetNewValue(), and ~TG4RegionsMessenger().
|
private |
command: /mcRegions/applyForProton true|false
Definition at line 99 of file TG4RegionsMessenger.h.
Referenced by CreateCommands(), SetNewValue(), and ~TG4RegionsMessenger().
|
private |
command: /mcRegions/load [true|false]
Definition at line 101 of file TG4RegionsMessenger.h.
Referenced by CreateCommands(), SetNewValue(), and ~TG4RegionsMessenger().
|
private |
command: /mcRegions/fromG4Table [true|false]
Definition at line 103 of file TG4RegionsMessenger.h.
Referenced by CreateCommands(), SetNewValue(), and ~TG4RegionsMessenger().