Last change
on this file since 1342 was
1337,
checked in by garnier, 14 years ago
|
tag geant4.9.4 beta 1 + modifs locales
|
File size:
1.4 KB
|
Rev | Line | |
---|
[1337] | 1 | $Id: README,v 1.3 2009/11/17 22:48:26 maire Exp $ |
---|
[807] | 2 | ------------------------------------------------------------------- |
---|
| 3 | |
---|
| 4 | ========================================================= |
---|
| 5 | Geant4 - an Object-Oriented Toolkit for Simulation in HEP |
---|
| 6 | ========================================================= |
---|
| 7 | |
---|
| 8 | TestEm0 |
---|
| 9 | ------- |
---|
| 10 | |
---|
| 11 | This program is not a simulation. It prints the cross sections and stopping |
---|
| 12 | power used by the standard electromagnetic package, via G4EmCalculator |
---|
| 13 | which extracts these data from the PhysicsTables. |
---|
| 14 | |
---|
| 15 | The program can be used in batch or interactively. |
---|
| 16 | |
---|
| 17 | - compile and link to generate an executable |
---|
| 18 | % cd geant4/examples/extended/electromagnetic/TestEm0 |
---|
| 19 | % gmake |
---|
| 20 | |
---|
| 21 | - execute TestEm0 in 'batch' mode from macro files : |
---|
| 22 | % TestEm0 TestEm1.in |
---|
| 23 | |
---|
| 24 | - Interactively, a typical sequence will be : |
---|
| 25 | % TestEm0 |
---|
| 26 | .... |
---|
[1337] | 27 | Idle> /run/initialize |
---|
| 28 | .... |
---|
[807] | 29 | Idle> /testem/det/setMat Silicon |
---|
| 30 | Idle> /testem/phys/setCuts 100 um |
---|
| 31 | Idle> /gun/particle e- |
---|
| 32 | Idle> /gun/energy 10 MeV |
---|
| 33 | Idle> /run/beamOn |
---|
| 34 | |
---|
| 35 | The last command triggers BuildPhysicsTable() and executes the program. |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | DirectAccess |
---|
| 39 | ------------ |
---|
| 40 | |
---|
| 41 | DirectAccess is a small batch program which shows how to compute the same |
---|
| 42 | basic data directly from the processes (indeed the models). |
---|
| 43 | |
---|
| 44 | To run it, change name in the first line on GNUmakefile before to compile. |
---|
Note: See
TracBrowser
for help on using the repository browser.