]>
Commit | Line | Data |
---|---|---|
3e42bf30 | 1 | // $Id$ |
2 | ||
3 | /*! | |
4 | ||
5 | \page README_mtrda Trigger DA | |
6 | ||
7 | The detector algorithm is implemented for the Muon Trigger in the AliRoot framework. | |
ac5cb4a8 | 8 | The main code is located in MUONTRGda.cxx and it runs in the MUON Trigger MON (monitoring). |
3e42bf30 | 9 | |
10 | \section da_s1 The Muon Trigger Calibration | |
11 | ||
ac5cb4a8 | 12 | The main goal of the DA is the transfer of the modified configuration files to the FES and to put them in the |
13 | detector data base. In the current version the DA will modify the global crate configuration only (new). | |
14 | ||
3e42bf30 | 15 | The configuration files stored in the online DB are the following: |
16 | ||
113ad708 | 17 | - MtgGlobalCrate-<version>.dat: contains the global crate information |
18 | - MtgRegionalCrate-<version>.dat: contains the regional crate information | |
19 | - MtgLocalMask-<version>.dat: contains the local mask | |
20 | - MtgLocalLut-<version>.dat: contains the local LUT | |
21 | - MtgCurrent.dat: contains the name list of the above files with their version | |
ac5cb4a8 | 22 | and the flag for master/slave status on the DA |
3e42bf30 | 23 | |
24 | The copy onto the FES for the modified local masks is only done when the flag is set to master for the DA. | |
ac5cb4a8 | 25 | The DA creates a file (ExportedFiles.dat) containing the name of the files to be transfered by the shuttle. |
3e42bf30 | 26 | To be able to check the change of version of one the files, another file is created containing the last current |
27 | list of configuration files: MtgLastCurrent.dat. | |
ac5cb4a8 | 28 | The Muon trigger electronics could run with two types of calibration. New: the two types can be done in the same |
29 | run containing a mixture of physics events with calibration events injected every 50 seconds. | |
3e42bf30 | 30 | |
31 | \subsection da_ss1 ELECTRONICS_CALIBRATION_RUN (calib) | |
32 | ||
33 | This procedure allows to check dead channels. The FET pulses are injected to the 21 kchannels. | |
34 | ||
35 | The typical ECS sequence for calib is : | |
36 | ||
37 | - Switch ON the electronics LV | |
38 | - Load Configuration via the MTS package | |
39 | - Enable FET pulse | |
ac5cb4a8 | 40 | - Data taking (typically 1000 events) |
41 | - The DA computes the occupancy of the global input entries, if a channel is not responding in N% of the case | |
42 | (10% by default), it will be marked as dead | |
43 | - The DA updates the global mask file accordingly, adds the file to the data base and on the the File Exchange | |
44 | Server at the beginning of the next run. | |
3e42bf30 | 45 | |
46 | Then the SHUTTLE process the ASCII files and store the configuration on the OCDB | |
47 | ||
3e42bf30 | 48 | \subsection da_ss2 DETECTOR_CALIBRATION_RUN (ped) |
49 | ||
50 | This procedure checks the noisy channels. A normal physics run is performed. | |
51 | ||
52 | The typical ECS sequence for calibration is : | |
53 | ||
54 | - Switch ON the electronics LV | |
55 | - Load Configuration via the MTS package | |
ac5cb4a8 | 56 | - Data taking (typically 1000 events) |
57 | - The DA computes the occupancy of the global input entries, if a channel is responding in N% of the case (90% | |
58 | by default), it will be marked as noisy | |
59 | - The DA updates the global mask file accordingly, adds the file to the data base and on the the File Exchange | |
60 | Server at the beginning of the next run. | |
3e42bf30 | 61 | |
62 | Then the SHUTTLE process the ASCII files and store the configuration on the OCDB | |
63 | ||
64 | \section da_s2 Using the DA Online | |
65 | ||
66 | You have a line command help. To have it just type : | |
67 | ||
68 | \verbatim | |
69 | > MUONTRGda.exe -h | |
70 | ||
71 | ******************* MUONTRGda.exe usage ********************** | |
72 | MUONTRGda.exe -options, the available options are : | |
73 | -h help (this screen) | |
74 | ||
75 | Input | |
76 | -f <raw data file> (default = ) | |
77 | ||
3e42bf30 | 78 | Options |
ac5cb4a8 | 79 | -t <threshold values> (default = 0.1) |
3e42bf30 | 80 | -d <print level> (default = 0) |
81 | -s <skip events> (default = 0) | |
82 | -n <max events> (default = 1000000) | |
3e42bf30 | 83 | |
84 | \endverbatim | |
85 | ||
86 | ||
87 | \section da_s3 In case of trouble | |
88 | ||
89 | Please contact: | |
90 | ||
91 | Franck Manso: manson@clermont.in2p3.fr | |
92 | ||
93 | or | |
94 | ||
ac5cb4a8 | 95 | Bogdan Vulpescu: vulpescu@clermont.in2p3.fr |
3e42bf30 | 96 | |
97 | This chapter is defined in the READMEmtrda.txt file. | |
98 | */ | |
99 |