1 | |
---|
2 | testem5 is the geant3 equivalent of TestEm5 |
---|
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/testem5.xb (for batch) or testem5.xt (for interactive) |
---|
12 | |
---|
13 | The program will ask: |
---|
14 | G3 > gives the filename of the data cards to be read: |
---|
15 | |
---|
16 | myMacro.dat (myMacro.dat is the equivalent of the G4 myMacro.mac) |
---|
17 | |
---|
18 | data cards |
---|
19 | ---------- |
---|
20 | Most of the data cards used in xxxx.dat are standard data cards of GEANT3, |
---|
21 | but some of them are defined in testem5: |
---|
22 | |
---|
23 | KEY VARIABLE/type Short description |
---|
24 | |
---|
25 | FILE fileName (character) fileName of the histos |
---|
26 | (the FILE data card should be the |
---|
27 | first, with the format A4,A2,A25) |
---|
28 | |
---|
29 | ABSO MATABS (integer) mat.number of the absorber |
---|
30 | XABSOR (real) X thickness of the absorber |
---|
31 | YZABSO (real) YZ size of the absorber |
---|
32 | |
---|
33 | KILL kill (logical) do not track the secondary particles |
---|
34 | |
---|
35 | STMA stma (real) control STEMAX |
---|
36 | |
---|
37 | histograms |
---|
38 | ---------- |
---|
39 | The list of built-in histograms is identical to TestEm5.cc |
---|
40 | (see G4 README or histo.F) |
---|
41 | |
---|
42 | One can control the binning of the histograms with the data card: |
---|
43 | *HISTO id1 nbBins valMin valMax valUnit |
---|
44 | *HISTO id2 nbBins valMin valMax valUnit |
---|
45 | ... etc ........... |
---|
46 | |
---|
47 | valMin and ValMax are given in the desired unit, whose numerical value must |
---|
48 | be specified in valUnit. Remember that Geant3 defaults are: GeV, cm, rad. |
---|