49 <<
"\" parameters: " << nofParameters
108 p2xNbins0->
SetGuidance(
"Number of x-bins (default = 100)");
109 p2xNbins0->
SetGuidance(
"Can be reset with /analysis/p2/set command");
113 p2xValMin0->
SetGuidance(
"Minimum x-value, expressed in unit (default = 0.)");
114 p2xValMin0->
SetGuidance(
"Can be reset with /analysis/p2/set command");
118 p2xValMax0->
SetGuidance(
"Maximum x-value, expressed in unit (default = 1.)");
119 p2xValMax0->
SetGuidance(
"Can be reset with /analysis/p2/set command");
123 p2xValUnit0->
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 binSchemeGuidance =
"The binning scheme (linear, log).";
139 p2yNbins0->
SetGuidance(
"Number of y-bins (default = 100)");
140 p2yNbins0->
SetGuidance(
"Can be reset with /analysis/p2/set command");
144 p2yValMin0->
SetGuidance(
"Minimum y-value, expressed in unit (default = 0.)");
145 p2yValMin0->
SetGuidance(
"Can be reset with /analysis/p2/set command");
149 p2yValMax0->
SetGuidance(
"Maximum y-value, expressed in unit (default = 1.)");
150 p2yValMax0->
SetGuidance(
"Can be reset with /analysis/p2/set command");
154 p2yValUnit0->
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).";
169 p2zValMin0->
SetGuidance(
"Minimum z-value, expressed in unit (default = 0.)");
170 p2zValMin0->
SetGuidance(
"Can be reset with /analysis/p2/set command");
174 p2zValMax0->
SetGuidance(
"Maximum z-value, expressed in unit (default = 1.)");
175 p2zValMax0->
SetGuidance(
"Can be reset with /analysis/p2/set command");
179 p2zValUnit0->
SetGuidance(
"The unit applied to filled z-values and zvalMin0, zvalMax0");
183 G4String fcnzGuidance =
"The function applied to filled z-values (log, log10, exp, none).";
223 p2xValMin->
SetGuidance(
"Minimum x-value, expressed in unit");
226 p2xValMax->
SetGuidance(
"Maximum x-value, expressed in unit");
229 p2xValUnit->
SetGuidance(
"The unit applied to filled x-values and xvalMin0, xvalMax0");
234 G4String fcnxGuidance =
"The function applied to filled x-values (log, log10, exp, none).";
239 G4String binSchemeGuidance =
"The binning scheme (linear, log).";
248 p2yValMin->
SetGuidance(
"Minimum y-value, expressed in unit");
251 p2yValMax->
SetGuidance(
"Maximum y-value, expressed in unit");
254 p2yValUnit->
SetGuidance(
"The unit applied to filled y-values and yvalMin0, yvalMax0");
259 G4String fcnyGuidance =
"The function applied to filled y-values (log, log10, exp, none).";
269 p2zValMin->
SetGuidance(
"Minimum z-value, expressed in unit");
272 p2zValMax->
SetGuidance(
"Maximum z-value, expressed in unit");
275 p2zValUnit->
SetGuidance(
"The unit applied to filled z-values and zvalMin0, zvalMax0");
280 G4String fcnzGuidance =
"The function applied to filled z-values (log, log10, exp, none).";
388 std::vector<G4String> parameters;
400 G4String title = parameters[counter++];
404 G4String xsunit = parameters[counter++];
405 G4String xsfcn = parameters[counter++];
406 G4String xsbinScheme = parameters[counter++];
411 G4String ysunit = parameters[counter++];
412 G4String ysfcn = parameters[counter++];
413 G4String ysbinScheme = parameters[counter++];
417 G4String zsunit = parameters[counter++];
418 G4String zsfcn = parameters[counter++];
421 xnbins, xvmin*xunit, xvmax*xunit,
422 ynbins, yvmin*yunit, yvmax*yunit,
423 zvmin*zunit, zvmax*zunit,
424 xsunit, ysunit, zsunit, xsfcn, ysfcn, zsfcn,
425 xsbinScheme, ysbinScheme);
433 G4String xsunit = parameters[counter++];
434 G4String xsfcn = parameters[counter++];
435 G4String xsbinScheme = parameters[counter++];
440 G4String ysunit = parameters[counter++];
441 G4String ysfcn = parameters[counter++];
442 G4String ysbinScheme = parameters[counter++];
446 G4String zsunit = parameters[counter++];
447 G4String zsfcn = parameters[counter++];
450 xnbins, xvmin*xunit, xvmax*xunit,
451 ynbins, yvmin*yunit, yvmax*yunit,
452 zvmin*zunit, zvmax*zunit,
453 xsunit, ysunit, zsunit, xsfcn, ysfcn, zsfcn,
454 xsbinScheme, ysbinScheme);
459 G4String title = parameters[counter++];
465 G4String xaxis = parameters[counter++];
471 G4String yaxis = parameters[counter++];
477 G4String zaxis = parameters[counter++];
void SetParameter(G4UIparameter *const newParameter)
G4bool SetP2ZAxisTitle(G4int id, const G4String &title)
std::ostringstream G4ExceptionDescription
void SetParameterRange(const char *theRange)
void SetParameterCandidates(const char *theString)
void SetDefaultValue(const char *theDefaultValue)
G4bool SetP2Title(G4int id, const G4String &title)
G4UIcommand * fSetP2TitleCmd
G4UIcommand * fCreateP2Cmd
G4UIcommand * fSetP2XAxisCmd
G4bool SetP2XAxisTitle(G4int id, const G4String &title)
virtual void SetNewValue(G4UIcommand *command, G4String value)
void SetGuidance(const char *aGuidance)
static G4double ConvertToDouble(const char *st)
G4P2Messenger(G4VAnalysisManager *manager)
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)
G4bool SetP2(G4int id, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, G4double zmin=0, G4double zmax=0, 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 & GetCommandName() const
void Exception(const char *originOfException, const char *exceptionCode, UExceptionSeverity severity, int level, const char *description)
G4bool SetP2YAxisTitle(G4int id, const G4String &title)
G4VAnalysisManager * fManager
Associated class.
void Tokenize(const G4String &line, std::vector< G4String > &tokens)
G4int CreateP2(const G4String &name, const G4String &title, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, G4double zmin=0, G4double zmax=0, 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")
G4UIcommand * fSetP2YAxisCmd
void SetGuidance(const char *theGuidance)
G4int GetParameterEntries() const
G4UIcommand * fSetP2ZAxisCmd