40 paramDir -> SetGuidance(
"Commands to generate stopping power and range");
44 "\n[usage]: /parameter/getstopping Material [Emin] [Emax] [N] [Particle] [File]"
45 "\n Material:(string) Material name, like G4_H, G4_WATER,..., look at /parameter/nist"
46 "\n Emin Emax:(double) minimum and maximum kinetic energy (MeV)"
47 "\n N:(double) [number of points]"
48 "\n Particle:(string) Particle name, look at /particle/list"
49 "\n File:(string) Name for the output file."
50 "\nDefault values for parameters inside [] are respectively:"
51 "\n \"1 MeV\", \"Emin\", \"1\", \"proton\", \"stdout\"");
56 listCmd -> SetGuidance(
"Print NIST elements/materials.\nParameters:"
57 "\n\t all: will print elements and compounds"
58 "\n\t simple: will print elements only"
59 "\n\t compound: will print compounds only"
60 "\n\t hep: will print hep compounds"
61 "\n\t list: will print a simple full list of all elements and compounds");
62 listCmd -> SetParameterName(
"String",
true);
63 listCmd -> SetDefaultValue(
"list");
64 listCmd -> SetCandidates(
"all simple compound hep list");
79 pParam -> GetStoppingTable(vararg);
83 pParam -> ListOfNistMaterials(vararg);
void SetGuidance(const char *aGuidance)
HadrontherapyInteractionParameters * pParam
~HadrontherapyParameterMessenger()
void SetNewValue(G4UIcommand *, G4String)
HadrontherapyParameterMessenger(HadrontherapyInteractionParameters *)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
G4UIcmdWithAString * listCmd
void AvailableForStates(G4ApplicationState s1)
G4UIcmdWithAString * dedxCmd