200{
201
202 std::vector<G4String> parameters;
204
206
207 fHelper->WarnAboutParameters(command, parameters.size());
208 return;
209 }
210
211 if ( command == fCreateH1Cmd.get() ) {
212 auto counter = 0;
213 auto name = parameters[counter++];
214 auto title = parameters[counter++];
216 fHelper->GetBinData(xdata, parameters, counter);
221 }
222 else if ( command == fSetH1Cmd.get() ) {
223 auto counter = 0;
226 fHelper->GetBinData(xdata, parameters, counter);
231 }
232 else if ( command == fSetH1XCmd.get() ) {
233 auto counter = 0;
236 fHelper->GetBinData(xdata, parameters, counter);
241 }
242 else if ( command == fSetH1TitleCmd.get() ) {
243 auto counter = 0;
245 auto title = parameters[counter++];
247 }
248 else if ( command == fSetH1XAxisCmd.get() ) {
249 auto counter = 0;
251 auto xaxis = parameters[counter++];
253 }
254 else if ( command == fSetH1YAxisCmd.get() ) {
255 auto counter = 0;
257 auto yaxis = parameters[counter++];
259 }
260 else if ( command == fSetH1XAxisLogCmd.get() ) {
261 auto counter = 0;
265 }
266 else if ( command == fSetH1YAxisLogCmd.get() ) {
267 auto counter = 0;
271 }
272}
std::size_t GetParameterEntries() const
static G4int ConvertToInt(const char *st)
static G4bool ConvertToBool(const char *st)
G4int CreateH1(const G4String &name, const G4String &title, G4int nbins, G4double xmin, G4double xmax, const G4String &unitName="none", const G4String &fcnName="none", const G4String &binSchemeName="linear")
G4bool SetH1YAxisIsLog(G4int id, G4bool isLog)
G4bool SetH1Title(G4int id, const G4String &title)
G4bool SetH1XAxisTitle(G4int id, const G4String &title)
G4bool SetH1XAxisIsLog(G4int id, G4bool isLog)
G4bool SetH1(G4int id, G4int nbins, G4double xmin, G4double xmax, const G4String &unitName="none", const G4String &fcnName="none", const G4String &binSchemeName="linear")
G4bool SetH1YAxisTitle(G4int id, const G4String &title)
void Tokenize(const G4String &line, std::vector< G4String > &tokens)
G4double GetUnitValue(const G4String &unit)
const char * name(G4int ptype)