source: trunk/documents/UserDoc/DocBookUsersGuides/IntroductionToGeant4/xml/AllResources/.ls/run.txt @ 1222

Last change on this file since 1222 was 904, checked in by garnier, 16 years ago

ajout de la doc

File size: 9.5 KB
Line 
1/control/manual /run
2Command directory path : /run/
3
4
5Guidance :
6Run control commands.
7
8 Sub-directories :
9   /run/particle/   Commands for G4VUserPhysicsList.
10 Commands :
11   initialize * Initialize G4 kernel.
12   beamOn * Start a Run.
13   verbose * Set the Verbose level of G4RunManager.
14   dumpRegion * Dump region information.
15   dumpCouples * Dump material-cuts-couple information.
16   optimizeGeometry * Set the optimization flag for geometry.
17   breakAtBeginOfEvent * Set a break point at the begining of every event.
18   breakAtEndOfEvent * Set a break point at the end of every event.
19   abort * Abort current run processing.
20   abortCurrentEvent * Abort currently processing event.
21   geometryModified * Force geometry to be closed again.
22   cutoffModified * Force closssection tables to be calculated again.
23   randomNumberStatusDirectory * Define the directory name of the rndm status files.
24   storeRandomNumberStatus * The randomNumberStatus will be saved at :
25   restoreRandomNumberStatus * Reset the status of the rndm engine from a file.
26   setCut * Set default cut value
27   setCutForRegion * Set cut value for a region
28
29
30Command /run/initialize
31Guidance :
32Initialize G4 kernel.
33
34
35
36Command /run/beamOn
37Guidance :
38Start a Run.
39If G4 kernel is not initialized, it will be initialized.
40Default number of events to be processed is 1.
41The second and third arguments can be used for
42executing a macro file at the end of each event.
43If the second argument, i.e. name of the macro
44file, is given but the third argument is not,
45the macro file will be executed for all of the
46event.
47If the third argument (nSelect) is given, the
48macro file will be executed only for the first
49nSelect events.
50
51Parameter : numberOfEvent
52 Parameter type  : i
53 Omittable       : True
54 Default value   : 1
55 Parameter range : numberOfEvent >= 0
56
57Parameter : macroFile
58 Parameter type  : s
59 Omittable       : True
60 Default value   : ***NULL***
61
62Parameter : nSelect
63 Parameter type  : i
64 Omittable       : True
65 Default value   : -1
66 Parameter range : nSelect>=-1
67
68
69
70Command /run/verbose
71Guidance :
72Set the Verbose level of G4RunManager.
73 0 : Silent (default)
74 1 : Display main topics
75 2 : Display main topics and run summary
76 Range of parameters : level >=0 && level <=2
77
78Parameter : level
79 Parameter type  : i
80 Omittable       : True
81 Default value   : 0
82
83
84
85Command /run/dumpRegion
86Guidance :
87Dump region information.
88In case name of a region is not given, all regions will be displayed.
89
90Parameter : regionName
91 Parameter type  : s
92 Omittable       : True
93 Default value   : **ALL**
94
95
96
97Command /run/dumpCouples
98Guidance :
99Dump material-cuts-couple information.
100Note that material-cuts-couple information is updated
101after BeamOn has started.
102
103
104
105Command /run/optimizeGeometry
106Guidance :
107Set the optimization flag for geometry.
108If it is set to TRUE, G4GeometryManager will optimize
109the geometry definitions.
110GEANT4 is initialized with this flag as TRUE.
111
112Parameter : optimizeFlag
113 Parameter type  : b
114 Omittable       : True
115 Default value   : 1
116
117
118
119Command /run/breakAtBeginOfEvent
120Guidance :
121Set a break point at the begining of every event.
122
123Parameter : flag
124 Parameter type  : b
125 Omittable       : True
126 Default value   : 1
127
128
129
130Command /run/breakAtEndOfEvent
131Guidance :
132Set a break point at the end of every event.
133
134Parameter : flag
135 Parameter type  : b
136 Omittable       : True
137 Default value   : 1
138
139
140
141Command /run/abort
142Guidance :
143Abort current run processing.
144If softAbort is false (default), currently processing event will be immediately aborted,
145while softAbort is true, abortion occurs after processing the current event.
146
147Parameter : softAbort
148 Parameter type  : b
149 Omittable       : True
150 Default value   : 0
151
152
153
154Command /run/abortCurrentEvent
155Guidance :
156Abort currently processing event.
157
158
159
160Command /run/geometryModified
161Guidance :
162Force geometry to be closed again.
163This command must be applied
164 if geometry has been modified after the
165 first initialization (or BeamOn).
166
167
168
169Command /run/cutoffModified
170Guidance :
171Force closssection tables to be calculated again.
172This command must be applied
173 if cutoff value(s) have been modified after the
174 first initialization (or BeamOn).
175
176
177
178Command /run/randomNumberStatusDirectory
179Guidance :
180Define the directory name of the rndm status files.
181Directory must be creates before storing the files.
182
183Parameter : fileName
184 Parameter type  : s
185 Omittable       : True
186 Default value   : ./
187
188
189
190Command /run/storeRandomNumberStatus
191Guidance :
192The randomNumberStatus will be saved at :
193begining of run (currentRun.rndm) and begining of event (currentEvent.rndm)
194
195Parameter : flag
196 Parameter type  : i
197 Omittable       : True
198 Default value   : 1
199
200
201
202Command /run/restoreRandomNumberStatus
203Guidance :
204Reset the status of the rndm engine from a file.
205See CLHEP manual for detail.
206The engine status must be stored beforehand.
207Directory of the status file should be set by /random/setDirectoryName.
208
209Parameter : fileName
210 Parameter type  : s
211 Omittable       : True
212 Default value   : currentRun.rndm
213
214
215
216Command /run/setCut
217Guidance :
218Set default cut value
219 Range of parameters : cut >0.0
220
221Parameter : cut
222 Parameter type  : d
223 Omittable       : False
224 Default value   : 1
225
226Parameter : Unit
227 Parameter type  : s
228 Omittable       : True
229 Default value   : mm
230 Candidates      : pc km m cm mm mum nm Ang fm parsec kilometer meter centimeter millimeter micrometer nanometer angstrom fermi
231
232
233
234Command /run/setCutForRegion
235Guidance :
236Set cut value for a region
237
238Parameter : Region
239 Parameter type  : s
240 Omittable       : False
241
242Parameter : cut
243 Parameter type  : d
244 Omittable       : False
245 Parameter range : cut >0.0
246
247Parameter : Unit
248 Parameter type  : s
249 Omittable       : True
250 Default value   : mm
251 Candidates      : pc km m cm mm mum nm Ang fm parsec kilometer meter centimeter millimeter micrometer nanometer angstrom fermi
252
253Command directory path : /run/particle/
254
255
256Guidance :
257Commands for G4VUserPhysicsList.
258
259 Sub-directories :
260 Commands :
261   verbose * Set the Verbose level of G4VUserPhysicsList.
262   setCut * Set default cut value
263   dumpList * Dump List of particles in G4VUserPhysicsList.
264   addProcManager * add process manager to specified particle type
265   buildPhysicsTable * build physics table of specified particle type
266   storePhysicsTable * Store Physics Table
267   retrievePhysicsTable * Retrieve Physics Table
268   setStoredInAscii * Switch on/off ascii mode in store/retreive Physics Table
269   applyCuts * Set applyCuts flag for a particle.
270   dumpCutValues * Dump a list of production threshold values in range and energy
271
272
273Command /run/particle/verbose
274Guidance :
275Set the Verbose level of G4VUserPhysicsList.
276 0 : Silent (default)
277 1 : Display warning messages
278 2 : Display more
279 Range of parameters : level >=0 && level <=3
280
281Parameter : level
282 Parameter type  : i
283 Omittable       : True
284 Default value   : 0
285
286
287
288Command /run/particle/setCut
289Guidance :
290Set default cut value
291This command is equivallent to /run/setCut command.
292This command is kept for backward compatibility.
293 Range of parameters : cut >0.0
294
295Parameter : cut
296 Parameter type  : d
297 Omittable       : False
298 Default value   : 1
299
300Parameter : Unit
301 Parameter type  : s
302 Omittable       : True
303 Default value   : mm
304 Candidates      : pc km m cm mm mum nm Ang fm parsec kilometer meter centimeter millimeter micrometer nanometer angstrom fermi
305
306
307
308Command /run/particle/dumpList
309Guidance :
310Dump List of particles in G4VUserPhysicsList.
311
312
313
314Command /run/particle/addProcManager
315Guidance :
316add process manager to specified particle type
317
318Parameter : particleType
319 Parameter type  : s
320 Omittable       : True
321
322
323
324Command /run/particle/buildPhysicsTable
325Guidance :
326build physics table of specified particle type
327
328Parameter : particleType
329 Parameter type  : s
330 Omittable       : True
331
332
333
334Command /run/particle/storePhysicsTable
335Guidance :
336Store Physics Table
337  Enter directory name
338
339Parameter : dirName
340 Parameter type  : s
341 Omittable       : True
342
343
344
345Command /run/particle/retrievePhysicsTable
346Guidance :
347Retrieve Physics Table
348  Enter directory name or OFF to switch off
349
350Parameter : dirName
351 Parameter type  : s
352 Omittable       : True
353
354
355
356Command /run/particle/setStoredInAscii
357Guidance :
358Switch on/off ascii mode in store/retreive Physics Table
359  Enter 0(binary) or 1(ascii)
360 Range of parameters : ascii ==0 || ascii ==1
361
362Parameter : ascii
363 Parameter type  : i
364 Omittable       : True
365 Default value   : 0
366
367
368
369Command /run/particle/applyCuts
370Guidance :
371Set applyCuts flag for a particle.
372 Some EM processes which do not have infrared divergence
373may generate gamma, e- and/or e+ with kinetic energies
374below the production threshold. By setting this flag,
375such secondaries below threshold are eliminated and
376kinetic energies of such secondaries are accumulated
377to the energy deposition of their mother.
378 Note that 'applyCuts' makes sense only for gamma,
379e- and e+. If this command is issued for other particle,
380a warning message is displayed and the command is
381ignored.
382 If particle name is 'all', this command affects on
383gamma, e- and e+.
384
385Parameter : Flag
386 Parameter type  : s
387 Omittable       : True
388 Default value   : true
389
390Parameter : Particle
391 Parameter type  : s
392 Omittable       : True
393 Default value   : all
394
395
396
397Command /run/particle/dumpCutValues
398Guidance :
399Dump a list of production threshold values in range and energy
400for all registered material-cuts-couples.
401Dumping a list takes place when you issue 'beamOn' and
402actual conversion tables from range to energy are available.
403If you want a list 'immediately', use '/run/dumpRegion' for threshold
404list given in gange only. Also, '/run/dumpCouples' gives you the
405current list if you have already issued 'run/beamOn' at least once.
406
407Parameter : particle
408 Parameter type  : s
409 Omittable       : True
410 Default value   : all
411
Note: See TracBrowser for help on using the repository browser.