1 | # Making sure bias is off
|
---|
2 | .! echo `date -u` "First DRS Calibration Script starting up..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
3 | .! echo `date -u` "-------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
4 | FEEDBACK/ENABLE_OUTPUT 1
|
---|
5 | BIAS_CONTROL/SET_ZERO_VOLTAGE
|
---|
6 | .s BIAS_CONTROL 7
|
---|
7 | FAD_CONTROL/START_DRS_CALIBRATION
|
---|
8 | .! echo `date -u` "bias voltage is switched off" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
9 |
|
---|
10 | .! echo `date -u` "taking DRS:Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
11 | MCP/START -1 1000 drs-pedestal
|
---|
12 | .s FAD_CONTROL 8
|
---|
13 | .s FAD_CONTROL 4
|
---|
14 | .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
15 |
|
---|
16 | .! echo `date -u` "taking DRS:Gain 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
17 | MCP/START -1 1000 drs-gain
|
---|
18 | .s FAD_CONTROL 8
|
---|
19 | .s FAD_CONTROL 4
|
---|
20 | .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
21 |
|
---|
22 | .! echo `date -u` "taking Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
23 | MCP/START -1 1000 pedestal
|
---|
24 | .s FAD_CONTROL 8
|
---|
25 | .s FAD_CONTROL 4
|
---|
26 | .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
27 |
|
---|
28 | .! echo `date -u` "taking crosscheck Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
29 | FAD_CONTROL/SET_FILE_FORMAT 2
|
---|
30 | MCP/START -1 1000 pedestal
|
---|
31 | .s FAD_CONTROL 8
|
---|
32 | .s FAD_CONTROL 4
|
---|
33 | .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
34 |
|
---|
35 | .! echo `date -u` "switching on bias ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
36 | BIAS_CONTROL/SET_GLOBAL_DAC 1
|
---|
37 | .s BIAS_CONTROL 9
|
---|
38 | .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
39 |
|
---|
40 | .! echo `date -u` "taking Pedestal with BIAS on 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
41 | MCP/START -1 1000 pedestal
|
---|
42 | .s FAD_CONTROL 8
|
---|
43 | .s FAD_CONTROL 4
|
---|
44 | .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
45 |
|
---|
46 | .! echo `date -u` "switching OFF bias ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
47 | BIAS_CONTROL/SET_ZERO_VOLTAGE
|
---|
48 | .s BIAS_CONTROL 7
|
---|
49 | .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
50 |
|
---|
51 | .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
52 | .! echo `date -u` "This is the end of First DRS Calibration" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|