Download GAMOS

Transcript
iv
CONTENTS
12.2.4 PET histograms: positrons . . . . . . . . . . . . . . . 118
12.2.5 PET histograms: distance between two gammas . . . 119
12.2.6 Histograms of gammas at sensitive detectors . . . . . 119
13 Radiotherapy application
123
13.1 Using phase spaces . . . . . . . . . . . . . . . . . . . . . . . . 123
13.1.1 Writing phase spaces . . . . . . . . . . . . . . . . . . . 123
13.1.2 Phase space histograms . . . . . . . . . . . . . . . . . 124
13.1.3 Reading phase spaces . . . . . . . . . . . . . . . . . . 125
13.1.4 Adding extra information to a phase space . . . . . . 127
13.1.5 Reusing a particle at a phase space without filling the
phase space file . . . . . . . . . . . . . . . . . . . . . . 128
13.2 Optimisation of a linac simulation . . . . . . . . . . . . . . . 129
13.2.1 Bremsstrahlung splitting . . . . . . . . . . . . . . . . . 129
13.2.2 Killing particles at big X/Y . . . . . . . . . . . . . . . 130
13.3 Scoring dose in phantom . . . . . . . . . . . . . . . . . . . . . 131
13.3.1 Saving scores in file . . . . . . . . . . . . . . . . . . . 131
13.3.2 Saving scores in histograms . . . . . . . . . . . . . . . 133
13.4 Analysis utilities . . . . . . . . . . . . . . . . . . . . . . . . . 133
13.4.1 Summing phase space files . . . . . . . . . . . . . . . . 134
13.4.2 Comparing number of particles per event in two phase
space files . . . . . . . . . . . . . . . . . . . . . . . . . 134
13.4.3 Making histograms out of a phase space file . . . . . . 135
13.4.4 Merging ’3ddose’ files . . . . . . . . . . . . . . . . . . 135
13.4.5 Merging ’sqdose’ files . . . . . . . . . . . . . . . . . . . 136
13.4.6 Making histograms out of a ’sqdose’ file . . . . . . . . 136
14 Appendix
14.1 Converting a Geant4 example into a GAMOS example
14.2 Creating your plug-in . . . . . . . . . . . . . . . . . .
14.3 Managing the input data files . . . . . . . . . . . . . .
14.4 Checking the usage of parameters . . . . . . . . . . . .
14.5 Using a parameter in your C++ code . . . . . . . . .
14.5.1 Log files . . . . . . . . . . . . . . . . . . . . . .
14.6 Identifying touchables . . . . . . . . . . . . . . . . . .
14.7 Using wildcards to get volume names . . . . . . . . . .
14.8 Using particle names . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
137
. 137
. 138
. 140
. 141
. 141
. 142
. 143
. 144
. 144