Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/extended/biasing/ReverseMC01/run_forward_simulation_proton.mac is written in an unsupported language. File is not indexed.

0001 #/control/verbose 1
0002 
0003 
0004 #
0005 #Define some geometrical parameters
0006 ###############################################
0007 /RMC01/geometry/SetSensitiveVolumeHeight 1. mm
0008 /RMC01/geometry/SetSensitiveVolumeRadius 1. mm
0009 
0010 /RMC01/geometry/SetShieldingThickness 2. mm
0011 
0012 
0013 #
0014 #Select physics list
0015 ###############################################
0016 
0017 /adjoint_physics/UseProtonIonisation true
0018 /adjoint_physics/UseGammaConversion false
0019 
0020 #Initialize geometry and physics
0021 ###############################################
0022 /run/initialize
0023 
0024 #
0025 #Set cut
0026 ###############################################
0027 
0028 /run/setCut 1.000e-02 mm
0029 
0030 #Definition of the precision in % that the computed energy deposited should reach 
0031 #before aborting the run. 
0032 /RMC01/analysis/SetExpectedPrecisionOfResults 1.
0033 
0034 #
0035 #Definition of parameters for the forward simulation
0036 ##################################
0037 
0038 #define the source
0039 /gps/particle proton
0040 /gps/pos/type Surface
0041 /gps/pos/shape Sphere 
0042 /gps/pos/radius 1.000e+01  cm
0043 /gps/pos/centre 0.000e+00  0.000e+00   0.000e+00 cm
0044 /gps/ene/type Pow
0045 /gps/ene/alpha -1.
0046 /gps/ene/min  1. keV
0047 /gps/ene/max  2.000e+02 MeV
0048 /gps/ang/type cos
0049 
0050 
0051 /run/verbose 1
0052 /tracking/verbose 0
0053 /run/beamOn 100000000