| Line | |
|---|
| 1 | $Id: README,v 1.2 2006/03/20 11:54:02 maire Exp $
|
|---|
| 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 | ....
|
|---|
| 27 | Idle> /testem/det/setMat Silicon
|
|---|
| 28 | Idle> /testem/phys/setCuts 100 um
|
|---|
| 29 | Idle> /gun/particle e-
|
|---|
| 30 | Idle> /gun/energy 10 MeV
|
|---|
| 31 | Idle> /run/beamOn
|
|---|
| 32 |
|
|---|
| 33 | The last command triggers BuildPhysicsTable() and executes the program.
|
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 | DirectAccess
|
|---|
| 37 | ------------
|
|---|
| 38 |
|
|---|
| 39 | DirectAccess is a small batch program which shows how to compute the same
|
|---|
| 40 | basic data directly from the processes (indeed the models).
|
|---|
| 41 |
|
|---|
| 42 | To run it, change name in the first line on GNUmakefile before to compile.
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.