source: trunk/MagicSoft/Mars/datacenter/db/menu.php@ 8477

Last change on this file since 8477 was 8477, checked in by Daniela Dorner, 18 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 36.9 KB
Line 
1<?php
2
3function PrintRunInfoMenu()
4{
5 printf(" <div id='info' style='display:none'>");
6 printf(" <table>\n");
7 printf(" <tr>\n");
8
9 CheckBox("fRunStart", "Run start time");
10 CheckBox("fL2RatePresc", "L2 presc Rate");
11 CheckBox("fDaqStoreRate", "DAQ Storage Rate");
12 CheckBox("fAzimuth", "Azimuth");
13
14 printf(" </tr><tr>\n");
15
16 CheckBox("fRunStop", "Run stop time");
17 CheckBox("fL2RateUnpresc", "L2 unpresc Rate");
18 CheckBox("fDaqTriggerRate", "DAQ Trigger Rate");
19 CheckBox("fZenithDistance", "Zenith distance");
20
21 printf(" </tr><tr>\n");
22
23 // CheckBox("fFormatVersion", "File format");
24 CheckBox("fNumEvents", "Num of events");
25 CheckBox("fMeanTriggerRate", "Mean Trigger rate");
26 CheckBox("fSequenceFirst", "Sequence Number");
27 CheckBox("fTest", "incl. TestSources");
28
29 printf(" </tr>\n");
30 printf(" </table>\n");
31 printf(" </div><p>\n");
32}
33
34function PrintRunStatMenu()
35{
36 printf(" <div id=\"stat\" style='display:none'>\n");
37 printf(" <table>\n");
38 printf(" <tr><td>\n");
39
40 PrintStatusMenu("fCCFileAvail", "CC File available");
41 printf(" </td><td>\n");
42 PrintStatusMenu("fCaCoFileAvail", "Caco File available");
43 printf(" </td><td>\n");
44 PrintStatusMenu("fRawFileAvail", "Rawfile available");
45
46 printf(" </td></tr><tr><td>\n");
47
48 PrintStatusMenu("fTimingCorrection", "Timing Correction");
49 printf(" </td><td>\n");
50 PrintStatusMenu("fCaCoFileFound", "Caco File");
51 printf(" </td><td>\n");
52 PrintStatusMenu("fDataCheckDone", "DataCheck");
53
54 printf(" </td></tr></table>\n");
55 printf(" <p>\n");
56 printf(" </div><p>\n");
57}
58
59function PrintRunInfo2Menu($host,$user,$pw,$db)
60{
61 printf(" <div id='info2' style='display:none'>");
62 printf(" <table>\n");
63 printf(" <tr><td>\n");
64 PrintPullDown($host, $user, $pw, $db, "RunType", "fRunTypeName", "fRunTypeKEY", "Run type");
65 printf(" </td><td>\n");
66 PrintPullDown($host, $user, $pw, $db, "Source", "fSourceName", "fSourceKEY", "Source Name");
67 printf(" </td><td>\n");
68 PrintPullDown($host, $user, $pw, $db, "HvSettings", "fHvSettingsName", "fHvSettingsKEY", "HV Settings");
69 printf(" </td><td>\n");
70 PrintPullDown($host, $user, $pw, $db, "L1TriggerTable", "fL1TriggerTableName", "fL1TriggerTableKEY", "L1 Trigger Table");
71 printf(" </td></tr><tr><td>\n");
72 PrintPullDown($host, $user, $pw, $db, "TestFlag", "fTestFlagName", "fTestFlagKEY", "Test Flag");
73 printf(" </td><td>\n");
74 PrintPullDown($host, $user, $pw, $db, "Project", "fProjectName", "fProjectKEY", "Project Name");
75 printf(" </td><td>\n");
76 PrintPullDown($host, $user, $pw, $db, "DiscriminatorThresholdTable", "fDiscriminatorThresholdTableName", "fDiscriminatorThresholdTableKEY", "DT Table");
77 printf(" </td><td>\n");
78 PrintPullDown($host, $user, $pw, $db, "L2TriggerTable", "fL2TriggerTableName", "fL2TriggerTableKEY", "L2 Trigger Table");
79 printf(" </td></tr><tr><td>\n");
80 PrintPullDown($host, $user, $pw, $db, "ExcludedFDA", "fExcludedFDAName", "fExcludedFDAKEY", "Exclusions");
81 printf(" </td><td>\n");
82 PrintPullDown($host, $user, $pw, $db, "LightConditions", "fLightConditionsName", "fLightConditionsKEY", "Light Conditions");
83 printf(" </td><td>\n");
84 PrintPullDown($host, $user, $pw, $db, "CalibrationScript", "fCalibrationScriptName", "fCalibrationScriptKEY", "Cal Script");
85 printf(" </td><td>\n");
86 PrintPullDown($host, $user, $pw, $db, "TriggerDelayTable", "fTriggerDelayTableName", "fTriggerDelayTableKEY", "Trigger Delay Table");
87 printf(" </td></tr><tr><td>\n");
88 PrintPullDown($host, $user, $pw, $db, "MagicNumber", "fMagicNumberName", "fMagicNumberKEY", "Magic Number");
89 printf(" </td><td>\n");
90 PrintPullDown($host, $user, $pw, $db, "ObservationMode", "fObservationModeName", "fObservationModeKEY", "Obs. Mode");
91 printf(" </td></tr></table>\n");
92 printf(" </div><p>\n");
93}
94
95function PrintSequInfoMenu()
96{
97 printf(" <div id='info' style='display:none'>");
98 printf(" <table>\n");
99
100 printf("<tr><td align='center'>\n");
101 printf(" <tr>\n");
102
103 CheckBox("fRunStart", "Start time");
104 CheckBox("fRunStop", "Stop time");
105 CheckBox("fNumEvents", "Num of events");
106 CheckBox("fRunTime/60", "Duration");
107
108 printf(" </tr><tr>\n");
109
110 CheckBox("fZenithDistanceMin", "Zenith distance min");
111 CheckBox("fZenithDistanceMax", "Zenith distance max");
112 CheckBox("fAzimuthMin", "Azimuth min");
113 CheckBox("fAzimuthMax", "Azimuth max");
114
115 printf(" </tr><tr>\n");
116
117 CheckBox("fSequenceLast", "Last run");
118
119 printf(" </tr><tr>\n");
120
121 CheckBox("fLinks", "Links");
122 CheckBox("fTest", "incl. TestSources");
123 CheckBox("fOff", "incl. offsources");
124 CheckBox("fOnlyOff", "only offsources");
125
126 printf(" </tr></table>\n");
127 printf(" </div><p>\n");
128}
129
130function PrintSequInfo2Menu($host,$user,$pw,$db)
131{
132 printf(" <div id='info2' style='display:none'>\n");
133 printf(" <table>\n");
134 printf(" <tr><td>\n");
135 PrintPullDown($host, $user, $pw, $db, "Source", "fSourceName", "fSourceKEY", "Source Name");
136 printf(" </td><td>\n");
137 PrintPullDown($host, $user, $pw, $db, "L1TriggerTable", "fL1TriggerTableName", "fL1TriggerTableKEY", "L1Trigger Table");
138 printf(" </td><td>\n");
139 PrintPullDown($host, $user, $pw, $db, "L2TriggerTable", "fL2TriggerTableName", "fL2TriggerTableKEY", "L2Trigger Table");
140 printf(" </td><td>\n");
141 PrintPullDown($host, $user, $pw, $db, "TriggerDelayTable", "fTriggerDelayTableName", "fTriggerDelayTableKEY", "Trigger Delay Table");
142 printf(" </td></tr><tr><td>\n");
143 PrintPullDown($host, $user, $pw, $db, "LightConditions", "fLightConditionsName", "fLightConditionsKEY", "Light Conditions");
144 printf(" </td><td>\n");
145 PrintPullDown($host, $user, $pw, $db, "Project", "fProjectName", "fProjectKEY", "Project Name");
146 printf(" </td><td>\n");
147 PrintPullDown($host, $user, $pw, $db, "HvSettings", "fHvSettingsName", "fHvSettingsKEY", "HV Settings");
148 printf(" </td><td>\n");
149 PrintPullDown($host, $user, $pw, $db, "DiscriminatorThresholdTable", "fDiscriminatorThresholdTableName", "fDiscriminatorThresholdTableKEY", "DT Table");
150 printf(" </td></tr><tr><td>\n");
151 PrintPullDown($host, $user, $pw, $db, "ObservationMode", "fObservationModeName", "fObservationModeKEY", "Obs. Mode");
152 printf(" </td><td>\n");
153// PrintPullDown($host, $user, $pw, $db, "ManuallyChanged", "fManuallyChangedName", "fManuallyChangedKEY", "Manually changed");
154// printf(" </td><td>\n");
155 PrintPullDown($host, $user, $pw, $db, "TestFlag", "fTestFlagName", "fTestFlagKEY", "Test Flag");
156 printf(" </td></tr>\n");
157 printf(" </table>\n");
158 printf(" </div><p>\n");
159}
160
161function PrintLimitsMenu($limitsmean, $limitsmin, $limitsmax, $alias, $old)
162{
163 printf("<div id='limits' style='display:none'>\n");
164 printf(" <table>\n");
165 printf(" <tr><th colspan='3'>Limits</th></tr>\n");
166 printf(" <tr><td valign='top'>\n");
167
168 printf(" <table>\n");
169 printf(" <tr><th>Name </th><th> Mean </th><th> Rms </th></tr>\n");
170
171 foreach($limitsmean as $key => $element)
172 {
173 printf("<tr><td>%s</td>\n", $alias[$key]);
174 $mean=$key . "Mean";
175 $limitmean=$_GET[$mean];
176 printf("<td><input name=\"%sMean\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\"></td>\n", $key, $limitmean);
177 $rms2=$key . "Rms";
178 $limitrms=$_GET[$rms2];
179 printf("<td><input name=\"%sRms\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\"></td>\n", $key, $limitrms);
180 printf("</tr>\n");
181 }
182
183 if (empty($old))
184 {
185 printf(" </table>\n");
186 printf(" </td>\n");
187 printf(" <td valign='top'>\n");
188 printf(" <table>\n");
189 }
190
191 printf(" <tr><th>Name </th><th> Min </th><th> Min2 </th></tr>\n");
192 foreach($limitsmin as $key => $element)
193 {
194 printf("<tr><td>%s</td>\n", $alias[$key]);
195 $level1=$key . "1";
196 $limit1=$_GET[$level1];
197 printf("<td><input name=\"%s1\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\"></td>\n", $key, $limit1);
198 $level2=$key . "2";
199 $limit2=$_GET[$level2];
200 printf("<td><input name=\"%s2\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\"></td>\n", $key, $limit2);
201 printf("</tr>\n");
202 }
203
204 if (empty($old))
205 {
206 printf(" </table>\n");
207 printf(" </td>\n");
208 printf(" <td valign='top'>\n");
209 printf(" <table>\n");
210 }
211
212 printf(" <tr><th>Name </th><th> Max </th><th> Max2 </th></tr>\n");
213 foreach($limitsmax as $key => $element)
214 {
215 printf("<tr><td>%s</td>\n", $alias[$key]);
216 $level1=$key . "1";
217 $limit1=$_GET[$level1];
218 printf("<td><input name=\"%s1\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\"></td>\n", $key, $limit1);
219 $level2=$key . "2";
220 $limit2=$_GET[$level2];
221 printf("<td><input name=\"%s2\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\"></td>\n", $key, $limit2);
222 printf("</tr>\n");
223 }
224 printf(" </table>\n");
225
226 printf(" </td></tr></table>\n");
227 printf("<p>\n");
228 printf("</div>\n");
229}
230
231function PrintSequStatMenu()
232{
233 printf(" <div id='stat' style='display:none'>\n");
234 printf(" <table><tr><td>\n");
235
236 PrintStatusMenu("fAllFilesAvail", "Files avail");
237 printf(" </td><td>\n");
238 PrintStatusMenu("fCallisto", "Callisto");
239 printf(" </td><td>\n");
240 PrintStatusMenu("fStar", "Star");
241 printf(" </td></tr><tr><td>\n");
242 PrintStatusMenu("fSequenceFileWritten", "Sequfile");
243 printf(" </td><td>\n");
244 PrintStatusMenu("fFillCallisto", "Fillcallisto");
245 printf(" </td><td>\n");
246 PrintStatusMenu("fFillStar", "Fillstar");
247
248 printf("</td></tr> </table>\n");
249 printf(" </div><p>\n");
250}
251
252function PrintFailMenu()
253{
254 printf(" <div id='fail' style='display:none'>\n");
255 printf(" <table>\n");
256 printf(" <tr>\n");
257
258 CheckBox("fStartTime", "ProcessTime");
259 CheckBox("fFailedTime", "FailTime");
260 CheckBox("fReturnCode", "RetCode");
261 CheckBox("fFailedCode", "FailCode");
262 CheckBox("fFailedCodeAdd", "FailCodeAdd");
263
264 printf(" </tr>\n");
265 printf(" </table>\n");
266 printf(" </div><p>\n");
267}
268
269function PrintCalMenu()
270{
271 printf(" <div id='cal' style='display:none'>\n");
272 printf(" <table>\n");
273 printf(" <tr>\n");
274
275 CheckBox("fUnsuitableInner", "Unsuitable inner");
276 CheckBox("fUnsuitableOuter", "Unsuitable outer");
277 CheckBox("fUnreliableInner", "Unreliable inner");
278 CheckBox("fUnreliableOuter", "Unreliable outer");
279
280 printf(" </tr><tr>\n");
281
282 CheckBox("fUnsuitable50", "Unsuitable (50%)");
283 CheckBox("fUnsuitable01", "Unsuitable (1%)");
284
285 printf(" </tr><tr>\n");
286
287 CheckBox("fIsolatedInner", "Isolated inner");
288 CheckBox("fIsolatedOuter", "Isolated outer");
289 CheckBox("fIsolatedMaxCluster", "IsolatedMaxCluster");
290
291 printf(" </tr><tr>\n");
292
293 CheckBox("fArrTimeMeanInner", "ArrTimeMean inner ");
294 CheckBox("fArrTimeMeanOuter", "ArrTimeMean outer ");
295 CheckBox("fArrTimeRmsInner", "ArrTimeRms inner ");
296 CheckBox("fArrTimeRmsOuter", "ArrTimeRms outer ");
297
298 printf(" </tr><tr>\n");
299
300 CheckBox("fMeanPedRmsInner", "MeanPedRms inner");
301 CheckBox("fMeanPedRmsOuter", "MeanPedRms outer");
302 CheckBox("fMeanSignalInner", "MeanSignal inner");
303 CheckBox("fMeanSignalOuter", "MeanSignal outer");
304
305 printf(" </tr><tr>\n");
306
307 CheckBox("fConvFactorInner", "Conv inner ");
308 CheckBox("fConvFactorOuter", "Conv outer ");
309 CheckBox("fPulsePosMean", "Mean PulsePos");
310
311 printf(" </tr></table>\n");
312 printf(" </div><p>\n");
313}
314
315function PrintStarMenu()
316{
317 printf(" <div id='star' style='display:none'>\n");
318 printf(" <table>\n");
319 printf(" <tr>\n");
320
321 CheckBox("fDataRate", "CleanedEvtRate");
322 CheckBox("fMeanNumberIslands", "MeanNumIslands");
323 CheckBox("fMaxHumidity", "MaxHumidity");
324 CheckBox("fInhomogeneity", "Inhomogeneity");
325
326 printf(" </tr><tr>\n");
327
328 CheckBox("fMuonRate", "MuonRate");
329 CheckBox("fMuonNumber", "MuonNumber");
330 CheckBox("fRatio", "Ratio");
331 CheckBox("fPSF", "PSF");
332
333 printf(" </tr><tr>\n");
334
335 CheckBox("fSparkRate", "SparkRate");
336
337 printf(" </tr><tr>\n");
338
339 CheckBox("fEffOnTime", "EffOnTime");
340 CheckBox("fEffOnTime/fRunTime", "RelOnTime");
341 CheckBox("fBrightnessMed", "SkyBrightnessMed");
342 CheckBox("fBrightnessRMS", "SkyBrightnessRMS");
343
344 printf(" </tr><tr>\n");
345
346 CheckBox("fNumStarsMed", "# id. Stars");
347 CheckBox("fNumStarsRMS", "RMS id. Stars");
348 CheckBox("fNumStarsCorMed", "# cor. Stars");
349 CheckBox("fNumStarsCorRMS", "RMS cor. Stars");
350
351 printf(" </tr>\n");
352 printf(" </table>\n");
353 printf(" </div><p>\n");
354}
355
356function PrintDataSetInfoMenu($host,$user,$pw,$db)
357{
358 printf(" <div id=\"info\" style='display:none'>");
359 printf(" <table>\n");
360 printf(" <tr>\n");
361
362 CheckBox("fDataSetName", "Name");
363 CheckBox("fComment", "Comment");
364 CheckBox("fRunTime", "Uptime");
365 CheckBox("fRunStart", "Start");
366 CheckBox("fRunStop", "Stop");
367
368 printf(" </tr><tr>\n");
369
370 CheckBox("fZenithDistanceMin", "ZdMin");
371 CheckBox("fZenithDistanceMax", "ZdMax");
372 CheckBox("fLinks", "Links");
373
374 printf(" </tr><tr>\n");
375
376 CheckBox("fEffOnTime/3600", "EffOnTime");
377 CheckBox("fExcessEvents", "ExcEvts");
378 CheckBox("fBackgroundEvents", "BgEvts");
379 CheckBox("fSignalEvents", "SignEvts");
380 CheckBox("fSignificance", "Sign");
381
382 printf(" </tr><tr>\n");
383
384 CheckBox("fScaleFactor", "Scale");
385 CheckBox("fExcessEvents*60/fEffOnTime", "ExcRate");
386 CheckBox("fBackgroundEvents*60/fEffOnTime", "BgRate");
387 CheckBox("fSignalEvents*60/fEffOnTime", "SignRate");
388 CheckBox("Round(fSignificance/Sqrt(fEffOnTime/3600),2)", "SignfRate");
389
390 printf(" </tr>\n");
391 printf(" </table>\n");
392 printf(" </div><p>\n");
393}
394
395function PrintDataSetInfoMenu2($host,$user,$pw,$db)
396{
397 printf(" <div id='info2' style='display:none'>");
398 printf(" <table><tr><td>\n");
399 PrintPullDown($host, $user, $pw, $db, "Source", "fSourceName", "fSourceKEY", "Source Name");
400 printf(" </td><td>\n");
401 PrintPullDown($host, $user, $pw, $db, "ObservationMode", "fObservationModeName", "fObservationModeKEY", "Observation Mode");
402 printf(" </td><td>\n");
403 PrintPullDown($host, $user, $pw, $db, "User", "fUserName", "fUserKEY", "User");
404 printf(" </td></tr>\n");
405 printf(" </table>\n");
406 printf("</div>");
407}
408
409function PrintDataSetStatMenu($host,$user,$pw,$db)
410{
411 printf(" <div id=\"stat\" style='display:none'>\n");
412 printf(" <table>\n");
413 printf(" <tr>\n");
414
415 printf(" <td>\n");
416 PrintStatusMenu("fDataSetInserted", "DataSet Inserted");
417 printf(" </td><td>\n");
418 PrintStatusMenu("fDataSetFileWritten", "DataSetFile");
419 printf(" </td><td>\n");
420 PrintStatusMenu("fStarFilesAvail", "FilesAvail");
421 printf(" </td><td>\n");
422 PrintStatusMenu("fGanymed", "Ganymed");
423 printf(" </td><td>\n");
424 PrintStatusMenu("fFillGanymed", "FillGanymed");
425 printf(" </tr>\n");
426 printf(" </table>\n");
427 printf(" </div><p>\n");
428}
429
430function PrintRunRangeMenu($host,$user,$pw,$db)
431{
432 if (empty($_GET["fRunMin"]))
433 $min = GetMin("fRunNumber", "RunData", $host, $user, $pw, $db);
434 else
435 $min = $_GET["fRunMin"];
436
437 if (empty($_GET["fRunMax"]))
438 $max = GetMax("fRunNumber", "RunData", $host, $user, $pw, $db);
439 else
440 $max = $_GET["fRunMax"];
441
442 printf("Runs&nbsp;from&nbsp;<input name=\"fRunMin\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\">\n", $min);
443 printf("to&nbsp;<input name=\"fRunMax\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\">&nbsp;&nbsp;&nbsp;\n", $max);
444}
445
446function PrintSequRangeMenu($host,$user,$pw,$db)
447{
448 if (empty($_GET["fRunMin"]))
449 $min = GetMin("fSequenceFirst", "Sequences", $host, $user, $pw, $db);
450 else
451 $min = $_GET["fRunMin"];
452
453 if (empty($_GET["fRunMax"]))
454 $max = GetMax("fSequenceFirst", "Sequences", $host, $user, $pw, $db);
455 else
456 $max = $_GET["fRunMax"];
457
458 printf("Sequences&nbsp;from&nbsp;<input name=\"fRunMin\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\">\n", $min);
459 printf("to&nbsp;<input name=\"fRunMax\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\">&nbsp;&nbsp;&nbsp;\n", $max);
460}
461
462function PrintDataSetRangeMenu($host,$user,$pw,$db)
463{
464 if (empty($_GET["fRunMin"]))
465 $min = GetMin("fDataSetNumber", "DataSets", $host, $user, $pw, $db);
466 else
467 $min = $_GET["fRunMin"];
468
469 if (empty($_GET["fRunMax"]))
470 $max = GetMax("fDataSetNumber", "DataSets", $host, $user, $pw, $db);
471 else
472 $max = $_GET["fRunMax"];
473
474 printf("DataSets&nbsp;from&nbsp;<input name=\"fRunMin\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\">\n", $min);
475 printf("to&nbsp;<input name=\"fRunMax\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\">&nbsp;&nbsp;&nbsp;\n", $max);
476}
477
478function PrintZdRangeMenu($host,$user,$pw,$db)
479{
480 if (empty($_GET["fZDMin"]))
481 $zdmin = GetMin("fZenithDistanceMin", "Sequences", $host, $user, $pw, $db);
482 else
483 $zdmin = $_GET["fZDMin"];
484
485 if (empty($_GET["fZDMax"]))
486 $zdmax = GetMax("fZenithDistanceMax", "Sequences", $host, $user, $pw, $db);
487 else
488 $zdmax = $_GET["fZDMax"];
489
490 printf("ZenithDistance&nbsp;from&nbsp;<input name=\"fZDMin\" type=\"text\" size=\"2\" maxlength=\"2\" value=\"%s\">\n", $zdmin);
491 printf("to&nbsp;<input name=\"fZDMax\" type=\"text\" size=\"2\" maxlength=\"2\" value=\"%s\">&nbsp;&nbsp;&nbsp;\n", $zdmax);
492}
493
494function PrintNightRangeMenu($host,$user,$pw,$db, $table)
495{
496 if (empty($_GET["fStartDate"]))
497 $timemin = GetMin("fRunStart", $table, $host, $user, $pw, $db);
498 else
499 $timemin = $_GET["fStartDate"];
500
501 if (empty($_GET["fStopDate"]))
502 $timemax = GetMaxDate("fRunStart", $table, $host, $user, $pw, $db);
503 else
504 $timemax = $_GET["fStopDate"];
505
506 printf("Night&nbsp;(yyyy-mm-dd)&nbsp;from&nbsp;<input name=\"fStartDate\" type=\"text\" size=\"10\" maxlength=\"10\" value=\"%s\">\n", $timemin);
507 printf("to&nbsp;<input name=\"fStopDate\" type=\"text\" size=\"10\" maxlength=\"10\" value=\"%s\">&nbsp;&nbsp;&nbsp;&nbsp;\n", $timemax);
508}
509
510function PrintStarRangeMenu($host,$user,$pw,$db)
511{
512 if (empty($_GET["fStarStart"]))
513 $starmin = GetMin("fStar", "SequenceProcessStatus", $host, $user, $pw, $db);
514 else
515 $starmin = $_GET["fStarStart"];
516
517 if (empty($_GET["fStarStop"]))
518 $starmax = GetMax("fStar", "SequenceProcessStatus", $host, $user, $pw, $db);
519 else
520 $starmax = $_GET["fStarStop"];
521
522 printf("<p>StarDone&nbsp;(yyyy-mm-dd)&nbsp;from&nbsp;<input name=\"fStarStart\" type=\"text\" size=\"10\" maxlength=\"10\" value=\"%s\">\n", $starmin);
523 printf("to&nbsp;<input name=\"fStarStop\" type=\"text\" size=\"10\" maxlength=\"10\" value=\"%s\">&nbsp;&nbsp;&nbsp;&nbsp;\n", $starmax);
524}
525
526function PrintSourceMenu($host,$user,$pw,$db)
527{
528 printf("Source&nbsp;(<A HREF=\"regexp.html\">regexp</A>)&nbsp;<input name=\"fSourceN\" type=\"text\" size=\"15\" maxlength=\"15\" value=\"");
529 if (!empty($_GET["fSourceN"]))
530 printf("%s", $_GET["fSourceN"]);
531 printf("\">&nbsp;&nbsp;&nbsp;\n");
532}
533function PrintSequMenu($host,$user,$pw,$db)
534{
535 printf("Sequ#&nbsp;<input name=\"fSequenceNo\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"");
536 if (!empty($_GET["fSequenceNo"]))
537 printf("%s", $_GET["fSequenceNo"]);
538 printf("\">&nbsp;&nbsp;&nbsp;\n");
539}
540
541function PrintNumResPullDown()
542{
543 printf(" Results:\n");
544 printf(" <select name=\"fNumResults\">\n");
545
546 $numres = array("10", "20", "50", "100", "200", "500", "1000", "2000");
547 foreach ($numres as $element)
548 {
549 if ($element==$_GET["fNumResults"])
550 printf("<option value=\"%s\" selected>%3s</option>\n", $element, $element);
551 else
552 printf("<option value=\"%s\">%3s</option>\n", $element, $element);
553 }
554 printf(" </select>\n");
555 printf(" &nbsp;&nbsp;&nbsp;\n");
556}
557
558function PrintButtons($page)
559{
560 printf("<input class='Width' type='submit' value='Query Table'>&nbsp;&nbsp;&nbsp;\n");
561 printf("<input class='Width' type='button' value='Reset' onClick='self.location.href=\"%s\"'>&nbsp;&nbsp;&nbsp;\n", $page);
562// printf("<p>");
563 if (strchr($_SERVER["REQUEST_URI"], '?')!=FALSE)
564 printf("<input class='Width' type='button' value='Get .txt' onClick='self.location.href=\"%s&amp;fSendTxt=1\"'>&nbsp;&nbsp;&nbsp;\n", htmlspecialchars($_SERVER["REQUEST_URI"]));
565 if (strchr($_SERVER["REQUEST_URI"], '?')!=FALSE)
566 {
567 printf("<input class='Width' type='button' value='Print' onClick='self.location.href=\"%s&amp;fPrintTable=1\"'>&nbsp;&nbsp;&nbsp;\n", htmlspecialchars($_SERVER["REQUEST_URI"]));
568 printf("MySqlQuery: <img id='showquerybutton' src='../plus.png' alt='+' onClick='showhide(\"showquery\")'>\n");
569 }
570}
571
572function InitFailInfo($_GET, $first)
573{
574 if (empty($_GET["fStartTime"]))
575 $_GET["fStartTime"]="Off";
576
577 if (empty($_GET["fFailedTime"]))
578 $_GET["fFailedTime"]="Off";
579
580 if (empty($_GET["fReturnCode"]))
581 $_GET["fReturnCode"]="Off";
582
583 if (empty($_GET["fFailedCode"]))
584 $_GET["fFailedCode"]="Off";
585
586 if (empty($_GET["fFailedCodeAdd"]))
587 $_GET["fFailedCodeAdd"]="Off";
588}
589
590function InitInfo($_GET, $first)
591{
592 if (empty($_GET["fNumResults"]))
593 $_GET["fNumResults"]="20";
594
595 if (empty($_GET["fNumEvents"]))
596 $_GET["fNumEvents"]="Off";
597
598 if (empty($_GET["fRunStart"]))
599 $_GET["fRunStart"]="Off";
600
601 if (empty($_GET["fRunStop"]))
602 $_GET["fRunStop"]="Off";
603
604 if (empty($_GET["fTest"]))
605 $_GET["fTest"]="Off";
606
607 if (empty($_GET["fSourceName"]))
608 $_GET["fSourceName"]="Off";
609
610 if (empty($_GET["fProjectName"]))
611 $_GET["fProjectName"]="Off";
612
613 if (empty($_GET["fL1TriggerTableName"]))
614 $_GET["fL1TriggerTableName"]="Off";
615
616 if (empty($_GET["fL2TriggerTableName"]))
617 $_GET["fL2TriggerTableName"]="Off";
618
619 if (empty($_GET["fHvSettingsName"]))
620 $_GET["fHvSettingsName"]="Off";
621
622 if (empty($_GET["fDiscriminatorThresholdTableName"]))
623 $_GET["fDiscriminatorThresholdTableName"]="Off";
624
625 if (empty($_GET["fTriggerDelayTableName"]))
626 $_GET["fTriggerDelayTableName"]="Off";
627
628 if (empty($_GET["fLightConditionsName"]))
629 $_GET["fLightConditionsName"]="Off";
630
631 if (empty($_GET["fTestFlagName"]))
632 $_GET["fTestFlagName"]="Off";
633}
634
635function InitRunStatus($_GET, $first)
636{
637 if (empty($_GET["fDataCheckDone"]))
638 $_GET["fDataCheckDone"]="Off";
639
640 if (empty($_GET["fDataCheckDoneStatus"]))
641 $_GET["fDataCheckDoneStatus"]="0";
642
643 if (empty($_GET["fCCFileAvail"]))
644 $_GET["fCCFileAvail"]="Off";
645
646 if (empty($_GET["fCCFileAvailStatus"]))
647 $_GET["fCCFileAvailStatus"]="0";
648
649 if (empty($_GET["fCaCoFileAvail"]))
650 $_GET["fCaCoFileAvail"]=$first?"On":"";
651
652 if (empty($_GET["fCaCoFileAvailStatus"]))
653 $_GET["fCaCoFileAvailStatus"]="0";
654
655 if (empty($_GET["fCaCoFileFound"]))
656 $_GET["fCaCoFileFound"]="Off";
657
658 if (empty($_GET["fCaCoFileFoundStatus"]))
659 $_GET["fCaCoFileFoundStatus"]="0";
660
661 if (empty($_GET["fRawFileAvail"]))
662 $_GET["fRawFileAvail"]="Off";
663
664 if (empty($_GET["fRawFileAvailStatus"]))
665 $_GET["fRawFileAvailStatus"]="0";
666
667 if (empty($_GET["fTimingCorrection"]))
668 $_GET["fTimingCorrection"]="Off";
669
670 if (empty($_GET["fTimingCorrectionStatus"]))
671 $_GET["fTimingCorrectionStatus"]="0";
672}
673
674function InitRunInfo($_GET, $first)
675{
676 InitRunStatus($_GET, $first);
677 InitInfo($_GET, $first);
678 InitFailInfo($_GET, $first);
679
680 if (empty($_GET["fFormatVersion"]))
681 $_GET["fFormatVersion"]="Off";
682
683 if (empty($_GET["fAzimuth"]))
684 $_GET["fAzimuth"]="Off";
685
686 if (empty($_GET["fZenithDistance"]))
687 $_GET["fZenithDistance"]="Off";
688
689 if (empty($_GET["fRunTypeName"]))
690 $_GET["fRunTypeName"]="Off";
691
692 if (empty($_GET["fExcludedFDAName"]))
693 $_GET["fExcludedFDAName"]="Off";
694
695 if (empty($_GET["fMagicNumberName"]))
696 $_GET["fMagicNumberName"]="Off";
697
698 if (empty($_GET["fObservationModeName"]))
699 $_GET["fObservationModeName"]="Off";
700
701 if (empty($_GET["fMeanTriggerRate"]))
702 $_GET["fMeanTriggerRate"]="Off";
703
704 if (empty($_GET["fCalibrationScriptName"]))
705 $_GET["fCalibrationScriptName"]="Off";
706
707 if (empty($_GET["fTestFlagName"]))
708 $_GET["fTestFlagName"]="Off";
709
710 if (empty($_GET["fDaqStoreRate"]))
711 $_GET["fDaqStoreRate"]="Off";
712
713 if (empty($_GET["fDaqTriggerRate"]))
714 $_GET["fDaqTriggerRate"]="Off";
715
716 if (empty($_GET["fL2RatePresc"]))
717 $_GET["fL2RatePresc"]="Off";
718
719 if (empty($_GET["fL2RateUnpresc"]))
720 $_GET["fL2RateUnpresc"]="Off";
721
722 if (empty($_GET["fSequenceFirst"]))
723 $_GET["fSequenceFirst"]="Off";
724
725 if (empty($_GET["fSequenceNo"]))
726 $_GET["fSequenceNo"]="";
727}
728
729function InitSequStatus($_GET, $first)
730{
731 if (empty($_GET["fSequenceFileWritten"]))
732 $_GET["fSequenceFileWritten"]="Off";
733
734 if (empty($_GET["fSequenceFileWrittenStatus"]))
735 $_GET["fSequenceFileWrittenStatus"]="0";
736
737 if (empty($_GET["fAllFilesAvail"]))
738 $_GET["fAllFilesAvail"]="Off";
739
740 if (empty($_GET["fAllFilesAvailStatus"]))
741 $_GET["fAllFilesAvailStatus"]="0";
742
743 if (empty($_GET["fCallisto"]))
744 $_GET["fCallisto"]="Off";
745
746 if (empty($_GET["fCallistoStatus"]))
747 $_GET["fCallistoStatus"]="0";
748
749 if (empty($_GET["fFillCallisto"]))
750 $_GET["fFillCallisto"]="Off";
751
752 if (empty($_GET["fFillCallistoStatus"]))
753 $_GET["fFillCallistoStatus"]="0";
754
755 if (empty($_GET["fStar"]))
756 $_GET["fStar"]="Off";
757
758 if (empty($_GET["fStarStatus"]))
759 $_GET["fStarStatus"]="0";
760
761 if (empty($_GET["fFillStar"]))
762 $_GET["fFillStar"]="Off";
763
764 if (empty($_GET["fFillStarStatus"]))
765 $_GET["fFillStarStatus"]="0";
766}
767
768function InitStarInfo($_GET, $first)
769{
770 if (empty($_GET["fMeanNumberIslands"]))
771 $_GET["fMeanNumberIslands"]="Off";
772
773 if (empty($_GET["fPSF"]))
774 $_GET["fPSF"]="Off";
775
776 if (empty($_GET["fRatio"]))
777 $_GET["fRatio"]="Off";
778
779 if (empty($_GET["fMuonNumber"]))
780 $_GET["fMuonNumber"]="Off";
781
782 if (empty($_GET["fEffOnTime"]))
783 $_GET["fEffOnTime"]="Off";
784
785 if (empty($_GET["fEffOnTime/fRunTime"]))
786 $_GET["fEffOnTime/fRunTime"]="Off";
787
788 if (empty($_GET["fMuonRate"]))
789 $_GET["fMuonRate"]="Off";
790
791 if (empty($_GET["fInhomogeneity"]))
792 $_GET["fInhomogeneity"]="Off";
793
794 if (empty($_GET["fDataRate"]))
795 $_GET["fDataRate"]="Off";
796
797 if (empty($_GET["fSparkRate"]))
798 $_GET["fSparkRate"]="Off";
799
800 if (empty($_GET["fMaxHumidity"]))
801 $_GET["fMaxHumidity"]="Off";
802
803 if (empty($_GET["fBrightnessMed"]))
804 $_GET["fBrightnessMed"]="Off";
805
806 if (empty($_GET["fBrightnessRMS"]))
807 $_GET["fBrightnessRMS"]="Off";
808
809 if (empty($_GET["fNumStarsMed"]))
810 $_GET["fNumStarsMed"]="Off";
811
812 if (empty($_GET["fNumStarsRMS"]))
813 $_GET["fNumStarsRMS"]="Off";
814
815 if (empty($_GET["fNumStarsCorMed"]))
816 $_GET["fNumStarsCorMed"]="Off";
817
818 if (empty($_GET["fNumStarsCorRMS"]))
819 $_GET["fNumStarsCorRMS"]="Off";
820}
821
822function InitCalInfo($_GET, $first)
823{
824 if (empty($_GET["fUnreliableInner"]))
825 $_GET["fUnreliableInner"]="Off";
826
827 if (empty($_GET["fUnsuitableOuter"]))
828 $_GET["fUnsuitableOuter"]="Off";
829
830 if (empty($_GET["fUnreliableOuter"]))
831 $_GET["fUnreliableOuter"]="Off";
832
833 if (empty($_GET["fUnsuitableInner"]))
834 $_GET["fUnsuitableInner"]="Off";
835
836 if (empty($_GET["fUnsuitable50"]))
837 $_GET["fUnsuitable50"]="Off";
838
839 if (empty($_GET["fUnsuitable01"]))
840 $_GET["fUnsuitable01"]="Off";
841
842 if (empty($_GET["fIsolatedInner"]))
843 $_GET["fIsolatedInner"]="Off";
844
845 if (empty($_GET["fIsolatedOuter"]))
846 $_GET["fIsolatedOuter"]="Off";
847
848 if (empty($_GET["fMeanPedRmsInner"]))
849 $_GET["fMeanPedRmsInner"]="Off";
850
851 if (empty($_GET["fMeanPedRmsOuter"]))
852 $_GET["fMeanPedRmsOuter"]="Off";
853
854 if (empty($_GET["fIsolatedMaxCluster"]))
855 $_GET["fIsolatedMaxCluster"]="Off";
856
857 if (empty($_GET["fArrTimeMeanInner"]))
858 $_GET["fArrTimeMeanInner"]="Off";
859
860 if (empty($_GET["fArrTimeMeanOuter"]))
861 $_GET["fArrTimeMeanOuter"]="Off";
862
863 if (empty($_GET["fArrTimeRmsInner"]))
864 $_GET["fArrTimeRmsInner"]="Off";
865
866 if (empty($_GET["fArrTimeRmsOuter"]))
867 $_GET["fArrTimeRmsOuter"]="Off";
868
869 if (empty($_GET["fMeanSignalInner"]))
870 $_GET["fMeanSignalInner"]=$first?"Off":"";
871
872 if (empty($_GET["fMeanSignalOuter"]))
873 $_GET["fMeanSignalOuter"]=$first?"Off":"";
874
875 if (empty($_GET["fPulsePosMean"]))
876 $_GET["fPulsePosMean"]=$first?"Off":"";
877
878 if (empty($_GET["fConvFactorInner"]))
879 $_GET["fConvFactorInner"]="Off";
880
881 if (empty($_GET["fConvFactorOuter"]))
882 $_GET["fConvFactorOuter"]="Off";
883}
884
885function InitSequInfo($_GET, $first)
886{
887 InitInfo($_GET, $first);
888 InitSequStatus($_GET, $first);
889 InitFailInfo($_GET, $first);
890 InitCalInfo($_GET, $first);
891 InitStarInfo($_GET, $first);
892
893 if (empty($_GET["fRunTime/60"]))
894 $_GET["fRunTime/60"]="Off";
895
896 if (empty($_GET["fSequenceLast"]))
897 $_GET["fSequenceLast"]="Off";
898
899 if (empty($_GET["fAzimuthMin"]))
900 $_GET["fAzimuthMin"]="Off";
901
902 if (empty($_GET["fAzimuthMax"]))
903 $_GET["fAzimuthMax"]="Off";
904
905 if (empty($_GET["fZenithDistanceMin"]))
906 $_GET["fZenithDistanceMin"]="Off";
907
908 if (empty($_GET["fZenithDistanceMax"]))
909 $_GET["fZenithDistanceMax"]="Off";
910
911 if (empty($_GET["fObservationModeName"]))
912 $_GET["fObservationModeName"]="Off";
913
914// if (empty($_GET["fManuallyChangedName"]))
915// $_GET["fManuallyChangedName"]="Off";
916}
917
918function InitDataSetStatus($_GET, $first)
919{
920 if (empty($_GET["fDataSetInserted"]))
921 $_GET["fDataSetInserted"]="Off";
922
923 if (empty($_GET["fDataSetInsertedStatus"]))
924 $_GET["fDataSetInsertedStatus"]="0";
925
926 if (empty($_GET["fDataSetFileWritten"]))
927 $_GET["fDataSetFileWritten"]=$first?"On":"";
928
929 if (empty($_GET["fDataSetFileWrittenStatus"]))
930 $_GET["fDataSetFileWrittenStatus"]="0";
931
932 if (empty($_GET["fStarFilesAvail"]))
933 $_GET["fStarFilesAvail"]="Off";
934
935 if (empty($_GET["fStarFilesAvailStatus"]))
936 $_GET["fStarFilesAvailStatus"]="0";
937
938 if (empty($_GET["fGanymed"]))
939 $_GET["fGanymed"]=$first?"On":"";
940
941 if (empty($_GET["fGanymedStatus"]))
942 $_GET["fGanymedStatus"]="0";
943
944 if (empty($_GET["fFillGanymed"]))
945 $_GET["fFillGanymed"]="Off";
946
947 if (empty($_GET["fFillGanymedStatus"]))
948 $_GET["fFillGanymedStatus"]="0";
949}
950
951function InitDataSetInfo($_GET, $first)
952{
953 InitDataSetStatus($_GET, $first);
954 InitFailInfo($_GET, $first);
955
956 if (empty($_GET["fNumResults"]))
957 $_GET["fNumResults"]="50";
958
959 if (empty($_GET["fLinks"]))
960 $_GET["fLinks"]=$first?"On":"";
961
962 if (empty($_GET["fExcessEvents"]))
963 $_GET["fExcessEvents"]=$first?"On":"";
964
965 if (empty($_GET["fBackgroundEvents*60/fEffOnTime"]))
966 $_GET["fBackgroundEvents*60/fEffOnTime"]=$first?"On":"";
967
968 if (empty($_GET["fBackgroundEvents"]))
969 $_GET["fBackgroundEvents"]=$first?"On":"";
970
971 if (empty($_GET["fSignalEvents"]))
972 $_GET["fSignalEvents"]=$first?"On":"";
973
974 if (empty($_GET["fSignificance"]))
975 $_GET["fSignificance"]=$first?"On":"";
976
977 if (empty($_GET["fScaleFactor"]))
978 $_GET["fScaleFactor"]=$first?"On":"";
979
980 if (empty($_GET["fEffOnTime/3600"]))
981 $_GET["fEffOnTime/3600"]=$first?"On":"";
982
983 if (empty($_GET["fSourceName"]))
984 $_GET["fSourceName"]=$first?"On":"";
985
986 if (empty($_GET["fObservationModeName"]))
987 $_GET["fObservationModeName"]=$first?"On":"";
988
989 if (empty($_GET["fComment"]))
990 $_GET["fComment"]="Off";
991
992 if (empty($_GET["fUserName"]))
993 $_GET["fUserName"]="Off";
994
995 if (empty($_GET["fRunStart"]))
996 $_GET["fRunStart"]="Off";
997
998 if (empty($_GET["fRunStop"]))
999 $_GET["fRunStop"]="Off";
1000
1001 if (empty($_GET["fZenithDistanceMin"]))
1002 $_GET["fZenithDistanceMin"]=$first?"On":"";
1003
1004 if (empty($_GET["fZenithDistanceMax"]))
1005 $_GET["fZenithDistanceMax"]=$first?"On":"";
1006
1007 if (empty($_GET["fRunTime"]))
1008 $_GET["fRunTime"]="Off";
1009
1010 if (empty($_GET["fDataSetName"]))
1011 $_GET["fDataSetName"]=$first?"On":"";
1012
1013 if (empty($_GET["fExcessEvents*60/fEffOnTime"]))
1014 $_GET["fExcessEvents*60/fEffOnTime"]="Off";
1015
1016 if (empty($_GET["fSignalEvents*60/fEffOnTime"]))
1017 $_GET["fSignalEvents*60/fEffOnTime"]="Off";
1018
1019 if (empty($_GET["Round(fSignificance/Sqrt(fEffOnTime/3600),2)"]))
1020 $_GET["Round(fSignificance/Sqrt(fEffOnTime/3600),2)"]="Off";
1021
1022}
1023
1024function InitFindOffData($_GET, $first)
1025{
1026 InitSequInfo($_GET, $first);
1027
1028 if (empty($_GET["fArrTimeLimitMean"]))
1029 $_GET["fArrTimeLimitMean"]="";
1030
1031 if (empty($_GET["fArrTimeLimitRms"]))
1032 $_GET["fArrTimeLimitRms"]="";
1033
1034 if (empty($_GET["fPedRmsInLimitMean"]))
1035 $_GET["fPedRmsInLimitMean"]="";
1036
1037 if (empty($_GET["fPedRmsInLimitRms"]))
1038 $_GET["fPedRmsInLimitRms"]="";
1039
1040 if (empty($_GET["fMuonRateLimitMean"]))
1041 $_GET["fMuonRateLimitMean"]="";
1042
1043 if (empty($_GET["fMuonRateLimitRms"]))
1044 $_GET["fMuonRateLimitRms"]="";
1045
1046 if (empty($_GET["fImgRateLimitMean"]))
1047 $_GET["fImgRateLimitMean"]="";
1048
1049 if (empty($_GET["fImgRateLimitRms"]))
1050 $_GET["fImgRateLimitRms"]="";
1051
1052 if (empty($_GET["fPSFLimitMean"]))
1053 $_GET["fPSFLimitMean"]="";
1054
1055 if (empty($_GET["fPSFLimitRms"]))
1056 $_GET["fPSFLimitRms"]="";
1057
1058 if (empty($_GET["fUnsInLimit1"]))
1059 $_GET["fUnsInLimit1"]="";
1060
1061 if (empty($_GET["fUnsInLimit2"]))
1062 $_GET["fUnsInLimit2"]="";
1063
1064 if (empty($_GET["fIsoInLimit1"]))
1065 $_GET["fIsoInLimit1"]="";
1066
1067 if (empty($_GET["fIsoInLimit2"]))
1068 $_GET["fIsoInLimit2"]="";
1069
1070 if (empty($_GET["fIMCLimit1"]))
1071 $_GET["fIMCLimit1"]="";
1072
1073 if (empty($_GET["fIMCLimit2"]))
1074 $_GET["fIMCLimit2"]="";
1075
1076 if (empty($_GET["fZdMinLimit1"]))
1077 $_GET["fZdMinLimit1"]="";
1078
1079 if (empty($_GET["fZdMinLimit2"]))
1080 $_GET["fZdMinLimit2"]="";
1081
1082 if (empty($_GET["fZdMaxLimit1"]))
1083 $_GET["fZdMaxLimit1"]="";
1084
1085 if (empty($_GET["fZdMaxLimit2"]))
1086 $_GET["fZdMaxLimit2"]="";
1087
1088 if (empty($_GET["fMuonCalLimitMean"]))
1089 $_GET["fMuonCalLimitMean"]="";
1090
1091 if (empty($_GET["fMuonCalLimitRms"]))
1092 $_GET["fMuonCalLimitRms"]="";
1093
1094 if (empty($_GET["fInhomLimitMean"]))
1095 $_GET["fInhomLimitMean"]="";
1096
1097 if (empty($_GET["fInhomLimitRms"]))
1098 $_GET["fInhomLimitRms"]="";
1099
1100 if (empty($_GET["fNumIslLimitMean"]))
1101 $_GET["fNumIslLimitMean"]="";
1102
1103 if (empty($_GET["fNumIslLimitRms"]))
1104 $_GET["fNumIslLimitRms"]="";
1105
1106 if (empty($_GET["fSkyBrightLimitMean"]))
1107 $_GET["fSkyBrightLimitMean"]="";
1108
1109 if (empty($_GET["fSkyBrightLimitRms"]))
1110 $_GET["fSkyBrightLimitRms"]="";
1111
1112 if (empty($_GET["fNumStarsLimit1"]))
1113 $_GET["fNumStarsLimit1"]="";
1114
1115 if (empty($_GET["fNumStarsLimit2"]))
1116 $_GET["fNumStarsLimit2"]="";
1117
1118 if (empty($_GET["fNumStarsCorLimit1"]))
1119 $_GET["fNumStarsCorLimit1"]="";
1120
1121 if (empty($_GET["fNumStarsCorLimit2"]))
1122 $_GET["fNumStarsCorLimit2"]="";
1123
1124 if (empty($_GET["fMuonNumLimit1"]))
1125 $_GET["fMuonNumLimit1"]="";
1126
1127 if (empty($_GET["fMuonNumLimit2"]))
1128 $_GET["fMuonNumLimit2"]="";
1129
1130 if (empty($_GET["fRelTimeMinLimit1"]))
1131 $_GET["fRelTimeMinLimit1"]="";
1132
1133 if (empty($_GET["fRelTimeMinLimit2"]))
1134 $_GET["fRelTimeMinLimit2"]="";
1135
1136 if (empty($_GET["fRelTimeMaxLimit1"]))
1137 $_GET["fRelTimeMaxLimit1"]="";
1138
1139 if (empty($_GET["fRelTimeMaxLimit2"]))
1140 $_GET["fRelTimeMaxLimit2"]="";
1141
1142 if (empty($_GET["fRunTimeLimit1"]))
1143 $_GET["fRunTimeLimit1"]="";
1144
1145 if (empty($_GET["fRunTimeLimit2"]))
1146 $_GET["fRunTimeLimit2"]="";
1147
1148 if (empty($_GET["fPulsePosLimit1"]))
1149 $_GET["fPulsePosLimit1"]="";
1150
1151 if (empty($_GET["fPulsePosLimit2"]))
1152 $_GET["fPulsePosLimit2"]="";
1153
1154 if (empty($_GET["fMaxHumLimit1"]))
1155 $_GET["fMaxHumLimit1"]="";
1156
1157 if (empty($_GET["fMaxHumLimit2"]))
1158 $_GET["fMaxHumLimit2"]="";
1159
1160}
1161
1162
1163?>
Note: See TracBrowser for help on using the repository browser.