1 | #!dimctrl --exec
|
---|
2 |
|
---|
3 | >
|
---|
4 | > -----------
|
---|
5 | > script for DRS-Calibration before Data taking
|
---|
6 | > starting up...
|
---|
7 | > -----------
|
---|
8 | >
|
---|
9 |
|
---|
10 | # enable feedback output
|
---|
11 | FEEDBACK/ENABLE_OUTPUT 1
|
---|
12 |
|
---|
13 | # Making sure bias is off, before the DRS calibration starts
|
---|
14 | BIAS_CONTROL/SET_ZERO_VOLTAGE
|
---|
15 | .s BIAS_CONTROL 7 # Voltage Off
|
---|
16 |
|
---|
17 | # starting the DRS calibration
|
---|
18 | FAD_CONTROL/START_DRS_CALIBRATION
|
---|
19 | > bias voltage is switched off
|
---|
20 | >
|
---|
21 | # taking first DRS:Pedestal with 1000 Events and ROI 1024
|
---|
22 | > taking DRS:Pedestal 1000 ...
|
---|
23 | .s FAD_CONTROL 4 # Connected
|
---|
24 | MCP/START -1 1000 drs-pedestal
|
---|
25 | .s FAD_CONTROL 8 # Writing Data
|
---|
26 | .s FAD_CONTROL 4 # Connected
|
---|
27 | > ... done
|
---|
28 |
|
---|
29 | # taking DRS:Gain with 1000 Events and ROI 1024
|
---|
30 | > taking DRS:Gain 1000 ...
|
---|
31 | MCP/START -1 1000 drs-gain
|
---|
32 | .s FAD_CONTROL 8 # Writing Data
|
---|
33 | .s FAD_CONTROL 4 # Connected
|
---|
34 | > ... done
|
---|
35 |
|
---|
36 | # taking DRS:Pedestal 1000 Events and ROI 1024
|
---|
37 | > taking DRS:Pedestal 1000 ...
|
---|
38 | MCP/START -1 1000 drs-pedestal
|
---|
39 | .s FAD_CONTROL 8 # Writing Data
|
---|
40 | .s FAD_CONTROL 4 # Connected
|
---|
41 | > ... done
|
---|
42 |
|
---|
43 | # taking again a DRS:Pedestal with 1000 Events and ROI 1024 for a crosscheck of calculated calibrations constants
|
---|
44 | > taking crosscheck DRS:Pedestal 1000 ...
|
---|
45 | FAD_CONTROL/SET_FILE_FORMAT 2
|
---|
46 | MCP/START -1 1000 drs-pedestal
|
---|
47 | .s FAD_CONTROL 8 # Writing Data
|
---|
48 | .s FAD_CONTROL 4 # Connected
|
---|
49 | > ... done
|
---|
50 |
|
---|
51 | # taking DRS:Time with 1000 Events and ROI 1024
|
---|
52 | > taking DRS:Time 1000 ...
|
---|
53 | MCP/START -1 1000 drs-time
|
---|
54 | .s FAD_CONTROL 8 # Writing Data
|
---|
55 | .s FAD_CONTROL 4 # Connected
|
---|
56 | > ... done
|
---|
57 |
|
---|
58 | # taking DRS:Time upshifted 1000 Events and ROI 1024
|
---|
59 | > taking DRS:Time upshifted 1000 ...
|
---|
60 | MCP/START -1 1000 drs-time-upshifted
|
---|
61 | .s FAD_CONTROL 8 # Writing Data
|
---|
62 | .s FAD_CONTROL 4 # Connected
|
---|
63 | > ... done
|
---|
64 |
|
---|
65 | # taking a Pedestal with 1000 Events and ROI 300 for secondary baseline...
|
---|
66 | > taking Pedestal 1000 for secondary baseline...
|
---|
67 | FAD_CONTROL/RESET_SECONDARY_DRS_BASELINE
|
---|
68 | MCP/START -1 1000 pedestal
|
---|
69 | .s FAD_CONTROL 8 # Writing Data
|
---|
70 | .s FAD_CONTROL 4 # Connected
|
---|
71 | > ... done
|
---|
72 |
|
---|
73 | # taking crosscheck Pedestal 1000 Events and ROI 300
|
---|
74 | > taking crosscheck Pedestal 1000 ...
|
---|
75 | FAD_CONTROL/SET_FILE_FORMAT 2
|
---|
76 | MCP/START -1 1000 pedestal
|
---|
77 | .s FAD_CONTROL 8 # Writing Data
|
---|
78 | .s FAD_CONTROL 4 # Connected
|
---|
79 | > ... done
|
---|
80 |
|
---|
81 | > ----------------------------------------------------
|
---|
82 | > This is the end of the
|
---|
83 | > DRS-Calibration before Data taking
|
---|
84 | > ----------------------------------------------------
|
---|