46 paramDir -> SetGuidance(
"Commands to generate stopping power and range");
50 "\n[usage]: /parameter/getstopping Material [Emin] [Emax] [N] [Particle] [File]"
51 "\n Material:(string) Material name, like G4_H, G4_WATER,..., look at /parameter/nist"
52 "\n Emin Emax:(double) minimum and maximum kinetic energy (MeV)"
53 "\n N:(double) [number of points]"
54 "\n Particle:(string) Particle name, look at /particle/list"
55 "\n File:(string) Name for the output file."
56 "\nDefault values for parameters inside [] are respectively:"
57 "\n \"1 MeV\", \"Emin\", \"1\", \"proton\", \"stdout\"");
62 listCmd -> SetGuidance(
"Print NIST elements/materials.\nParameters:"
63 "\n\t all: will print elements and compounds"
64 "\n\t simple: will print elements only"
65 "\n\t compound: will print compounds only"
66 "\n\t hep: will print hep compounds"
67 "\n\t list: will print a simple full list of all elements and compounds");
68 listCmd -> SetParameterName(
"String",
true);
69 listCmd -> SetDefaultValue(
"list");
70 listCmd -> SetCandidates(
"all simple compound hep list");
83 if (command == dedxCmd)
85 pParam -> GetStoppingTable(vararg);
87 else if (command == listCmd)
89 pParam -> ListOfNistMaterials(vararg);