GGS(GenericGEANT4Simulation)Software
2.7.0
|
A control messenger for GGSHadrIntAction. More...
#include <GGSHadrIntMessenger.h>
Public Member Functions | |
GGSHadrIntMessenger (GGSHadrIntAction *action) | |
Constructor. | |
~GGSHadrIntMessenger () | |
Destructor. | |
void | SetNewValue (G4UIcommand *command, G4String newValue) |
Override of SetNewValue method. More... | |
A control messenger for GGSHadrIntAction.
This messenger controls the GGSHadrIntAction action. The construction and destruction of this messenger is handled by GGSHadrIntAction itself, so messenger's commands will be available as the action is built. Currently, the available commands are:
/GGS/userActions/hadrIntAction/fileBase: sets the output file base name. /GGS/userActions/hadrIntAction/treeName: sets the output tree name. /GGS/userActions/hadrIntAction/energyFraction: sets the energy fraction for quasi-elastic interactions tagging. /GGS/userActions/hadrIntAction/outProducts: toggles on and off saving interaction products.
Definition at line 34 of file GGSHadrIntMessenger.h.
void GGSHadrIntMessenger::SetNewValue | ( | G4UIcommand * | command, |
G4String | newValue | ||
) |
Override of SetNewValue method.
command | The UI command. |
newValue | The new value to be set. |
Definition at line 56 of file GGSHadrIntMessenger.cpp.