51 paramDir -> SetGuidance(
"Commands to generate stopping power and range");
55 "\n[usage]: /parameter/getstopping Material [Emin] [Emax] [N] [Particle] [File]"
56 "\n Material:(string) Material name, like G4_H, G4_WATER,..., look at /parameter/nist"
57 "\n Emin Emax:(double) minimum and maximum kinetic energy (MeV)"
58 "\n N:(double) [number of points]"
59 "\n Particle:(string) Particle name, look at /particle/list"
60 "\n File:(string) Name for the output file."
61 "\nDefault values for parameters inside [] are respectively:"
62 "\n \"1 MeV\", \"Emin\", \"1\", \"proton\", \"stdout\"");
67 listCmd -> SetGuidance(
"Print NIST elements/materials.\nParameters:"
68 "\n\t all: will print elements and compounds"
69 "\n\t simple: will print elements only"
70 "\n\t compound: will print compounds only"
71 "\n\t hep: will print hep compounds"
72 "\n\t list: will print a simple full list of all elements and compounds");
73 listCmd -> SetParameterName(
"String",
true);
74 listCmd -> SetDefaultValue(
"list");
75 listCmd -> SetCandidates(
"all simple compound hep list");
88 if (command == dedxCmd)
90 pParam -> GetStoppingTable(vararg);
92 else if (command == listCmd)
94 pParam -> ListOfNistMaterials(vararg);
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetNewValue(G4UIcommand *, G4String)
void SetGuidance(const char *aGuidance)
IORTParameterMessenger(IORTInteractionParameters *)
void AvailableForStates(G4ApplicationState s1)
~IORTParameterMessenger()