Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/extended/biasing/ReverseMC01/run_adjoint_simulation_electron.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 false
0018 /adjoint_physics/UseGammaConversion false
0019 /adjoint_physics/UseBremsstrahlung true
0020 /adjoint_physics/UseCompton true
0021 /adjoint_physics/UseMS true
0022 /adjoint_physics/UsePEEffect true
0023 /adjoint_physics/SetEminForAdjointModels 1. keV
0024 /adjoint_physics/SetEmaxForAdjointModels 10. MeV
0025 #
0026 #Initialize geometry and physics
0027 ###############################################
0028 /run/initialize
0029 
0030 #
0031 #Set cut
0032 ###############################################
0033 
0034 /run/setCut 1.000e-02 mm
0035 /control/verbose 1
0036 
0037 
0038 #
0039 #Definition of parameters for the Adjoint simulation
0040 ##################################
0041 
0042 
0043 #Definition of the external source
0044 
0045 /adjoint/DefineExtSourceOnExtSurfaceOfAVolume  Shielding
0046 /adjoint/SetExtSourceEmax 10. MeV
0047 
0048 #Definition of the adjoint source
0049 /adjoint/DefineAdjSourceOnExtSurfaceOfAVolume SensitiveVolume
0050 /adjoint/SetAdjSourceEmin 1. keV
0051 /adjoint/SetAdjSourceEmax 10. MeV
0052 
0053 
0054 #Definition of the primary spectrum to which 
0055 #the results of the adjoint/reverse simulation will be normalised
0056 
0057 /RMC01/analysis/SetExponentialSpectrumForAdjointSim e- 1. cm-2 1. 1e-3 10. MeV 
0058 
0059 
0060 #Definition of the precision in % that the computed energy deposited should reach 
0061 #before aborting the run. 
0062 /RMC01/analysis/SetExpectedPrecisionOfResults 1.
0063 
0064 
0065 
0066 /run/verbose 1
0067 /tracking/verbose 0
0068 /adjoint/start_run  100000