47 <<
"\" parameters: " << nofParameters
106 h2xNbins0->
SetGuidance(
"Number of x-bins (default = 100)");
107 h2xNbins0->
SetGuidance(
"Can be reset with /analysis/h2/set command");
111 h2xValMin0->
SetGuidance(
"Minimum x-value, expressed in unit (default = 0.)");
112 h2xValMin0->
SetGuidance(
"Can be reset with /analysis/h2/set command");
116 h2xValMax0->
SetGuidance(
"Maximum x-value, expressed in unit (default = 1.)");
117 h2xValMax0->
SetGuidance(
"Can be reset with /analysis/h2/set command");
121 h2xValUnit0->
SetGuidance(
"The unit of xvalMin0 and xvalMax0");
125 G4String fcnxGuidance =
"The function applied to filled x-values (log, log10, exp, none).\n";
126 fcnxGuidance +=
"Note that the unit parameter cannot be omitted in this case,\n";
127 fcnxGuidance +=
"but none value should be used insted.";
133 h2yNbins0->
SetGuidance(
"Number of y-bins (default = 100)");
134 h2yNbins0->
SetGuidance(
"Can be reset with /analysis/h2/set command");
138 h2yValMin0->
SetGuidance(
"Minimum y-value, expressed in unit (default = 0.)");
139 h2yValMin0->
SetGuidance(
"Can be reset with /analysis/h2/set command");
143 h2yValMax0->
SetGuidance(
"Maximum y-value, expressed in unit (default = 1.)");
144 h2yValMax0->
SetGuidance(
"Can be reset with /analysis/h2/set command");
148 h2yValUnit0->
SetGuidance(
"The unit of xvalMin0 and yvalMax0");
152 G4String fcnyGuidance =
"The function applied to filled x-values (log, log10, exp, none).\n";
153 fcnyGuidance +=
"Note that the unit parameter cannot be omitted in this case,\n";
154 fcnyGuidance +=
"but none value should be used insted.";
188 h2xValMin->
SetGuidance(
"Minimum x-value, expressed in unit");
191 h2xValMax->
SetGuidance(
"Maximum x-value, expressed in unit");
195 G4String fcnxGuidance =
"The function applied to filled x-values (log, log10, exp, none).\n";
196 fcnxGuidance +=
"Note that the unit parameter cannot be omitted in this case,\n";
197 fcnxGuidance +=
"but none value should be used insted.";
202 h2yValUnit->
SetGuidance(
"The unit of yvalMin and yvalMax");
209 h2yValMin->
SetGuidance(
"Minimum y-value, expressed in unit");
212 h2yValMax->
SetGuidance(
"Maximum y-value, expressed in unit");
215 h2xValUnit->
SetGuidance(
"The unit of xvalMin and xvalMax");
220 G4String fcnyGuidance =
"The function applied to filled y-values (log, log10, exp, none).\n";
221 fcnyGuidance +=
"Note that the unit parameter cannot be omitted in this case,\n";
222 fcnyGuidance +=
"but none value should be used insted.";
323 std::vector<G4String> parameters;
335 G4String title = parameters[counter++];
342 G4String xsunit = parameters[counter++];
343 G4String ysunit = parameters[counter++];
344 G4String xsfcn = parameters[counter++];
345 G4String ysfcn = parameters[counter++];
346 G4String xsbinScheme = parameters[counter++];
347 G4String ysbinScheme = parameters[counter++];
349 xnbins, xvmin, xvmax, ynbins, yvmin, yvmax,
350 ysunit, ysfcn, ysunit, ysfcn);
361 G4String xsunit = parameters[counter++];
362 G4String ysunit = parameters[counter++];
363 G4String xsfcn = parameters[counter++];
364 G4String ysfcn = parameters[counter++];
366 xnbins, xvmin, xvmax, ynbins, yvmin, yvmax,
367 ysunit, ysfcn, ysunit, ysfcn);
372 G4String title = parameters[counter++];
378 G4String xaxis = parameters[counter++];
384 G4String yaxis = parameters[counter++];
390 G4String zaxis = parameters[counter++];
void SetParameter(G4UIparameter *const newParameter)
std::ostringstream G4ExceptionDescription
void SetParameterRange(const char *theRange)
void SetParameterCandidates(const char *theString)
G4bool SetH2YAxisTitle(G4int id, const G4String &title)
void SetDefaultValue(const char *theDefaultValue)
G4bool SetH2ZAxisTitle(G4int id, const G4String &title)
G4UIcommand * fSetH2XAxisCmd
void SetGuidance(const char *aGuidance)
static G4double ConvertToDouble(const char *st)
void AvailableForStates(G4ApplicationState s1)
G4UIcommand * fSetH2ZAxisCmd
G4UIcommand * fSetH2YAxisCmd
static G4int ConvertToInt(const char *st)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4bool SetH2(G4int id, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &xbinSchemeName="linear", const G4String &ybinSchemeName="linear")
const G4String & GetCommandName() const
G4bool SetH2Title(G4int id, const G4String &title)
G4VAnalysisManager * fManager
Associated class.
void Tokenize(const G4String &line, std::vector< G4String > &tokens)
virtual void SetNewValue(G4UIcommand *command, G4String value)
G4UIcommand * fSetH2TitleCmd
void Exception(const char *originOfException, const char *exceptionCode, ExceptionSeverity severity, int level, const char *description)
G4UIcommand * fCreateH2Cmd
void SetGuidance(const char *theGuidance)
G4H2Messenger(G4VAnalysisManager *manager)
G4int GetParameterEntries() const
G4bool SetH2XAxisTitle(G4int id, const G4String &title)
G4int CreateH2(const G4String &name, const G4String &title, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &xbinScheme="linear", const G4String &ybinScheme="linear")