51{
53
55 theDirectory->
SetGuidance(
"Commands for G4VUserPhysicsList.");
56
57
59 verboseCmd->
SetGuidance(
"Set the Verbose level of G4VUserPhysicsList.");
61 verboseCmd->
SetGuidance(
" 1 : Display warning messages");
65 verboseCmd->
SetRange(
"level >=0 && level <=3");
66
67
75
76
77 setCutForAGivenParticleCmd =
78 new G4UIcommand(
"/run/setCutForAGivenParticle",
this);
80 "Set a cut value to a specific particle ");
82 "Usage: /run/setCutForAGivenParticle gamma 1. mm");
94
95
96 getCutForAGivenParticleCmd =
99 "Get a cut value to a specific particle ");
101 "Usage: /run/getCutForAGivenParticle gamma ");
103 getCutForAGivenParticleCmd->
SetCandidates(
"e- e+ gamma proton");
106
107
108 setCutRCmd =
new G4UIcommand(
"/run/setCutForRegion",
this);
109 setCutRCmd->
SetGuidance(
"Set cut value for a region");
121
122
124 dumpListCmd->
SetGuidance(
"Dump List of particles in G4VUserPhysicsList. ");
125
126
129 addProcManCmd->
SetGuidance(
"add process manager to specified particle type");
134
135
137 buildPTCmd->
SetGuidance(
"build physics table of specified particle type");
142
143
150
151
152 retrieveCmd =
154 retrieveCmd->
SetGuidance(
"Retrieve Physics Table");
155 retrieveCmd->
SetGuidance(
" Enter directory name or OFF to switch off");
159
160
163 "Switch on/off ascii mode in store/retrieve Physics Table");
164 asciiCmd->
SetGuidance(
" Enter 0(binary) or 1(ascii)");
168 asciiCmd->
SetRange(
"ascii ==0 || ascii ==1");
169
170
171 applyCutsCmd =
new G4UIcommand(
"/run/particle/applyCuts",
this);
172 applyCutsCmd->
SetGuidance(
"Set applyCuts flag for a particle.");
174 " Some EM processes which do not have infrared divergence");
176 "may generate gamma, e- and/or e+ with kinetic energies");
178 "below the production threshold. By setting this flag,");
180 "such secondaries below threshold are eliminated and");
182 "kinetic energies of such secondaries are accumulated");
183 applyCutsCmd->
SetGuidance(
"to the energy deposition of their mother.");
185 " Note that 'applyCuts' makes sense only for gamma,");
187 "e- and e+. If this command is issued for other particle,");
189 "a warning message is displayed and the command is");
192 " If particle name is 'all', this command affects on");
201
202
203 dumpCutValuesCmd =
206 "Dump a list of production threshold values in range and energy");
207 dumpCutValuesCmd->
SetGuidance(
"for all registered material-cuts-couples.");
209 "Dumping a list takes place when you issue 'beamOn' and");
211 "actual conversion tables from range to energy are available.");
213 "If you want a list 'immediately', use '/run/dumpRegion' for threshold");
215 "list given in range only. Also, '/run/dumpCouples' gives you the");
217 "current list if you have already issued 'run/beamOn' at least once.");
221
222
223 dumpOrdParamCmd =
225 dumpOrdParamCmd->
SetGuidance(
"Dump a list of ordering parameter ");
230}
void SetDefaultValue(G4double defVal)
void SetDefaultUnit(const char *defUnit)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetCandidates(const char *candidateList)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(const char *defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(G4int defVal)
void SetToBeBroadcasted(G4bool val)
static G4String CategoryOf(const char *unitName)
void SetParameter(G4UIparameter *const newParameter)
void SetGuidance(const char *aGuidance)
static G4String UnitsList(const char *unitCategory)
void SetRange(const char *rs)
void AvailableForStates(G4ApplicationState s1)
void SetDefaultValue(const char *theDefaultValue)
void SetParameterRange(const char *theRange)
void SetParameterCandidates(const char *theString)
void SetDefaultUnit(const char *theDefaultUnit)
G4VUserPhysicsList * thePhysicsList