GGS(GenericGEANT4Simulation)Software
2.7.0
|
A control messenger for GGSMCTruthAction. More...
#include <GGSMCTruthMessenger.h>
Public Member Functions | |
GGSMCTruthMessenger (GGSMCTruthAction *action) | |
Constructor. | |
~GGSMCTruthMessenger () | |
Destructor. | |
void | SetNewValue (G4UIcommand *command, G4String newValue) |
Override of SetNewValue method. More... | |
A control messenger for GGSMCTruthAction.
This messenger controls the GGSMCTruthAction action. The construction and destruction of this messenger is handled by GGSMCTruthAction itself, so messenger's commands will be available as the action is built. Currently, the available commands are:
/GGS/userActions/MCTruthAction/fileBase: sets the output file base name. /GGS/userActions/MCTruthAction/treeName: sets the output tree name.
Definition at line 31 of file GGSMCTruthMessenger.h.
void GGSMCTruthMessenger::SetNewValue | ( | G4UIcommand * | command, |
G4String | newValue | ||
) |
Override of SetNewValue method.
command | The UI command. |
newValue | The new value to be set. |
Definition at line 45 of file GGSMCTruthMessenger.cpp.