Back to home page

EIC code displayed by LXR

 
 

    


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

0001 -------------------------------------------------------------------
0002 
0003      =========================================================
0004      Geant4 - an Object-Oriented Toolkit for Simulation in HEP
0005      =========================================================
0006 
0007                             TestEm0
0008                             -------
0009 
0010   This program is not a simulation. It prints the cross sections and stopping
0011   power used by the standard electromagnetic package, via G4EmCalculator
0012   which extracts these data from the PhysicsTables.
0013         
0014   The program can be used in batch or interactively.    
0015  
0016   - execute TestEm0 in 'batch' mode from macro files :
0017         % TestEm0   TestEm0.in
0018                 
0019   - Interactively, a typical sequence will be :
0020         % TestEm0
0021   ....
0022   Idle> /run/initialize
0023   ...
0024   Idle> /testem/det/setMat Silicon
0025   Idle> /run/setCut 100 um
0026   Idle> /gun/particle e-
0027   Idle> /gun/energy 10 MeV
0028   Idle> /run/beamOn
0029          
0030   The last command triggers BuildPhysicsTable() and executes the program.
0031   
0032   Macros provided in this example:
0033   - muon.mac: muon incident
0034   - ion.mac: generic ion incident
0035   - xenonGas.mac: illustrate gas definition  
0036    
0037                             DirectAccess
0038                             ------------
0039                             
0040   DirectAccess.cc is a small batch program which shows how to compute the same
0041   basic data directly from the processes (indeed the models).