Calculating fAlpha as atan2(y,x) only for the tracks outside ITS (A. Dainese)
[u/mrichter/AliRoot.git] / MUON / READMEmtrda.txt
CommitLineData
3e42bf30 1// $Id$
2
3/*!
4
5\page README_mtrda Trigger DA
6
8f8ae0de 7The detector algorithm is implemented for the Muon Trigger in the AliRoot
8framework. The main code is located in MUONTRGda.cxx and it runs in the MUON
9Trigger MON (monitoring).
3e42bf30 10
11\section da_s1 The Muon Trigger Calibration
12
8f8ae0de 13The main goal of the DA is the transfer of the modified configuration files to
14the FES and to put them in the detector data base. In the current version, the
15DA will modify only the global crate configuration.
ac5cb4a8 16
3e42bf30 17The configuration files stored in the online DB are the following:
18
113ad708 19- MtgGlobalCrate-<version>.dat: contains the global crate information
20- MtgRegionalCrate-<version>.dat: contains the regional crate information
21- MtgLocalMask-<version>.dat: contains the local mask
22- MtgLocalLut-<version>.dat: contains the local LUT
23- MtgCurrent.dat: contains the name list of the above files with their version
ac5cb4a8 24 and the flag for master/slave status on the DA
3e42bf30 25
327f7faa 26The copy onto the FES for the modified global masks is done for any value of
8f8ae0de 27the flag master/slave. The DA creates a file (ExportedFiles.dat) containing the
28name of the files to be transfered by the shuttle. To be able to check the change
29of version of one the files, another file is created containing the last current
30list of configuration files: MtgLastCurrent.dat. The Muon trigger electronics can
31run with two types of calibration. New: the two types can be done in the same
32run containing a mixture of physics events with calibration events injected every
3350 seconds.
3e42bf30 34
8f8ae0de 35\subsection da_ss1 ELECTRONICS_CALIBRATION_RUN (calibration)
3e42bf30 36
37This procedure allows to check dead channels. The FET pulses are injected to the 21 kchannels.
38
39The typical ECS sequence for calib is :
40
41- Switch ON the electronics LV
42- Load Configuration via the MTS package
43- Enable FET pulse
ac5cb4a8 44- Data taking (typically 1000 events)
8f8ae0de 45- The DA computes the occupancy of the global input entries, if a channel is not
46responding in more than N% of the events (10% by default), it will be marked as dead
47- The DA updates the global mask file accordingly, adds the file to the data base
327f7faa 48and on the File Exchange Server at the beginning of the next run.
3e42bf30 49
327f7faa 50Then the SHUTTLE process the ASCII files and store the configuration on the OCDB.
3e42bf30 51
8f8ae0de 52\subsection da_ss2 DETECTOR_CALIBRATION_RUN (pedestal)
3e42bf30 53
8f8ae0de 54This procedure checks the noisy channels. Normal physics events are used.
3e42bf30 55
56The typical ECS sequence for calibration is :
57
58- Switch ON the electronics LV
59- Load Configuration via the MTS package
ac5cb4a8 60- Data taking (typically 1000 events)
8f8ae0de 61- The DA computes the occupancy of the global input entries, if a channel is
62responding in more than N% of the events (10% by default), it will be marked as
63noisy
64- The DA updates the global mask file accordingly, adds the file to the data base
65and on the the File Exchange Server at the beginning of the next run.
3e42bf30 66
327f7faa 67Then the SHUTTLE process the ASCII files and store the configuration on the OCDB.
3e42bf30 68
69\section da_s2 Using the DA Online
70
327f7faa 71With the help of the Control Panel a configuration file is added to the database
72(DAConfig.txt) which contains parameters for running the DA:
3e42bf30 73
327f7faa 74- the thresholds for calculating noisy/dead inputs
75- the minimum number of events necessary for calculating the input rates
76- the maximum number of events to be analyzed in one DA execution
77- the number of events to skip from the start of run
78- the verbosity level of the DA
79- enable warnings from the raw data decoder
3e42bf30 80
327f7faa 81This file it is not "version"-ed, so it will be not recorded in MtgCurrent.dat.
3e42bf30 82
83\section da_s3 In case of trouble
84
85Please contact:
86
87Franck Manso: manson@clermont.in2p3.fr
88
89or
90
ac5cb4a8 91Bogdan Vulpescu: vulpescu@clermont.in2p3.fr
3e42bf30 92
93This chapter is defined in the READMEmtrda.txt file.
94*/
95