1 | |
---|
2 | testem11/src is the geant3 equivalent of TestEm11 |
---|
3 | |
---|
4 | % cd geant3 |
---|
5 | % gmakeB to make an executable (Batch version) |
---|
6 | % gmakeT to make an executable (inTeractive version) |
---|
7 | |
---|
8 | To execute: |
---|
9 | |
---|
10 | % cd geant3 |
---|
11 | % $G4SYSTEM/testem1.xb (for batch) or testem1.xt (for interactive) |
---|
12 | |
---|
13 | The program will ask: |
---|
14 | G3 > gives the filename of the data cards to be read: |
---|
15 | |
---|
16 | run01.dat (runNN.dat is the equivalent of the G4 runNN.mac) |
---|
17 | |
---|
18 | |
---|
19 | testem11 can produce several histo saved if ISWIT(2)=1 |
---|
20 | |
---|
21 | Content of these histo: |
---|
22 | |
---|
23 | 1 'Edep (MeV/mm) along absorber', |
---|
24 | 2 'total energy deposit in absorber', |
---|
25 | 3 'true track length of the primary particle', |
---|
26 | 4 'true step size of the primary particle', |
---|
27 | 5 'projected range of the primary particle', |
---|
28 | 6 'true track length of charged secondaries', |
---|
29 | 7 'true step size of charged secondaries' |
---|
30 | |
---|
31 | |
---|
32 | One can control the binning of the histograms with the data card: |
---|
33 | *HISTO id1 nbBins valMin valMax valUnit |
---|
34 | *HISTO id2 nbBins valMin valMax valUnit |
---|
35 | ... etc ........... |
---|
36 | |
---|
37 | valMin and ValMax are given in the desired unit, whose numerical value must |
---|
38 | be specified in valUnit. Remember that Geant3 defaults are: GeV, cm, rad. |
---|
39 | |
---|
40 | The name of de histograms file must be defined with the data card: |
---|
41 | FILE fileName (character) This data card is mandatory; it must be the first, |
---|
42 | with the format A4,A2,A25 |
---|
43 | |
---|
44 | It is possible to set the max allowed step size STEMAX, |
---|
45 | via the data card: |
---|
46 | STEPMX stepmax (in cm) |
---|
47 | (However this value will be taken into account only if auto=0) |
---|