source: trunk/www/dch/quality.php@ 18066

Last change on this file since 18066 was 17600, checked in by Daniela Dorner, 11 years ago
added documentation
File size: 2.8 KB
Line 
1<html>
2<head>
3 <meta name="Author" content="Daniela Dorner" />
4 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5 <title>FACT Project</title>
6 <link rel="StyleSheet" type="text/css" href="../style.css" />
7</head>
8<?php
9
10include ("dates.php");
11
12echo "<body>\n";
13echo "<form name='formular' action='quality.php' METHOD='GET'>\n";
14echo "quality plots for ";
15
16$date=GetDates($_GET["date"], "quality");
17$date2=date("Ymd", strtotime($date));
18$path="../quality/".date("Y/m/d", strtotime($date));
19
20echo "</form>\n";
21
22if (is_dir($path))
23{
24 //printf("<a href='%s'>more files</a>\n",$path);
25 echo "<table>\n";
26 echo "<tr>\n";
27 printf("<td><img src='%s/%s.png' alt='quality'></td>\n", $path, $date2);
28 echo "</tr>\n";
29// echo "<tr>\n";
30// printf("<td><img src='%s/%s-quality.png' alt='quality3'></td>\n", $path, $date2);
31// echo "</tr>\n";
32 echo "<tr>\n";
33 echo "</table>\n";
34}
35else
36 echo "No files available for ".$date.".\n";
37
38echo "<br>\n";
39echo "<br>\n";
40echo "<br>\n";
41//echo "Some information on the plots:<br>\n";
42echo "<u>From the top:</u> <br>\n";
43echo "THRESHOLD: <br>\n ";
44echo "&nbsp;&nbsp;&nbsp;threshold (RATE_CONTROL_THRESHOLD.fits threshold)<br>\n";
45echo "CURRENT: <br>\n";
46echo "&nbsp;&nbsp;&nbsp;blue: predicted currents <br>\n";
47echo "&nbsp;&nbsp;&nbsp;black: measured (FEEDBACK_CALIBRATED_CURRENTS.fits Imed)<br>\n";
48echo "&nbsp;&nbsp;&nbsp;gray: patch with highest current (FEEDBACK_CALIBRATED_CURRENTS.fits I[highest current])<br>\n";
49echo "&nbsp;&nbsp;&nbsp;dark gray: patch with 4th highest current (FEEDBACK_CALIBRATED_CURRENTS.fits I[4th highest current])<br>\n";
50echo "&nbsp;&nbsp;&nbsp;very dark gray: width of current distribution in camera (Imed+Idev)<br>\n";
51echo "TRIGGER RATE: <br>\n ";
52echo "&nbsp;&nbsp;&nbsp;black: trigger rate (FTM_CONTROL_TRIGGER_RATES.fits TriggerRate)<br>\n";
53echo "&nbsp;&nbsp;&nbsp;red (one point per run):cleaning rate (AnalysisResultsRunLP.fNumEvtsAfterCleaning/AnalysisResultsRunLP.fOnTimeAfterCuts)<br>\n";
54echo "&nbsp;&nbsp;&nbsp;blue (one point per run): rate after quality cuts (AnalysisResultsRunLP.fNumEvtsAfterQualCuts/AnalysisResultsRunLP.fOnTimeAfterCuts)<br>\n";
55echo "RELATIVE ONTIME: <br>\n ";
56echo "&nbsp;&nbsp;&nbsp;relative ontime (FTM_CONTROL_TRIGGER_RATES.fits OnTime/ElapsedTime)<br>\n";
57echo "ELEVATION: <br>\n ";
58echo "&nbsp;&nbsp;&nbsp;elevation (DRIVE_CONTROL_POINTING_POSITION.fits 90-Zd)<br>\n";
59echo "TEMP: <br>\n ";
60echo "&nbsp;&nbsp;&nbsp;black: sensor temperature (FSC_CONTROL_TEMPERATURE.fits T_sens)<br>\n";
61echo "&nbsp;&nbsp;&nbsp;blue: outside temperature (MAGIC_WEATHER_DATA.fits T)<br>\n";
62echo "&nbsp;&nbsp;&nbsp;red: container temperature (TEMPERATURE_DATA.fits T)<br>\n";
63echo "&nbsp;&nbsp;&nbsp;green: minimum, average and maximum fad temperature (FAD_CONTROL_TEMPERATURE.fits Data1/temp)<br>\n";
64echo "<br>\n";
65
66echo "</body>\n";
67echo "</html>\n";
68?>
Note: See TracBrowser for help on using the repository browser.