49 <<
"\" parameters: " << nofParameters
108 h3xNbins0->
SetGuidance(
"Number of x-bins (default = 100)");
109 h3xNbins0->
SetGuidance(
"Can be reset with /analysis/h3/set command");
113 h3xValMin0->
SetGuidance(
"Minimum x-value, expressed in unit (default = 0.)");
114 h3xValMin0->
SetGuidance(
"Can be reset with /analysis/h3/set command");
118 h3xValMax0->
SetGuidance(
"Maximum x-value, expressed in unit (default = 1.)");
119 h3xValMax0->
SetGuidance(
"Can be reset with /analysis/h3/set command");
123 h3xValUnit0->
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 h3yNbins0->
SetGuidance(
"Number of y-bins (default = 100)");
140 h3yNbins0->
SetGuidance(
"Can be reset with /analysis/h3/set command");
144 h3yValMin0->
SetGuidance(
"Minimum y-value, expressed in unit (default = 0.)");
145 h3yValMin0->
SetGuidance(
"Can be reset with /analysis/h3/set command");
149 h3yValMax0->
SetGuidance(
"Maximum y-value, expressed in unit (default = 1.)");
150 h3yValMax0->
SetGuidance(
"Can be reset with /analysis/h3/set command");
154 h3yValUnit0->
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).";
170 h3zNbins0->
SetGuidance(
"Number of z-bins (default = 100)");
171 h3zNbins0->
SetGuidance(
"Can be reset with /analysis/h3/set command");
175 h3zValMin0->
SetGuidance(
"Minimum z-value, expressed in unit (default = 0.)");
176 h3zValMin0->
SetGuidance(
"Can be reset with /analysis/h3/set command");
180 h3zValMax0->
SetGuidance(
"Maximum z-value, expressed in unit (default = 1.)");
181 h3zValMax0->
SetGuidance(
"Can be reset with /analysis/h3/set command");
185 h3zValUnit0->
SetGuidance(
"The unit applied to filled z-values and zvalMin0, zvalMax0");
189 G4String fcnzGuidance =
"The function applied to filled z-values (log, log10, exp, none).";
195 G4String zbinSchemeGuidance =
"The binning scheme (linear, log).";
237 h3xValMin->
SetGuidance(
"Minimum x-value, expressed in unit");
240 h3xValMax->
SetGuidance(
"Maximum x-value, expressed in unit");
243 h3xValUnit->
SetGuidance(
"The unit applied to filled x-values and xvalMin0, xvalMax0");
248 G4String fcnxGuidance =
"The function applied to filled x-values (log, log10, exp, none).";
253 G4String xbinSchemeGuidance =
"The binning scheme (linear, log).";
262 h3yValMin->
SetGuidance(
"Minimum y-value, expressed in unit");
265 h3yValMax->
SetGuidance(
"Maximum y-value, expressed in unit");
268 h3yValUnit->
SetGuidance(
"The unit applied to filled y-values and yvalMin0, yvalMax0");
273 G4String fcnyGuidance =
"The function applied to filled y-values (log, log10, exp, none).";
278 G4String ybinSchemeGuidance =
"The binning scheme (linear, log).";
287 h3zValMin->
SetGuidance(
"Minimum z-value, expressed in unit");
290 h3zValMax->
SetGuidance(
"Maximum z-value, expressed in unit");
293 h3zValUnit->
SetGuidance(
"The unit applied to filled z-values and zvalMin0, zvalMax0");
298 G4String fcnzGuidance =
"The function applied to filled z-values (log, log10, exp, none).";
303 G4String zbinSchemeGuidance =
"The binning scheme (linear, log).";
415 std::vector<G4String> parameters;
427 G4String title = parameters[counter++];
431 G4String xsunit = parameters[counter++];
432 G4String xsfcn = parameters[counter++];
433 G4String xsbinScheme = parameters[counter++];
438 G4String ysunit = parameters[counter++];
439 G4String ysfcn = parameters[counter++];
440 G4String ysbinScheme = parameters[counter++];
445 G4String zsunit = parameters[counter++];
446 G4String zsfcn = parameters[counter++];
447 G4String zsbinScheme = parameters[counter++];
450 xnbins, xvmin*xunit, xvmax*xunit,
451 ynbins, yvmin*yunit, yvmax*yunit,
452 znbins, zvmin*zunit, zvmax*zunit,
453 xsunit, ysunit, zsunit, xsfcn, ysfcn, zsfcn,
454 xsbinScheme, ysbinScheme, zsbinScheme);
462 G4String xsunit = parameters[counter++];
463 G4String xsfcn = parameters[counter++];
464 G4String xsbinScheme = parameters[counter++];
469 G4String ysunit = parameters[counter++];
470 G4String ysfcn = parameters[counter++];
471 G4String ysbinScheme = parameters[counter++];
476 G4String zsunit = parameters[counter++];
477 G4String zsfcn = parameters[counter++];
478 G4String zsbinScheme = parameters[counter++];
481 xnbins, xvmin*xunit, xvmax*xunit,
482 ynbins, yvmin*yunit, yvmax*yunit,
483 znbins, zvmin*zunit, zvmax*zunit,
484 xsunit, ysunit, zsunit, xsfcn, ysfcn, zsfcn,
485 xsbinScheme, ysbinScheme, zsbinScheme);
490 G4String title = parameters[counter++];
496 G4String xaxis = parameters[counter++];
502 G4String yaxis = parameters[counter++];
508 G4String 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")
void SetParameter(G4UIparameter *const newParameter)
std::ostringstream G4ExceptionDescription
G4H3Messenger(G4VAnalysisManager *manager)
G4UIcommand * fSetH3YAxisCmd
void SetParameterRange(const char *theRange)
void SetParameterCandidates(const char *theString)
G4UIcommand * fCreateH3Cmd
void SetDefaultValue(const char *theDefaultValue)
G4VAnalysisManager * fManager
Associated class.
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")
G4UIcommand * fSetH3XAxisCmd
G4bool SetH3Title(G4int id, const G4String &title)
void SetGuidance(const char *aGuidance)
static G4double ConvertToDouble(const char *st)
G4UIcommand * fSetH3ZAxisCmd
void AvailableForStates(G4ApplicationState s1)
G4double GetUnitValue(const G4String &unit)
static G4int ConvertToInt(const char *st)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
const G4String & GetCommandName() const
void Exception(const char *originOfException, const char *exceptionCode, UExceptionSeverity severity, int level, const char *description)
virtual void SetNewValue(G4UIcommand *command, G4String value)
void Tokenize(const G4String &line, std::vector< G4String > &tokens)
G4bool SetH3XAxisTitle(G4int id, const G4String &title)
void SetGuidance(const char *theGuidance)
G4bool SetH3ZAxisTitle(G4int id, const G4String &title)
G4UIcommand * fSetH3TitleCmd
G4int GetParameterEntries() const
G4bool SetH3YAxisTitle(G4int id, const G4String &title)