Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/extended/electromagnetic/TestEm3/geant3/README is written in an unsupported language. File is not indexed.

0001 
0002  testem3/src is the geant3 equivalent of TestEm3
0003  
0004  % cd geant3
0005  % gmakeB           to make an executable  (Batch version) 
0006  % gmakeT           to make an executable  (inTeractive version)
0007  
0008  To execute:
0009   
0010  % cd geant3
0011  % $G4SYSTEM/testem3.xb (for batch) or testem1.xt (for interactive)
0012  
0013  The program will ask:
0014  G3 > gives the filename of the data cards to be read:
0015  
0016  run01.dat      (runNN.dat is the equivalent of the G4 runNN.mac)
0017  
0018  It is possible to set the production cuts BCUTE, DCUTE and PPCUTM
0019  medium by medium, via the data cards:
0020  CUTPR  imed1  bcute/m   dcute/m  ppcutm
0021  CUTPR  imed2  bcute/m   dcute/m  ppcutm
0022  ...etc............
0023  
0024  testem3 can produce histograms : 
0025   histo 1 : energy deposit in absorber 1
0026   histo 2 : energy deposit in absorber 2
0027   ...etc...........
0028   
0029   histo 11 : longitudinal profile of energy deposit in absorber 1 (MeV/event)
0030   histo 12 : longitudinal profile of energy deposit in absorber 2 (MeV/event)  
0031   ...etc...........  
0032   
0033   histo 21 : energy flow (MeV/event)
0034   histo 22 : lateral energy leakage (MeV/event)  
0035   
0036  One can control the binning of the histograms with the data card:
0037   *HISTO  id1  nbBins  valMin  valMax  valUnit 
0038   *HISTO  id2  nbBins  valMin  valMax  valUnit
0039   ... etc ...........
0040   
0041   valMin and ValMax are given in the desired unit, whose numerical value must
0042   be specified in valUnit. Remember that Geant3 defaults are: GeV, cm, rad.
0043   
0044  The name of de histograms file must be defined with the data card:
0045  FILE  fileName (character)   This data card is mandatory; it must be the first,
0046                               with the format A4,A2,A25
0047 
0048  It is possible to set the max allowed step size STEMAX,
0049  via the data card:
0050  STEPMX  stepmax (in cm)
0051  (However this value will be taken into account only if auto=0)