201 std::vector<G4String> parameters;
206 fHelper->WarnAboutParameters(command, parameters.size());
210 if ( command == fCreateH1Cmd.get() ) {
212 auto name = parameters[counter++];
213 auto title = parameters[counter++];
215 fHelper->GetBinData(xdata, parameters, counter);
221 else if ( command == fSetH1Cmd.get() ) {
225 fHelper->GetBinData(xdata, parameters, counter);
231 else if ( command == fSetH1XCmd.get() ) {
235 fHelper->GetBinData(xdata, parameters, counter);
241 else if ( command == fSetH1TitleCmd.get() ) {
244 auto title = parameters[counter++];
247 else if ( command == fSetH1XAxisCmd.get() ) {
250 auto xaxis = parameters[counter++];
253 else if ( command == fSetH1YAxisCmd.get() ) {
256 auto yaxis = parameters[counter++];
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 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)
G4double GetUnitValue(const G4String &unit)
static G4int ConvertToInt(const char *st)
void Tokenize(const G4String &line, std::vector< G4String > &tokens)
G4bool SetH1Title(G4int id, const G4String &title)
G4int GetParameterEntries() const
G4bool SetH1XAxisTitle(G4int id, const G4String &title)