332 std::vector<G4String> parameters;
337 fHelper->WarnAboutParameters(command, parameters.size());
341 if ( command == fCreateH3Cmd.get() ) {
343 auto name = parameters[counter++];
344 auto title = parameters[counter++];
346 fHelper->GetBinData(xdata, parameters, counter);
349 fHelper->GetBinData(ydata, parameters, counter);
352 fHelper->GetBinData(zdata, parameters, counter);
362 else if ( command == fSetH3Cmd.get() ) {
366 fHelper->GetBinData(xdata, parameters, counter);
369 fHelper->GetBinData(ydata, parameters, counter);
372 fHelper->GetBinData(zdata, parameters, counter);
382 else if ( command == fSetH3XCmd.get() ) {
386 fHelper->GetBinData(fXData, parameters, counter);
388 else if ( command == fSetH3YCmd.get() ) {
392 fHelper->GetBinData(fYData, parameters, counter);
394 else if ( command == fSetH3ZCmd.get() ) {
398 if ( fXId == -1 || fXId !=
id ||
399 fYId == -1 || fYId !=
id ) {
400 fHelper->WarnAboutSetCommands();
406 fHelper->GetBinData(zdata, parameters, counter);
418 else if ( command == fSetH3TitleCmd.get() ) {
421 auto title = parameters[counter++];
424 else if ( command == fSetH3XAxisCmd.get() ) {
427 auto xaxis = parameters[counter++];
430 else if ( command == fSetH3YAxisCmd.get() ) {
433 auto yaxis = parameters[counter++];
436 else if ( command == fSetH3ZAxisCmd.get() ) {
439 auto zaxis = parameters[counter++];
G4int CreateH3(const G4String &name, const G4String &title, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, G4int nzbins, G4double zmin, G4double zmax, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &zunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &zfcnName="none", const G4String &xbinSchemeName="linear", const G4String &ybinSchemeName="linear", const G4String &zbinSchemeName="linear")
G4bool SetH3(G4int id, G4int nxbins, G4double xmin, G4double xmax, G4int nzbins, G4double zmin, G4double zmax, G4int nybins, G4double ymin, G4double ymax, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &zunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &zfcnName="none", const G4String &xbinSchemeName="linear", const G4String &ybinSchemeName="linear", const G4String &zbinSchemeName="linear")
G4bool SetH3Title(G4int id, const G4String &title)
G4double GetUnitValue(const G4String &unit)
static G4int ConvertToInt(const char *st)
void Tokenize(const G4String &line, std::vector< G4String > &tokens)
G4bool SetH3XAxisTitle(G4int id, const G4String &title)
G4bool SetH3ZAxisTitle(G4int id, const G4String &title)
G4int GetParameterEntries() const
G4bool SetH3YAxisTitle(G4int id, const G4String &title)