Loading...
Searching...
No Matches
run_adjoint_simulation_proton.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 true
18/adjoint_physics/UseGammaConversion false
19/adjoint_physics/SetEminForAdjointModels 1. keV
20/adjoint_physics/SetEmaxForAdjointModels 200. MeV
21#
22#Initialize geometry and physics
23###############################################
24/run/initialize
25
26#
27#Set cut
28###############################################
29
30/run/setCut 1.000e-02 mm
31/control/verbose 1
32
33
34#
35#Definition of parameters for the Adjoint simulation
36##################################
37
38
39#Definition of the external source
40
41/adjoint/DefineExtSourceOnExtSurfaceOfAVolume Shielding
42/adjoint/SetExtSourceEmax 200. MeV
43
44#Definition of the adjoint source
45/adjoint/DefineAdjSourceOnExtSurfaceOfAVolume SensitiveVolume
46/adjoint/SetAdjSourceEmin 1. keV
47/adjoint/SetAdjSourceEmax 200. MeV
48
49
50#Definition of the primary spectrum to which
51#the results of the adjoint/reverse simulation will be normalised
52
53/RMC01/analysis/SetPowerLawPrimSpectrumForAdjointSim proton 1. cm-2 1. 1e-3 200. MeV
54
55#Definition of the precision in % that the computed energy deposited should reach
56#before aborting the run.
57/RMC01/analysis/SetExpectedPrecisionOfResults 1.
58
59
60
61/run/verbose 1
62/tracking/verbose 0
63/adjoint/start_run 100000

Applications | User Support | Publications | Collaboration