1 | # Detector 0 |
---|
2 | /allpix/det/setId 100 |
---|
3 | /allpix/det/setPosition -4.3 28.2 0 mm |
---|
4 | /allpix/det/setRotation 0.0 0.0 180.0 deg |
---|
5 | /allpix/det/setLowTHL 13. keV |
---|
6 | |
---|
7 | # Appliances |
---|
8 | # Extra volumes placed with respect to the center of the wrapper. |
---|
9 | # The wrapper is the envolvent volume of the medipix. This volumes |
---|
10 | # rotate with the Medipix ! |
---|
11 | # The command: |
---|
12 | # /allpix/extras/setWrapperEnhancement --> extends the wrapper ! |
---|
13 | # [HINT!] If you want your appliance touching the Si wafer, the |
---|
14 | # center of the volume should be z_coordinate = |
---|
15 | # half_appliance + (PCB + Si - Enhance)/2. |
---|
16 | # z coordinate = 0 --> (on top of the PCB) |
---|
17 | # z coordinate = -1* (PCB + appliance) --> behind the PCB |
---|
18 | |
---|
19 | /control/alias appPosZ -3.750 |
---|
20 | /control/alias enhanceZ 5.0 |
---|
21 | |
---|
22 | #/allpix/extras/setAppliancePosition -4.3 28.2 {appPosZ} mm |
---|
23 | #/allpix/extras/setWrapperEnhancement 0. 0. {enhanceZ} mm |
---|
24 | |
---|
25 | # Build detectors |
---|
26 | /allpix/det/update |
---|
27 | |
---|
28 | #################################################################### |
---|
29 | # prefix for output filename (string) Don't use quotation marks \" |
---|
30 | /allpix/config/setOutputPrefixWithPath dataprefix |
---|
31 | |
---|
32 | ######################################################################## |
---|
33 | ######################################################################## |
---|
34 | # vis |
---|
35 | |
---|
36 | /vis/scene/create |
---|
37 | /vis/scene/add/axes 0. 0. 0. 10. cm |
---|
38 | |
---|
39 | #/vis/scene/add/volume World -1 2 |
---|
40 | /vis/scene/add/volume World -1 2 |
---|
41 | /vis/viewer/set/style s |
---|
42 | |
---|
43 | /run/verbose 0 |
---|
44 | /control/verbose 0 |
---|
45 | /control/saveHistory |
---|
46 | /tracking/verbose 0 |
---|
47 | /allpix/phys/verbose 0 |
---|
48 | |
---|
49 | #/vis/open OIX 1024x768-100+100 |
---|
50 | #/vis/open OGLIXm 1024x768-100+100 |
---|
51 | |
---|
52 | #/vis/open RayTracer |
---|
53 | #/vis/open OGLIQt |
---|
54 | #/vis/open OGLSQt |
---|
55 | /vis/open OIX |
---|
56 | #/vis/open OGLIX 1024x768-100+100 |
---|
57 | #/vis/open OGLSXm |
---|
58 | #/vis/open DAWNFILE |
---|
59 | #/vis/open OGLSX |
---|
60 | |
---|
61 | /vis/viewer/set/background 0.4 0.5 0.6 |
---|
62 | /vis/viewer/set/viewpointThetaPhi 20 50 |
---|
63 | #/vis/viewer/set/background 0 0 0 |
---|
64 | /vis/viewer/zoom 2.0 |
---|
65 | |
---|
66 | /vis/viewer/flush |
---|
67 | |
---|
68 | # |
---|
69 | # Draw trajectories at end of event, showing trajectory points as |
---|
70 | # markers of size 2 pixels |
---|
71 | /vis/scene/add/trajectories |
---|
72 | /vis/modeling/trajectories/create/drawByCharge |
---|
73 | /vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true |
---|
74 | /vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2 |
---|
75 | /vis/scene/endOfEventAction accumulate |
---|
76 | |
---|
77 | ######################################################################## |
---|
78 | ######################################################################## |
---|
79 | |
---|
80 | /tracking/verbose 2 |
---|
81 | |
---|
82 | ######################### |
---|
83 | # GPS |
---|
84 | /gps/particle e- |
---|
85 | /gps/pos/type Plane |
---|
86 | #/gps/pos/rot1 0 0 1 |
---|
87 | #/gps/pos/rot2 1 0 0 |
---|
88 | /gps/pos/shape Rectangle |
---|
89 | /gps/pos/centre 0.0 0.0 10.0 mm |
---|
90 | /gps/pos/halfy 3600. um |
---|
91 | /gps/pos/halfx 4100. um |
---|
92 | /gps/direction 0 0 -1 |
---|
93 | /gps/ene/type User |
---|
94 | /gps/hist/type energy |
---|
95 | # spectra |
---|
96 | /gps/hist/point 2.2 1 |
---|
97 | |
---|
98 | /gps/source/list |
---|
99 | |
---|
100 | /run/beamOn 1 |
---|
101 | |
---|
102 | # video |
---|
103 | #/control/alias phi 50 |
---|
104 | #/control/loop macros/movie.loop theta 50 200 1 |
---|
105 | #/control/loop macros/movie_zoom.loop theta 120 200 1 |
---|
106 | |
---|