forked from yihui-lai/single_bar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run.mac
50 lines (36 loc) · 1.15 KB
/
run.mac
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
#/tracking/verbose 1
# Macro file for the
# initialization of G4GeneralParticleSource
# cosmics
/gps/energy 1 GeV
#/gps/particle mu-
#/gps/particle pi-
#/gps/particle gamma
/gps/particle pi-
/gps/pos/type Plane
/gps/pos/shape Square
/gps/pos/halfx 0.5 mm
/gps/pos/halfy 0.5 mm
/gps/pos/centre 0 0 -10 mm
/gps/direction 0 0 1
#beam divergence
#/gps/ang/type beam2d
#/gps/pos/centre 0 0 -1.9 mm # start beam close to crystal to have 0 time close to 0
#/gps/ang/rot1 -1. 0. 0. # parallel beam --> eta = 0
#/gps/ang/rot1 -1. 0. 0.521 # 27.52 deg angle beam --> eta = 0.5
#/gps/ang/rot1 -1. 0. 1.175 # 49.6 deg angle beam --> eta = 1
#/gps/ang/rot1 -1. 0. 2.083 # 64.35 deg angle beam --> eta = 1.48
# parallel beam in opposite direction (SiPM will be in the front)
#/gps/pos/centre 0 0 35 mm
#/gps/ang/rot1 1. 0. 0.
#/gps/ang/rot1 -1. 0. 0.018 # 1 deg angle beam
#/gps/ang/rot1 -1. 0. 0.036 # 2 deg angle beam
#/gps/ang/rot2 0. 0. -1.
#/gps/ang/sigma_x 2 deg
#/gps/ang/sigma_y 2 deg
# radioactive source
# 511 for Sodium, 662 for Cesium, 160 for Co57, 1250 for Co60
#/gps/energy 160 keV
#/gps/particle gamma
#/gps/ang/type iso
/run/beamOn 5