#include <G4HnMessenger.hh>
Definition at line 47 of file G4HnMessenger.hh.
◆ G4HnMessenger()
Definition at line 44 of file G4HnMessenger.cc.
56 fHelper = G4Analysis::make_unique<G4AnalysisMessengerHelper>(hnType);
std::unique_ptr< G4UIcmdWithABool > fSetHnActivationAllCmd
void SetHnPlottingToAllCmd()
G4HnManager & fManager
Associated class.
G4String GetHnType() const
std::unique_ptr< G4AnalysisMessengerHelper > fHelper
std::unique_ptr< G4UIcommand > fSetHnPlottingCmd
std::unique_ptr< G4UIcmdWithAnInteger > fSetHnAsciiCmd
std::unique_ptr< G4UIcommand > fSetHnActivationCmd
void SetHnActivationCmd()
std::unique_ptr< G4UIcmdWithABool > fSetHnPlottingAllCmd
void SetHnActivationToAllCmd()
◆ ~G4HnMessenger()
G4HnMessenger::~G4HnMessenger |
( |
| ) |
|
|
virtual |
◆ SetHnActivationCmd()
void G4HnMessenger::SetHnActivationCmd |
( |
| ) |
|
|
private |
Definition at line 87 of file G4HnMessenger.cc.
90 hnId->SetGuidance(
fHelper->Update(
"OBJECT id"));
91 hnId->SetParameterRange(
"id>=0");
93 auto hnActivation =
new G4UIparameter(
"hnActivation",
's',
true);
94 hnActivation->SetGuidance(
fHelper->Update(
"OBJECT activation"));
95 hnActivation->SetDefaultValue(
"none");
98 = G4Analysis::make_unique<G4UIcommand>(
fHelper->Update(
"/analysis/HNTYPE_/setActivation"),
this);
100 fHelper->Update(
"Set activation for the NDIM_D LOBJECT of given id"));
std::unique_ptr< G4AnalysisMessengerHelper > fHelper
std::unique_ptr< G4UIcommand > fSetHnActivationCmd
◆ SetHnActivationToAllCmd()
void G4HnMessenger::SetHnActivationToAllCmd |
( |
| ) |
|
|
private |
Definition at line 107 of file G4HnMessenger.cc.
110 = G4Analysis::make_unique<G4UIcmdWithABool>(
fHelper->Update(
"/analysis/HNTYPE_/setActivationToAll"),
this);
112 fHelper->Update(
"Set activation to all NDIM_D LOBJECTs"));
std::unique_ptr< G4UIcmdWithABool > fSetHnActivationAllCmd
std::unique_ptr< G4AnalysisMessengerHelper > fHelper
◆ SetHnAsciiCmd()
void G4HnMessenger::SetHnAsciiCmd |
( |
| ) |
|
|
private |
Definition at line 74 of file G4HnMessenger.cc.
77 = G4Analysis::make_unique<G4UIcmdWithAnInteger>(
fHelper->Update(
"/analysis/HNTYPE_/setAscii"),
this);
79 fHelper->Update(
"Print NDIM_D LOBJECT of given id on ascii file."));
std::unique_ptr< G4AnalysisMessengerHelper > fHelper
std::unique_ptr< G4UIcmdWithAnInteger > fSetHnAsciiCmd
◆ SetHnPlottingCmd()
void G4HnMessenger::SetHnPlottingCmd |
( |
| ) |
|
|
private |
Definition at line 117 of file G4HnMessenger.cc.
120 hnId->SetGuidance(
fHelper->Update(
"OBJECT id"));
121 hnId->SetParameterRange(
"id>=0");
123 auto hnPlotting =
new G4UIparameter(
"hnPlotting",
's',
true);
124 hnPlotting->SetGuidance(
fHelper->Update(
"(In)Activate OBJECT plotting"));
125 hnPlotting->SetDefaultValue(
"none");
128 = G4Analysis::make_unique<G4UIcommand>(
fHelper->Update(
"/analysis/HNTYPE_/setPlotting"),
this);
130 fHelper->Update(
"(In)Activate batch plotting of the NDIM_D LOBJECT of given id"));
std::unique_ptr< G4AnalysisMessengerHelper > fHelper
std::unique_ptr< G4UIcommand > fSetHnPlottingCmd
◆ SetHnPlottingToAllCmd()
void G4HnMessenger::SetHnPlottingToAllCmd |
( |
| ) |
|
|
private |
Definition at line 137 of file G4HnMessenger.cc.
140 = G4Analysis::make_unique<G4UIcmdWithABool>(
fHelper->Update(
"/analysis/HNTYPE_/setPlottingToAll"),
this);
142 fHelper->Update(
"(In)Activate batch plotting of all NDIM_D LOBJECTs"));
std::unique_ptr< G4AnalysisMessengerHelper > fHelper
std::unique_ptr< G4UIcmdWithABool > fSetHnPlottingAllCmd
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 151 of file G4HnMessenger.cc.
159 std::vector<G4String> parameters;
170 fHelper->WarnAboutParameters(command, parameters.size());
179 std::vector<G4String> parameters;
190 fHelper->WarnAboutParameters(command, parameters.size());
std::unique_ptr< G4UIcmdWithABool > fSetHnActivationAllCmd
G4HnManager & fManager
Associated class.
std::unique_ptr< G4AnalysisMessengerHelper > fHelper
std::unique_ptr< G4UIcommand > fSetHnPlottingCmd
void SetPlotting(G4bool plotting)
static G4bool ConvertToBool(const char *st)
std::unique_ptr< G4UIcmdWithAnInteger > fSetHnAsciiCmd
void SetAscii(G4int id, G4bool ascii)
static G4int ConvertToInt(const char *st)
std::unique_ptr< G4UIcommand > fSetHnActivationCmd
void Tokenize(const G4String &line, std::vector< G4String > &tokens)
std::unique_ptr< G4UIcmdWithABool > fSetHnPlottingAllCmd
G4int GetParameterEntries() const
void SetActivation(G4bool activation)
◆ fHelper
◆ fManager
◆ fSetHnActivationAllCmd
◆ fSetHnActivationCmd
std::unique_ptr<G4UIcommand> G4HnMessenger::fSetHnActivationCmd |
|
private |
◆ fSetHnAsciiCmd
◆ fSetHnPlottingAllCmd
◆ fSetHnPlottingCmd
std::unique_ptr<G4UIcommand> G4HnMessenger::fSetHnPlottingCmd |
|
private |
The documentation for this class was generated from the following files: