-
Notifications
You must be signed in to change notification settings - Fork 0
/
measured-beta.egsinp
288 lines (223 loc) · 7.84 KB
/
measured-beta.egsinp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
##############################################################################
#
# MMC Simulation with monoenergetic point source. Designed for use with tutor7pp
#
##############################################################################
#-------------------------------------------------------------------------------
:start run control:
ncase = 1e7
geometry error limit = 100
:stop run control:
#-------------------------------------------------------------------------------
:start run mode:
# egs_brachy has 3 run modes:
# 'normal', 'superposition', and 'volume correction only'
run mode = normal
:stop run mode:
#-------------------------------------------------------------------------------
# This input block allows 'pegsless' runs
:start media definition:
ae = 0.521
ap = 0.01
ue = 50.511
up = 50
material data file = ../egs_brachy/lib/media/material.dat
:stop media definition:
#-------------------------------------------------------------------------------
# A gold MMC
:start geometry definition:
# An air box that will hold the entire geometry
:start geometry:
name = box
library = egs_glib
:start geometry definition:
:start geometry:
name = xyz_50cmx50cmx50cm_box
library = egs_box
box size = 50
:start media input:
media = AIR_TG43
:stop media input:
:stop geometry:
simulation geometry = xyz_50cmx50cmx50cm_box
:stop geometry definition:
:stop geometry:
# The volume in which we want to dose score (the gold MMC)
:start geometry:
name = phantom
library = egs_glib
##Geometry for gold MMC cube 0.6mm^3
## -0.03cm <= X, Y, Z <= 0.03cm with 1 voxel
:start geometry definition:
:start geometry:
name = xyz_0.06cmx0.06cmx0.06cm_0.03mm
library = egs_ndgeometry
type = EGS_XYZGeometry
x-slabs = -0.03, 0.06, 1
y-slabs = -0.03, 0.06, 1
z-slabs = -0.03, 0.06, 1
:start media input:
media = Au
:stop media input:
:stop geometry:
simulation geometry = xyz_0.06cmx0.06cmx0.06cm_0.03mm
:stop geometry definition:
:stop geometry:
# The source geometry
:start geometry:
name = seed
library = egs_glib
:start geometry definition:
:start geometry:
library = egs_spheres
name = point
midpoint = 0 0 0
type = EGS_cSpheres
radii = 0.0001
:start media input:
media = AIR_TG43_LD
set medium = 0 0
:stop media input:
:stop geometry:
simulation geometry = point
:stop geometry definition:
:stop geometry:
# Inscribe the seed in the scoring phantom
:start geometry:
name = phantom_with_seed
library = egs_genvelope
base geometry = phantom
inscribed geometries = seed
:stop geometry:
# Inscribe the phantom+seed in the large air box
:start geometry:
name = final
library = egs_genvelope
base geometry = box
inscribed geometries = phantom_with_seed
:stop geometry:
# Source, phantom, and simulation geometries all need to be explicitly
# specified to egs_brachy
source geometries = seed
phantom geometries = phantom
simulation geometry = final
:stop geometry definition:
#-------------------------------------------------------------------------------
:start volume correction:
# Scoring voxels which contain source geometries need to have their
# volumes corrected to accurately score dose
:start source volume correction:
correction type = correct
density of random points (cm^-3) = 1E8
# This is a shape that encompasses the entire source geometry.
# Volume correction will only occur within the boundaries of this shape.
# Shape to define the bounding volume for volume correction and region discovery
:start shape:
type = sphere
radius = 0.00011
midpoint = 0 0 0
:stop shape:
:stop source volume correction:
:stop volume correction:
#-------------------------------------------------------------------------------
:start source definition:
# Typical egs++ source input block
:start source:
library = egs_isotropic_source
name = PointSource
charge = -1
# This defines the radioactivity distribution within the source.
# for the sphere source model
:start shape:
type = sphere
position = 0 0 0
radius = 0.0000001
:stop shape:
:start spectrum:
type = monoenergetic
energy = 0.5
:stop spectrum:
:stop source:
:start source:
name = radioactive_sample
library = egs_radionuclide_source
base source = PointSource
:start spectrum:
type = radionuclide
nuclide = Cl-36
:stop spectrum:
:stop source:
# The position of the source
:start transformations:
## A null transformation
:start transformation:
translation = 0, 0, 0
:stop transformation:
:stop transformations:
# The source needs to be explicitly specified to egs_brachy.
# This should be the same as the 'name' defined in source input block above.
simulation source = radioactive_sample
:stop source definition:
#-------------------------------------------------------------------------------
:start scoring options:
# Many scoring options are available in egs_brachy.
# Please see the documentation for a full list.
score tracklength dose = yes
score energy deposition = yes
# The path to a file containing mass-energy absorption data for the
# relevant media in the simulation
muen file = ../egs_brachy/lib/muen/brachy_gold_1.5MeV.muendat
# Specify which media dose is scored in
muen for media = Au
#pulse height distribution (hopefully)
pulse height regions = 1
pulse height bins = 100
# :start spectrum scoring:
# type = surface count
# particle type = photon
# minimum energy = 0.000
# maximum energy = 0.5
# number of bins = 50
# output format = xmgr
# :stop spectrum scoring:
:stop scoring options:
#-------------------------------------------------------------------------------
# Transport parameters
## Default MC parameters for low energy sources; electron cutoff energy 1.5 MeV, photon cutoff energy 1 keV.
:start MC transport parameter:
Global ECUT = 0.512
Global PCUT = 0.001
Source ECUT = 0.512
Source PCUT = 0.001
Fluorescent Photon Cutoff = 0.001
Brems Cross Sections = NRC
Rayleigh Scattering = On
Electron Impact Ionization = On
:stop MC transport parameter:
################################
### AUSGAB OBJECTS
################################
:start ausgab object definition: # Only 1 ausgab definition block allowed
### Particle tracks
:start ausgab object:
name = tracks
library = egs_track_scoring
:stop ausgab object:
### Dose scoring
:start ausgab object:
library = egs_dose_scoring
name = my_dose_scoring
region dose = yes
volume = 0.000216
dose regions = 1
:stop ausgab object:
:start ausgab object:
library = egs_phsp_scoring
name = phsp_score
output format = IAEA
particle type = all
output directory =
phase space geometry = phantom
score particles on = entry and exit
:stop ausgab object:
:stop ausgab object definition: