#include <G4HnMessenger.hh>
Definition at line 47 of file G4HnMessenger.hh.
Definition at line 44 of file G4HnMessenger.cc.
48 fSetHnAsciiCmd(
nullptr),
49 fSetHnActivationCmd(
nullptr),
50 fSetHnActivationAllCmd(
nullptr),
51 fSetHnPlottingCmd(
nullptr),
52 fSetHnPlottingAllCmd(
nullptr)
56 fHelper = G4Analysis::make_unique<G4AnalysisMessengerHelper>(hnType);
60 SetHnActivationToAllCmd();
62 SetHnPlottingToAllCmd();
G4String GetHnType() const
G4HnMessenger::~G4HnMessenger |
( |
| ) |
|
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 151 of file G4HnMessenger.cc.
153 if ( command == fSetHnAsciiCmd.get() ) {
154 auto id = fSetHnAsciiCmd->GetNewIntValue(newValues);
157 else if ( command == fSetHnActivationCmd.get() ) {
159 std::vector<G4String> parameters;
170 fHelper->WarnAboutParameters(command, parameters.size());
173 else if ( command == fSetHnActivationAllCmd.get() ) {
174 auto activation = fSetHnActivationAllCmd->GetNewBoolValue(newValues);
177 else if ( command == fSetHnPlottingCmd.get() ) {
179 std::vector<G4String> parameters;
190 fHelper->WarnAboutParameters(command, parameters.size());
193 else if ( command == fSetHnPlottingAllCmd.get() ) {
194 auto activation = fSetHnPlottingAllCmd->GetNewBoolValue(newValues);
void SetPlotting(G4bool plotting)
static G4bool ConvertToBool(const char *st)
void SetAscii(G4int id, G4bool ascii)
static G4int ConvertToInt(const char *st)
void Tokenize(const G4String &line, std::vector< G4String > &tokens)
G4int GetParameterEntries() const
void SetActivation(G4bool activation)
The documentation for this class was generated from the following files: