Data Monitor: Difference between revisions
Line 25: | Line 25: | ||
== Juan's work == | == Juan's work == | ||
The file | The file dmlibtest.c analyzes data from drift chamber wires to determine whether there exists a hardware malfunction within the drift chamber. After 90,000 events (~30 seconds) the program stores the hits from each wire into groups designated by corresponding hardware (ex:fuse, ADB boards/crates). Using these groups as a reference, the program can look at future events to scan for alarming activity. | ||
At the 180,000 event mark and for every 90,000 events afterward, the program compares the past 90,000 events with the reference to determine whether suspicious activity occurs. Any group that changes by 50% or more, with respect to the reference, is marked as a warning. If greater than 80% however, they are marked as true errors. Thresholds were determined by trial and error on many data sets. There exists a phenomenon in which a drop of roughly 60% occurs across all regions occurs. This has not yet been dealt with by the algorithm. | |||
Alarms are stored in arrays known as warnlist and errorlist. These lists are then scanned to assure that no hardware alarms overlap. For example, if an entire ADB crate is malfunctioning, all associated ADB board warnings will be cleared. This sorting prevents redundancy when sending alarms. If greater than 200 alarms are triggered then a single message informs the user of a universal drop rather than bombarding them with error messages. | |||
Another file, juanlib.c, creates histogram files from the data collected in a similar fashion. Marked as 101-106, 201-206 and 301-306, these plots correspond to data from the 6 respective sectors. Histograms 101-106 correspond to one dimensional histograms, 201-206 to two dimensional histograms (hits in wire and layer), and 301-306 to normalized changes in 6x6 wire groups with respect to the reference. The box feature is recommended for the 301-306 plots. | |||
== Drift Chamber Hardware Mapping == | == Drift Chamber Hardware Mapping == |
Revision as of 13:33, 22 July 2010
Data Monitor is the data quality check program. It runs online being attached to the ET System.
to do
Sergey: Moscow cell phone: 9-011-7-916-729-8203, skype: boiarino
1. Normalization:
- if running without beam (cosmic) for long time, should recognize it and give ONE warning for entire DC
2. Reporting:
- warning messages (hot channels (50% up, 120% down etc); if up more then 300% up, discuss with Mac
- any unusual effects - discuss with Mac
3. Results:
- program
- wiki manual with algorithm description
Juan's work
The file dmlibtest.c analyzes data from drift chamber wires to determine whether there exists a hardware malfunction within the drift chamber. After 90,000 events (~30 seconds) the program stores the hits from each wire into groups designated by corresponding hardware (ex:fuse, ADB boards/crates). Using these groups as a reference, the program can look at future events to scan for alarming activity.
At the 180,000 event mark and for every 90,000 events afterward, the program compares the past 90,000 events with the reference to determine whether suspicious activity occurs. Any group that changes by 50% or more, with respect to the reference, is marked as a warning. If greater than 80% however, they are marked as true errors. Thresholds were determined by trial and error on many data sets. There exists a phenomenon in which a drop of roughly 60% occurs across all regions occurs. This has not yet been dealt with by the algorithm.
Alarms are stored in arrays known as warnlist and errorlist. These lists are then scanned to assure that no hardware alarms overlap. For example, if an entire ADB crate is malfunctioning, all associated ADB board warnings will be cleared. This sorting prevents redundancy when sending alarms. If greater than 200 alarms are triggered then a single message informs the user of a universal drop rather than bombarding them with error messages.
Another file, juanlib.c, creates histogram files from the data collected in a similar fashion. Marked as 101-106, 201-206 and 301-306, these plots correspond to data from the 6 respective sectors. Histograms 101-106 correspond to one dimensional histograms, 201-206 to two dimensional histograms (hits in wire and layer), and 301-306 to normalized changes in 6x6 wire groups with respect to the reference. The box feature is recommended for the 301-306 plots.
Drift Chamber Hardware Mapping
- TDC mapping
- Low voltage mapping
- fuses mapping
- HV mapping
- ADB mapping
dmlib.c algorithm
So-called 'tree' is used to obtain all sets which suppose to be filled using particular data channel.
BankID->BankNumber->HighID->LowID->Place