[807] | 1 | |
---|
| 2 | testem13 is the geant3 equivalent of TestEm13 |
---|
| 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/testem13.xb (for batch) or testem13.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 testem13: |
---|
| 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 | DETECTOR MAT (integer) mat.number of the absorber |
---|
| 30 | THICK (real) X thickness of the absorber |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | histograms |
---|
| 34 | ---------- |
---|
| 35 | The list of built-in histograms is identical to TestEm13.cc |
---|
| 36 | (see G4 README or histo.F) |
---|
| 37 | |
---|
| 38 | One can control the binning of the histograms with the data card: |
---|
| 39 | *HISTO id1 nbBins valMin valMax valUnit |
---|
| 40 | *HISTO id2 nbBins valMin valMax valUnit |
---|
| 41 | ... etc ........... |
---|
| 42 | |
---|
| 43 | valMin and ValMax are given in the desired unit, whose numerical value must |
---|
| 44 | be specified in valUnit. Remember that Geant3 defaults are: GeV, cm, rad. |
---|