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).";
131 G4String xbinSchemeGuidance =
"The binning scheme (linear, log).";
137 h2yNbins0->
SetGuidance(
"Number of y-bins (default = 100)");
138 h2yNbins0->
SetGuidance(
"Can be reset with /analysis/h2/set command");
142 h2yValMin0->
SetGuidance(
"Minimum y-value, expressed in unit (default = 0.)");
143 h2yValMin0->
SetGuidance(
"Can be reset with /analysis/h2/set command");
147 h2yValMax0->
SetGuidance(
"Maximum y-value, expressed in unit (default = 1.)");
148 h2yValMax0->
SetGuidance(
"Can be reset with /analysis/h2/set command");
152 h2yValUnit0->
SetGuidance(
"The unit of yvalMin0 and yvalMax0");
156 G4String fcnyGuidance =
"The function applied to filled y-values (log, log10, exp, none).";
162 G4String ybinSchemeGuidance =
"The binning scheme (linear, log).";
198 h2xValMin->
SetGuidance(
"Minimum x-value, expressed in unit");
201 h2xValMax->
SetGuidance(
"Maximum x-value, expressed in unit");
204 h2xValUnit->
SetGuidance(
"The unit of xvalMin and xvalMax");
209 G4String fcnxGuidance =
"The function applied to filled x-values (log, log10, exp, none).";
214 G4String xbinSchemeGuidance =
"The binning scheme (linear, log).";
223 h2yValMin->
SetGuidance(
"Minimum y-value, expressed in unit");
226 h2yValMax->
SetGuidance(
"Maximum y-value, expressed in unit");
229 h2yValUnit->
SetGuidance(
"The unit of yvalMin and yvalMax");
234 G4String fcnyGuidance =
"The function applied to filled y-values (log, log10, exp, none).";
239 G4String ybinSchemeGuidance =
"The binning scheme (linear, log).";
344 std::vector<G4String> parameters;
356 G4String title = parameters[counter++];
360 G4String xsunit = parameters[counter++];
361 G4String xsfcn = parameters[counter++];
362 G4String xsbinScheme = parameters[counter++];
366 G4String ysunit = parameters[counter++];
367 G4String ysfcn = parameters[counter++];
368 G4String ysbinScheme = parameters[counter++];
370 xnbins, xvmin, xvmax, ynbins, yvmin, yvmax,
371 xsunit, ysunit, xsfcn, ysfcn, xsbinScheme, ysbinScheme);
379 G4String xsunit = parameters[counter++];
380 G4String xsfcn = parameters[counter++];
381 G4String xsbinScheme = parameters[counter++];
385 G4String ysunit = parameters[counter++];
386 G4String ysfcn = parameters[counter++];
387 G4String ysbinScheme = parameters[counter++];
389 xnbins, xvmin, xvmax, ynbins, yvmin, yvmax,
390 xsunit, ysunit, xsfcn, ysfcn, xsbinScheme, ysbinScheme);
395 G4String title = parameters[counter++];
401 G4String xaxis = parameters[counter++];
407 G4String yaxis = parameters[counter++];
413 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")