Tracker data quality monitoring based on event display
The problem is that of presenting large amounts of information in a way that is compact, accurate, adequate for the purpose, and easy to understand. Specifically, to show cause and effect, to insure that the proper comparisons are made, and to achieve the (valid) goals that are desired.
Graphics and Web Design Based on Edward Tufte's Principles
The tracker map
-
We have developed in Iguanacms a specialized 2D representation of the tracker, a kind of scatter plot where all modules are represented in a single screen.
- This is not a static but an interactive image where you can zoom and get more detail up to the level of microstrip, pick a zone and get more information on that zone, etc ...
Possible use of tracker map for monitoring in the control room
-
A screen in the control room runs all the time with this image constantly updated.
This will allow a fast overall visual check and an additional cross-check of "normal"
automatic monitoring procedures that send alarms in case of problems.
- The interactive features can be useful when the operator has alarms
and must diagnose the problem. He clicks on the problem zone on the map getting
more information : for example normal histograms.
- So this tracker map must be thought not as a representation of some
specific tracker data but as a kind of high level user interface for tracker
monitoring data visualisation.
Possible use of the tracker map to give fast information to experts outside the control room
The same image has the following interesting feature that makes it useful for another purpose: it can summarize the information content of hundreds of events or thousands of histograms and as such, is the quickest way to inform experts
eveywhere in the world, without any special Internet connection, about
the tracker situation.
This has been tested with a Java program i.e. the computer where the expert sits, has no CMS software running on it, but only this Java program.
In a few minutes the programs connects to a data server in the control
room and informs the expert ,using this image, about the situation in the control room regarding the tracker. Here again the expert can use the interactive features to
diagnose the cause of a problem.
Sending an interactive image in SVG+Javascript from the control room
We are also,right now, testing another interesting variation of the previous
scenario. Instead of sending the information to the expert as data for
a Java program, we can send directly the tracker map in SVG format with the
interactive features implemented in Javascript.
Here again the results are promising: in a few minutes you can get the image
using a normal browser with the Adobe SVG plugin.
We are now working on the best way to update the image with new data.
(An alternative to this approach is the technique used by Google Maps
where image chunks are sent.).
Monitoring in a specialized Tier2 centre and sending a fast feedback in the
control room using this tracker map.
In the control room we have of course access to all raw data, but the computing resources my be scarce. So why not to ship a sizeable amount of tracker raw data: at least 10% steadily through an high bandwidth connection to a specialized Tier2 center (a Tier2 should have enough resources). This center can analyze the data as they arrive on a cluster of many computer in parallel doing a quasi-online monitoring and sending back to the control room the result of this analysis
summarized as a tracker map so the operator has also this further check of tracker data quality.
How to access tracker data relevant for monitoring
In order to have this high level user interface to monitoring data
working , fast and standard access to all data relevant to tracker monitoring is essential.
Fast because the map needs data for all the detector , standard since we don't
want to use a different api for each data source. And we have many possible
data sources:
- Online raw data
- Raw data stored on dataset on the Grid
- the construction database
- the conditions data base
- the histogram database
- other ...
The solution found is to access these data sources using Web services.
We have defined a unique data format (in xml) for tracker data. When the
tracker map needs new data it has only to build the URL addressing the
relevant Web service and the data is sent back in this format.
The access to the data source itself using the appropriate api is
done by the data server implementing the Web service itself.
This means:
- we must have a data server for each data source
- each monitoring data chunk must have a unique URL
.
(This is exactly how Google Maps works: in this case the data chunks are
parts of the map at different resolutions, paths between two adresses, etc).
We have tested this scheme and seems to work without problems.
A Web service implemented in Axis+Tomcat is also very efficient in handling
the data since it has automatic caching. This feature can be of much help to
us since for most of the data the access is sequential and/or the data changes
slowly.
What to represent with this map
(Here are some random ideas).
- Display event in tracker.
- Display last few events accumulated
- Display temperatures,voltages and other data from conditions data base.
- Display dead strips and other data from construction database.
- Display result of global check of tracker by comparing last module
histogram with reference histogram for each module.
- ...
Present status
What we have now in Iguanacms
Iguanacms is a generic display for CMS data. We have added a "CustomTracker"
part with three main features that can be useful for tracker monitoring.
- Numbering of each tracker module. So, when you click on a module, you
know for example that it is the third stereo module in the second ring of Tib1.
- Easy way to select each detector part down to the module level. Stereo
pair modules can be selected separately.
- A first implementation of the tracker map.Represents all 17000 tracker modules with the following schema.
This map cannot be zoomed (it is intended to be shown in a single computer screen).
Instead if you want to go to the
level of the single channel, you have to select a single layer
. The layer will be zoomable in future and can represent the information down to the level of the single channel.
Example of use to study a single stereo module behaviour.
Iguanacms runs on lxplus but is too slow there. You have to
install it on your desktop with a suitable graphics card. This
is now relatively easy using XCMSI ( a few hours needed if no problems).
We didn't introduce any change from the
previous version. Our main task now is to support this "CustomTracker" part
through new releases of Iguana/Iguanacms.
A first use of CustomTracker has been to check the tracker description in the DDD. This can give an idea on how "CustomTracker" can be used to debug tracker software and hardware.
Light visualisation implementation
Built a prototype (Java program named Tmon) that implements the same tracker map
that we have in Iguanacms.Tested by using web services implemented with Tomcat+
Axis+Castor. Set up a specialized Tomcat server running all the time since June to do our tests. For example tracker description in xml provided by the server.
The tests were done with data taken from construction database and from Montecarlo events
dataset.
Example of Montecarlo event(around 100000 rec hits overlayed view) represented by Tmon.Same event but separated mode view.
Results encouraging:we can read and display the data in the tracker
in around 10 seconds.The same time is needed to load the xml tracker description.
N.B. We don't use directly the DDD : this is too complex for our purposes
and also incomplete. We use a simpler tracker description with the data extracted (once for
all) from the DDD and saved in a single XML file.
The table below gives some examples of response time with events of different
sizes.(We don't do any optimization, compressing, etc or use any trick to decrease this time).
# rechits in event | xml file size(MB) | response time(sec)
|
6600 | 1.0 | 3
|
10000 | 1.6 | 4
|
36000 | 6 | 10
|
86000 | 14 | 21
|
100000 | 16 | 25
|
The code of the Java client is available online.
It can be used for doing tests but is REALLY a prototype!
SVG image+Javascript : first tests.
Tracker map with overlayed modules and with separated modules (to see these you must have the Adobe SVG plugin installed).
In addition to the normal interactivity of SVG images
(zoom and panning) we added through Javascript functions:
- The thumbnail at bottom left makes more easy the panning since it allows the selection with the mouse of the zone to view.
- Special buttons are present to zoom in, zoom out and return to initial image.
- When you move the mouse on the image you get information about which tracker part you are.
Work to be done
Requirements for online monitoring software
Pagina curata da Giuseppe Zito: zito@ba.infn.it
ultimo aggiornamento: