-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrun.mac
More file actions
41 lines (34 loc) · 956 Bytes
/
run.mac
File metadata and controls
41 lines (34 loc) · 956 Bytes
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
/control/verbose 2
/run/verbose 2
# Physics
/Physics/addPhysics HADRONTHERAPY_1
# add scorer
# Scoring mesh is used to calculate
# the energy deposition in the phantom
/score/create/boxMesh boxMesh_4
# the voxels are 1 mm wide.
/score/mesh/boxSize 15 15 175 mm
/score/mesh/nBin 1 1 175
#/score/mesh/translate/xyz 0. 0. 0. mm
/score/quantity/energyDeposit eDep
#/score/filter/particle protonFilter proton
/score/close
/score/list
#=====================================================
# Pencil Beam Source - GATE example
#=====================================================
/gps/particle proton
/gps/pos/type Beam
/gps/pos/rot1 0 1 0
/gps/pos/rot2 1 0 0
/gps/pos/shape Circle
/gps/pos/centre 0 0 -40 cm
/gps/pos/sigma_x 3 mm
/gps/pos/sigma_y 3 mm
/gps/ene/mono 100 MeV
/gps/ene/type Gauss
/gps/ene/sigma 2.0 MeV
/gps/direction 0 0 1
# Run particles
/run/beamOn 10000
/score/dumpAllQuantitiesToFile boxMesh_4 EnergyDeposition_Proton_100MeV.out csv