source: trunk/examples/extended/electromagnetic/TestEm3/geant3/README

Last change on this file was 807, checked in by garnier, 16 years ago

update

File size: 1.7 KB
Line 
1
2 testem3/src is the geant3 equivalent of TestEm3
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/testem3.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 It is possible to set the production cuts BCUTE, DCUTE and PPCUTM
19 medium by medium, via the data cards:
20 CUTPR  imed1  bcute/m   dcute/m  ppcutm
21 CUTPR  imed2  bcute/m   dcute/m  ppcutm
22 ...etc............
23 
24 testem3 can produce histograms :
25  histo 1 : energy deposit in absorber 1
26  histo 2 : energy deposit in absorber 2
27  ...etc...........
28 
29  histo 11 : longitudinal profile of energy deposit in absorber 1 (MeV/event)
30  histo 12 : longitudinal profile of energy deposit in absorber 2 (MeV/event) 
31  ...etc........... 
32 
33  histo 21 : energy flow (MeV/event)
34  histo 22 : lateral energy leakage (MeV/event) 
35 
36 One can control the binning of the histograms with the data card:
37  *HISTO  id1  nbBins  valMin  valMax  valUnit
38  *HISTO  id2  nbBins  valMin  valMax  valUnit
39  ... etc ...........
40 
41  valMin and ValMax are given in the desired unit, whose numerical value must
42  be specified in valUnit. Remember that Geant3 defaults are: GeV, cm, rad.
43 
44 The name of de histograms file must be defined with the data card:
45 FILE  fileName (character)   This data card is mandatory; it must be the first,
46                              with the format A4,A2,A25
47
48 It is possible to set the max allowed step size STEMAX,
49 via the data card:
50 STEPMX  stepmax (in cm)
51 (However this value will be taken into account only if auto=0)
Note: See TracBrowser for help on using the repository browser.