source: trunk/FACT++/ScriptsForDimCtrl/ServiceScripts/TakeDrsCalibration.dim@ 14098

Last change on this file since 14098 was 13973, checked in by Jens Buss, 12 years ago
deleted useless wait
File size: 2.4 KB
Line 
1#!dimctrl --exec
2
3>
4> -----------
5> script for DRS-Calibration before Data taking
6> starting up...
7> -----------
8>
9
10# enable feedback output
11FEEDBACK/ENABLE_OUTPUT 1
12
13# Making sure bias is off, before the DRS calibration starts
14BIAS_CONTROL/SET_ZERO_VOLTAGE
15.s BIAS_CONTROL 7 # Voltage Off
16
17# starting the DRS calibration
18FAD_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
24MCP/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 ...
31MCP/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 ...
38MCP/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 ...
45FAD_CONTROL/SET_FILE_FORMAT 2
46MCP/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 ...
53MCP/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 ...
60MCP/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...
67FAD_CONTROL/RESET_SECONDARY_DRS_BASELINE
68MCP/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 ...
75FAD_CONTROL/SET_FILE_FORMAT 2
76MCP/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> ----------------------------------------------------
Note: See TracBrowser for help on using the repository browser.