49 <<
"\" parameters: " << nofParameters
108 h2xNbins0->
SetGuidance(
"Number of x-bins (default = 100)");
109 h2xNbins0->
SetGuidance(
"Can be reset with /analysis/h2/set command");
113 h2xValMin0->
SetGuidance(
"Minimum x-value, expressed in unit (default = 0.)");
114 h2xValMin0->
SetGuidance(
"Can be reset with /analysis/h2/set command");
118 h2xValMax0->
SetGuidance(
"Maximum x-value, expressed in unit (default = 1.)");
119 h2xValMax0->
SetGuidance(
"Can be reset with /analysis/h2/set command");
123 h2xValUnit0->
SetGuidance(
"The unit applied to filled x-values and xvalMin0, xvalMax0");
127 G4String fcnxGuidance =
"The function applied to filled x-values (log, log10, exp, none).";
133 G4String xbinSchemeGuidance =
"The binning scheme (linear, log).";
139 h2yNbins0->
SetGuidance(
"Number of y-bins (default = 100)");
140 h2yNbins0->
SetGuidance(
"Can be reset with /analysis/h2/set command");
144 h2yValMin0->
SetGuidance(
"Minimum y-value, expressed in unit (default = 0.)");
145 h2yValMin0->
SetGuidance(
"Can be reset with /analysis/h2/set command");
149 h2yValMax0->
SetGuidance(
"Maximum y-value, expressed in unit (default = 1.)");
150 h2yValMax0->
SetGuidance(
"Can be reset with /analysis/h2/set command");
154 h2yValUnit0->
SetGuidance(
"The unit applied to filled y-values and yvalMin0, yvalMax0");
158 G4String fcnyGuidance =
"The function applied to filled y-values (log, log10, exp, none).";
164 G4String ybinSchemeGuidance =
"The binning scheme (linear, log).";
200 h2xValMin->
SetGuidance(
"Minimum x-value, expressed in unit");
203 h2xValMax->
SetGuidance(
"Maximum x-value, expressed in unit");
206 h2xValUnit->
SetGuidance(
"The unit applied to filled x-values and xvalMin, xvalMax");
211 G4String fcnxGuidance =
"The function applied to filled x-values (log, log10, exp, none).";
216 G4String xbinSchemeGuidance =
"The binning scheme (linear, log).";
225 h2yValMin->
SetGuidance(
"Minimum y-value, expressed in unit");
228 h2yValMax->
SetGuidance(
"Maximum y-value, expressed in unit");
231 h2yValUnit->
SetGuidance(
"The unit applied to filled y-values and yvalMin, yvalMax");
236 G4String fcnyGuidance =
"The function applied to filled y-values (log, log10, exp, none).";
241 G4String ybinSchemeGuidance =
"The binning scheme (linear, log).";
346 std::vector<G4String> parameters;
358 G4String title = parameters[counter++];
362 G4String xsunit = parameters[counter++];
363 G4String xsfcn = parameters[counter++];
364 G4String xsbinScheme = parameters[counter++];
369 G4String ysunit = parameters[counter++];
370 G4String ysfcn = parameters[counter++];
371 G4String ysbinScheme = parameters[counter++];
374 xnbins, xvmin*xunit, xvmax*xunit,
375 ynbins, yvmin*yunit, yvmax*yunit,
376 xsunit, ysunit, xsfcn, ysfcn, xsbinScheme, ysbinScheme);
384 G4String xsunit = parameters[counter++];
385 G4String xsfcn = parameters[counter++];
386 G4String xsbinScheme = parameters[counter++];
391 G4String ysunit = parameters[counter++];
392 G4String ysfcn = parameters[counter++];
393 G4String ysbinScheme = parameters[counter++];
396 xnbins, xvmin*xunit, xvmax*xunit,
397 ynbins, yvmin*yunit, yvmax*yunit,
398 xsunit, ysunit, xsfcn, ysfcn, xsbinScheme, ysbinScheme);
403 G4String title = parameters[counter++];
409 G4String xaxis = parameters[counter++];
415 G4String yaxis = parameters[counter++];
421 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)
G4double GetUnitValue(const G4String &unit)
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
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 &xbinSchemeName="linear", const G4String &ybinSchemeName="linear")
G4bool SetH2XAxisTitle(G4int id, const G4String &title)