#include <G4PlotMessenger.hh>
Definition at line 47 of file G4PlotMessenger.hh.
◆ G4PlotMessenger() [1/2]
Definition at line 44 of file G4PlotMessenger.cc.
45 : fPlotParameters(plotParameters)
46{
47 fDirectory = std::make_unique<G4UIdirectory>("/analysis/plot/");
48 fDirectory->SetGuidance("Analysis batch plotting control");
49
50 SetStyleCmd();
51 SetLayoutCmd();
52 SetDimensionsCmd();
53}
◆ G4PlotMessenger() [2/2]
G4PlotMessenger::G4PlotMessenger |
( |
| ) |
|
|
delete |
◆ ~G4PlotMessenger()
G4PlotMessenger::~G4PlotMessenger |
( |
| ) |
|
|
overridedefault |
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 134 of file G4PlotMessenger.cc.
135{
136
137 std::vector<G4String> parameters;
139
141
144 "\" parameters: " + to_string(parameters.size()) +
146 fkClass, "WarnAboutParameters");
147 return;
148 }
149
150 auto counter = 0;
151 if ( command == fSetLayoutCmd.get() ) {
154 fPlotParameters->
SetLayout(columns, rows);
155 return;
156 }
157
158 if ( command == fSetDimensionsCmd.get() ) {
162 return;
163 }
164
165 if ( command == fSetStyleCmd.get() ) {
166 fPlotParameters->
SetStyle(newValues);
167 return;
168 }
169}
void SetLayout(G4int columns, G4int rows)
void SetDimensions(G4int width, G4int height)
void SetStyle(const G4String &style)
std::size_t GetParameterEntries() const
static G4int ConvertToInt(const char *st)
const G4String & GetCommandName() const
void Tokenize(const G4String &line, std::vector< G4String > &tokens)
void Warn(const G4String &message, const std::string_view inClass, const std::string_view inFunction)
The documentation for this class was generated from the following files: