Loading...
Searching...
No Matches
run_adjoint_simulation_electron.mac
Go to the documentation of this file.
1#/control/verbose 1
2
3
4#
5#Define some geometrical parameters
6###############################################
7/RMC01/geometry/SetSensitiveVolumeHeight 1. mm
8/RMC01/geometry/SetSensitiveVolumeRadius 1. mm
9
10/RMC01/geometry/SetShieldingThickness 2. mm
11
12
13#
14#Select physics list
15###############################################
16
17/adjoint_physics/UseProtonIonisation false
18/adjoint_physics/UseGammaConversion false
19/adjoint_physics/UseBremsstrahlung true
20/adjoint_physics/UseCompton true
21/adjoint_physics/UseMS true
22/adjoint_physics/UsePEEffect true
23/adjoint_physics/SetEminForAdjointModels 1. keV
24/adjoint_physics/SetEmaxForAdjointModels 10. MeV
25#
26#Initialize geometry and physics
27###############################################
28/run/initialize
29
30#
31#Set cut
32###############################################
33
34/run/setCut 1.000e-02 mm
35/control/verbose 1
36
37
38#
39#Definition of parameters for the Adjoint simulation
40##################################
41
42
43#Definition of the external source
44
45/adjoint/DefineExtSourceOnExtSurfaceOfAVolume Shielding
46/adjoint/SetExtSourceEmax 10. MeV
47
48#Definition of the adjoint source
49/adjoint/DefineAdjSourceOnExtSurfaceOfAVolume SensitiveVolume
50/adjoint/SetAdjSourceEmin 1. keV
51/adjoint/SetAdjSourceEmax 10. MeV
52
53
54#Definition of the primary spectrum to which
55#the results of the adjoint/reverse simulation will be normalised
56
57/RMC01/analysis/SetExponentialSpectrumForAdjointSim e- 1. cm-2 1. 1e-3 10. MeV
58
59
60#Definition of the precision in % that the computed energy deposited should reach
61#before aborting the run.
62/RMC01/analysis/SetExpectedPrecisionOfResults 1.
63
64
65
66/run/verbose 1
67/tracking/verbose 0
68/adjoint/start_run 100000

Applications | User Support | Publications | Collaboration