source: tags/Mars-V2.4/datacenter/db/menu.php

Last change on this file was 9500, checked in by Daniela Dorner, 15 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 53.1 KB
Line 
1<?php
2
3//MC stuff
4function PrintMCRunInfoMenu($host,$user,$pw,$db)
5{
6 printf(" <div id='info' style='display:none'>");
7 printf(" <table>\n");
8 printf(" <tr valign='top'>\n");
9
10 CheckBox("fNumEvents", "Num of events");
11 CheckBox("fEnergyMin", "Emin");
12 CheckBox("fEnergyMax", "Emax");
13 CheckBox("fEnergySlope", "Slope");
14
15 printf(" </tr><tr>\n");
16
17 CheckBox("fImpactMax", "Impact");
18 CheckBox("fViewConeMax", "Viewcone");
19 CheckBox("fNumReUseShower", "#Shower reuse");
20 CheckBox("fStartingAltitude", "Starting alt.");
21
22 printf(" </tr><tr>\n");
23
24 CheckBox("fMirrorDiameter", "Mirror diam.");
25
26 printf(" </tr><tr>\n");
27
28 CheckBox("fZenithDistanceMin", "Zenith distance min");
29 CheckBox("fZenithDistanceMax", "Zenith distance max");
30 CheckBox("fAzimuthMin", "Azimuth min");
31 CheckBox("fAzimuthMax", "Azimuth max");
32
33 printf(" </tr><tr>\n");
34 printf(" <td>\n");
35 PrintPullDown($host, $user, $pw, $db, "ParticleType", "fParticleTypeName", "fParticleTypeKEY", "Particle type");
36 printf(" </td><td>\n");
37 PrintPullDown($host, $user, $pw, $db, "AtmosphericModel", "fAtmosphericModelName", "fAtmosphericModelKEY", "Atm. model");
38 printf(" </td>\n");
39
40 printf(" </tr>\n");
41 printf(" </table>\n");
42 printf(" </div><p>\n");
43}
44
45function PrintMCRunStatMenu()
46{
47 printf(" <div id=\"stat\" style='display:none'>\n");
48 printf(" <table>\n");
49 printf(" <tr><td>\n");
50
51 PrintStatusMenu("fCorsikaInputCreated", "Input");
52 printf(" </td><td>\n");
53 PrintStatusMenu("fCorsikaFileAvail", "Corsika");
54
55 printf(" </td></tr></table>\n");
56 printf(" <p>\n");
57 printf(" </div><p>\n");
58}
59
60//cta mc stuff
61function PrintCTAMCRunInfoMenu($host,$user,$pw,$db)
62{
63 printf(" <div id='info' style='display:none'>");
64 printf(" <table>\n");
65 printf(" <tr valign='top'>\n");
66
67 CheckBox("fNumEvents", "Num of events");
68
69 printf(" <td>\n");
70 PrintPullDown($host, $user, $pw, $db, "ParticleType", "fParticleTypeName", "fParticleTypeKEY", "Particle type");
71 printf(" </td><td>\n");
72
73 printf(" </tr>\n");
74 printf(" </table>\n");
75 printf(" </div><p>\n");
76}
77
78function PrintCTAMCRunStatMenu()
79{
80 printf(" <div id=\"stat\" style='display:none'>\n");
81 printf(" <table>\n");
82 printf(" <tr><td>\n");
83
84 PrintStatusMenu("fCorsikaSimTelarray", "Corsika and Simtel");
85 printf(" </td><td>\n");
86 PrintStatusMenu("fChimp", "Chimp");
87 printf(" </td><td>\n");
88 PrintStatusMenu("fCTAStar", "Star");
89
90 printf(" </td></tr><tr><td>\n");
91
92 PrintStatusMenu("fStereoB", "StereoB");
93 printf(" </td><td>\n");
94 PrintStatusMenu("fStereoC", "StereoC");
95 printf(" </td><td>\n");
96 PrintStatusMenu("fStereoG", "StereoG");
97
98 printf(" </td></tr></table>\n");
99 printf(" <p>\n");
100 printf(" </div><p>\n");
101}
102
103//magic data stuff
104function PrintRunInfoMenu()
105{
106 printf(" <div id='info' style='display:none'>");
107 printf(" <table>\n");
108 printf(" <tr>\n");
109
110 CheckBox("fRunStart", "Run start time");
111 CheckBox("fL2RatePresc", "L2 presc Rate");
112 CheckBox("fDaqStoreRate", "DAQ Storage Rate");
113 CheckBox("fAzimuth", "Azimuth");
114
115 printf(" </tr><tr>\n");
116
117 CheckBox("fRunStop", "Run stop time");
118 CheckBox("fL2RateUnpresc", "L2 unpresc Rate");
119 CheckBox("fDaqTriggerRate", "DAQ Trigger Rate");
120 CheckBox("fZenithDistance", "Zenith distance");
121
122 printf(" </tr><tr>\n");
123
124 // CheckBox("fFormatVersion", "File format");
125 CheckBox("fNumEvents", "Num of events");
126 CheckBox("fMeanTriggerRate", "Mean Trigger Rate");
127 CheckBox("fL3TriggerRate", "L3 Trigger Rate");
128 CheckBox("fSequenceFirst", "Sequence Number");
129
130 printf(" </tr><tr>\n");
131
132 CheckBox("fTest", "incl. TestSources");
133 CheckBox("fLinks", "Links");
134 CheckBox("fWheelPos1", "Wheel Position 1");
135 CheckBox("fWheelPos2", "Wheel Position 2");
136
137 printf(" </tr>\n");
138 printf(" </table>\n");
139 printf(" </div><p>\n");
140}
141
142function PrintRunStatMenu()
143{
144 printf(" <div id=\"stat\" style='display:none'>\n");
145 printf(" <table>\n");
146 printf(" <tr><td>\n");
147
148 PrintStatusMenu("fCCFileAvail", "CC File available");
149 printf(" </td><td>\n");
150 PrintStatusMenu("fCaCoFileAvail", "Caco File available");
151 printf(" </td><td>\n");
152 PrintStatusMenu("fRawFileAvail", "Rawfile available");
153
154 printf(" </td></tr><tr><td>\n");
155
156 PrintStatusMenu("fTimingCorrection", "Timing Correction");
157 printf(" </td><td>\n");
158 PrintStatusMenu("fCaCoFileFound", "Caco File");
159 printf(" </td><td>\n");
160 PrintStatusMenu("fDataCheckDone", "DataCheck");
161
162 printf(" </td></tr></table>\n");
163 printf(" <p>\n");
164 printf(" </div><p>\n");
165}
166
167function PrintRunInfo2Menu($host,$user,$pw,$db)
168{
169 printf(" <div id='info2' style='display:none'>");
170 printf(" <table>\n");
171 printf(" <tr><td>\n");
172 PrintPullDown($host, $user, $pw, $db, "RunType", "fRunTypeName", "fRunTypeKEY", "Run type");
173 printf(" </td><td>\n");
174 PrintPullDown($host, $user, $pw, $db, "Source", "fSourceName", "fSourceKEY", "Source Name");
175 printf(" </td><td>\n");
176 PrintPullDown($host, $user, $pw, $db, "HvSettings", "fHvSettingsName", "fHvSettingsKEY", "HV Settings");
177 printf(" </td><td>\n");
178 PrintPullDown($host, $user, $pw, $db, "L1TriggerTable", "fL1TriggerTableName", "fL1TriggerTableKEY", "L1 Trigger Table");
179 printf(" </td></tr><tr><td>\n");
180 PrintPullDown($host, $user, $pw, $db, "TestFlag", "fTestFlagName", "fTestFlagKEY", "Test Flag");
181 printf(" </td><td>\n");
182 PrintPullDown($host, $user, $pw, $db, "Project", "fProjectName", "fProjectKEY", "Project Name");
183 printf(" </td><td>\n");
184 PrintPullDown($host, $user, $pw, $db, "DiscriminatorThresholdTable", "fDiscriminatorThresholdTableName", "fDiscriminatorThresholdTableKEY", "DT Table");
185 printf(" </td><td>\n");
186 PrintPullDown($host, $user, $pw, $db, "L2TriggerTable", "fL2TriggerTableName", "fL2TriggerTableKEY", "L2 Trigger Table");
187 printf(" </td></tr><tr><td>\n");
188 PrintPullDown($host, $user, $pw, $db, "ExcludedFDA", "fExcludedFDAName", "fExcludedFDAKEY", "Exclusions");
189 printf(" </td><td>\n");
190 PrintPullDown($host, $user, $pw, $db, "LightConditions", "fLightConditionsName", "fLightConditionsKEY", "Light Conditions");
191 printf(" </td><td>\n");
192 PrintPullDown($host, $user, $pw, $db, "CalibrationScript", "fCalibrationScriptName", "fCalibrationScriptKEY", "Cal Script");
193 printf(" </td><td>\n");
194 PrintPullDown($host, $user, $pw, $db, "L3TriggerTable", "fL3TriggerTableName", "fL3TriggerTableKEY", "L3 Trigger Table");
195 printf(" </td></tr><tr><td>\n");
196 PrintPullDown($host, $user, $pw, $db, "MagicNumber", "fMagicNumberName", "fMagicNumberKEY", "Magic Number");
197 printf(" </td><td>\n");
198 PrintPullDown($host, $user, $pw, $db, "ObservationMode", "fObservationModeName", "fObservationModeKEY", "Obs. Mode");
199 printf(" </td><td>\n");
200 PrintPullDown($host, $user, $pw, $db, "SumTriggerFlag", "fSumTriggerFlagName", "fSumTriggerFlagKEY", "SumTrigger Flag");
201 printf(" </td><td>\n");
202 PrintPullDown($host, $user, $pw, $db, "TriggerDelayTable", "fTriggerDelayTableName", "fTriggerDelayTableKEY", "Trigger Delay Table");
203 printf(" </td></tr><tr><td>\n");
204 PrintPullDown($host, $user, $pw, $db, "Cycle", "fCycleName", "fCycleKEY", "Cycle");
205 printf(" </td><td>\n");
206 PrintPullDown($host, $user, $pw, $db, "PI", "fPIName", "fPIKEY", "PI");
207 printf(" </td><td>\n");
208 PrintPullDown($host, $user, $pw, $db, "WorkingGroup", "fWorkingGroupName", "fWorkingGroupKEY", "Working Group");
209 printf(" </td><td>\n");
210 PrintPullDown($host, $user, $pw, $db, "Proposal", "fProposalName", "fProposalKEY", "Proposal");
211 printf(" </td></tr></table>\n");
212 printf(" </div><p>\n");
213}
214
215function PrintSequInfoMenu()
216{
217 printf(" <div id='info' style='display:none'>");
218 printf(" <table>\n");
219
220 printf("<tr><td align='center'>\n");
221 printf(" <tr>\n");
222
223 CheckBox("fRunStart", "Start time");
224 CheckBox("fRunStop", "Stop time");
225 CheckBox("fNumEvents", "Num of events");
226 CheckBox("fRunTime/60", "Duration");
227
228 printf(" </tr><tr>\n");
229
230 CheckBox("fZenithDistanceMin", "Zenith distance min");
231 CheckBox("fZenithDistanceMax", "Zenith distance max");
232 CheckBox("fAzimuthMin", "Azimuth min");
233 CheckBox("fAzimuthMax", "Azimuth max");
234
235 printf(" </tr><tr>\n");
236
237 CheckBox("fSequenceLast", "Last run");
238 CheckBox("fLinks", "Links");
239
240 printf(" </tr><tr>\n");
241
242 CheckBox("fOnlySum", "only sumtrigger");
243 CheckBox("fTest", "incl. TestSources");
244 CheckBox("fOff", "incl. offsources");
245 CheckBox("fOnlyOff", "only offsources");
246
247 printf(" </tr></table>\n");
248 printf(" </div><p>\n");
249}
250
251function PrintSequInfo2Menu($host,$user,$pw,$db)
252{
253 printf(" <div id='info2' style='display:none'>\n");
254 printf(" <table>\n");
255 printf(" <tr><td>\n");
256 PrintPullDown($host, $user, $pw, $db, "Source", "fSourceName", "fSourceKEY", "Source Name");
257 printf(" </td><td>\n");
258 PrintPullDown($host, $user, $pw, $db, "Project", "fProjectName", "fProjectKEY", "Project Name");
259 printf(" </td><td>\n");
260 PrintPullDown($host, $user, $pw, $db, "L1TriggerTable", "fL1TriggerTableName", "fL1TriggerTableKEY", "L1Trigger Table");
261 printf(" </td><td>\n");
262 PrintPullDown($host, $user, $pw, $db, "Cycle", "fCycleName", "fCycleKEY", "Cycle");
263 printf(" </td></tr><tr><td>\n");
264 PrintPullDown($host, $user, $pw, $db, "LightConditions", "fLightConditionsName", "fLightConditionsKEY", "Light Conditions");
265 printf(" </td><td>\n");
266 PrintPullDown($host, $user, $pw, $db, "HvSettings", "fHvSettingsName", "fHvSettingsKEY", "HV Settings");
267 printf(" </td><td>\n");
268 PrintPullDown($host, $user, $pw, $db, "L2TriggerTable", "fL2TriggerTableName", "fL2TriggerTableKEY", "L2Trigger Table");
269 printf(" </td><td>\n");
270 PrintPullDown($host, $user, $pw, $db, "PI", "fPIName", "fPIKEY", "PI");
271 printf(" </td></tr><tr><td>\n");
272 PrintPullDown($host, $user, $pw, $db, "ObservationMode", "fObservationModeName", "fObservationModeKEY", "Obs. Mode");
273 printf(" </td><td>\n");
274 PrintPullDown($host, $user, $pw, $db, "DiscriminatorThresholdTable", "fDiscriminatorThresholdTableName", "fDiscriminatorThresholdTableKEY", "DT Table");
275 printf(" </td><td>\n");
276 PrintPullDown($host, $user, $pw, $db, "L3TriggerTable", "fL3TriggerTableName", "fL3TriggerTableKEY", "L3Trigger Table");
277 printf(" </td><td>\n");
278 PrintPullDown($host, $user, $pw, $db, "WorkingGroup", "fWorkingGroupName", "fWorkingGroupKEY", "Working Group");
279 printf(" </td></tr><tr><td>\n");
280 PrintPullDown($host, $user, $pw, $db, "SumTriggerFlag", "fSumTriggerFlagName", "fSumTriggerFlagKEY", "SumTrigger Flag");
281 printf(" </td><td>\n");
282 PrintPullDown($host, $user, $pw, $db, "TriggerDelayTable", "fTriggerDelayTableName", "fTriggerDelayTableKEY", "Trigger Delay Table");
283 printf(" </td><td>\n");
284 printf(" </td><td>\n");
285 PrintPullDown($host, $user, $pw, $db, "Proposal", "fProposalName", "fProposalKEY", "Proposal");
286// printf(" </td><td>\n");
287// PrintPullDown($host, $user, $pw, $db, "ManuallyChanged", "fManuallyChangedName", "fManuallyChangedKEY", "Manually changed");
288// printf(" </td><td>\n");
289// PrintPullDown($host, $user, $pw, $db, "TestFlag", "fTestFlagName", "fTestFlagKEY", "Test Flag");
290 printf(" </td></tr>\n");
291 printf(" </table>\n");
292 printf(" </div><p>\n");
293}
294
295function PrintLimitsMenu($limitsmean, $limitsmin, $limitsmax, $alias, $old)
296{
297 printf("<div id='limits' style='display:none'>\n");
298 printf(" <table>\n");
299 printf(" <tr><th colspan='3'>Limits</th></tr>\n");
300 printf(" <tr><td valign='top'>\n");
301
302 printf(" <table>\n");
303 printf(" <tr><th>Name </th><th> Mean </th><th> Rms </th></tr>\n");
304
305 foreach($limitsmean as $key => $element)
306 {
307 printf("<tr><td>%s</td>\n", $alias[$key]);
308 $mean=$key . "Mean";
309 $limitmean=$_GET[$mean];
310 printf("<td><input name=\"%sMean\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\"></td>\n", $key, $limitmean);
311 $rms2=$key . "Rms";
312 $limitrms=$_GET[$rms2];
313 printf("<td><input name=\"%sRms\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\"></td>\n", $key, $limitrms);
314 printf("</tr>\n");
315 }
316
317 if (empty($old))
318 {
319 printf(" </table>\n");
320 printf(" </td>\n");
321 printf(" <td valign='top'>\n");
322 printf(" <table>\n");
323 }
324
325 printf(" <tr><th>Name </th><th> Min </th><th> Min2 </th></tr>\n");
326 foreach($limitsmin as $key => $element)
327 {
328 printf("<tr><td>%s</td>\n", $alias[$key]);
329 $level1=$key . "1";
330 $limit1=$_GET[$level1];
331 printf("<td><input name=\"%s1\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\"></td>\n", $key, $limit1);
332 $level2=$key . "2";
333 $limit2=$_GET[$level2];
334 printf("<td><input name=\"%s2\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\"></td>\n", $key, $limit2);
335 printf("</tr>\n");
336 }
337
338 if (empty($old))
339 {
340 printf(" </table>\n");
341 printf(" </td>\n");
342 printf(" <td valign='top'>\n");
343 printf(" <table>\n");
344 }
345
346 printf(" <tr><th>Name </th><th> Max </th><th> Max2 </th></tr>\n");
347 foreach($limitsmax as $key => $element)
348 {
349 printf("<tr><td>%s</td>\n", $alias[$key]);
350 $level1=$key . "1";
351 $limit1=$_GET[$level1];
352 printf("<td><input name=\"%s1\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\"></td>\n", $key, $limit1);
353 $level2=$key . "2";
354 $limit2=$_GET[$level2];
355 printf("<td><input name=\"%s2\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\"></td>\n", $key, $limit2);
356 printf("</tr>\n");
357 }
358 printf(" </table>\n");
359
360 printf(" </td></tr></table>\n");
361 printf("<p>\n");
362 printf("</div>\n");
363}
364
365function PrintSequStatMenu()
366{
367 printf(" <div id='stat' style='display:none'>\n");
368 printf(" <table><tr><td>\n");
369
370 PrintStatusMenu("fAllFilesAvail", "Files avail");
371 printf(" </td><td>\n");
372 PrintStatusMenu("fCallisto", "Callisto");
373 printf(" </td><td>\n");
374 PrintStatusMenu("fStar", "Star");
375 printf(" </td></tr><tr><td>\n");
376 PrintStatusMenu("fSequenceFileWritten", "Sequfile");
377 printf(" </td><td>\n");
378 PrintStatusMenu("fFillCallisto", "Fillcallisto");
379 printf(" </td><td>\n");
380 PrintStatusMenu("fFillStar", "Fillstar");
381
382 printf("</td></tr> </table>\n");
383 printf(" </div><p>\n");
384}
385
386function PrintFailMenu()
387{
388 printf(" <div id='fail' style='display:none'>\n");
389 printf(" <table>\n");
390 printf(" <tr>\n");
391
392 CheckBox("fStartTime", "ProcessTime");
393 CheckBox("fFailedTime", "FailTime");
394 CheckBox("fReturnCode", "RetCode");
395 CheckBox("fProgramId", "ProgramId");
396
397 printf(" </tr>\n");
398 printf(" </table>\n");
399 printf(" </div><p>\n");
400}
401
402function PrintCalMenu()
403{
404 printf(" <div id='cal' style='display:none'>\n");
405 printf(" <table>\n");
406 printf(" <tr>\n");
407
408 CheckBox("fUnsuitableInner", "Unsuitable inner");
409 CheckBox("fUnsuitableOuter", "Unsuitable outer");
410 CheckBox("fUnreliableInner", "Unreliable inner");
411 CheckBox("fUnreliableOuter", "Unreliable outer");
412
413 printf(" </tr><tr>\n");
414
415 CheckBox("fUnsuitable50", "Unsuitable (50%)");
416 CheckBox("fUnsuitable01", "Unsuitable (1%)");
417 CheckBox("fUnsuitableMax", "UnsuitableMax");
418 CheckBox("fDeadMax", "DeadMax");
419
420 printf(" </tr><tr>\n");
421
422 CheckBox("fIsolatedInner", "Isolated inner");
423 CheckBox("fIsolatedOuter", "Isolated outer");
424 CheckBox("fIsolatedMaxCluster", "IsolatedMaxCluster");
425
426 printf(" </tr><tr>\n");
427
428 CheckBox("fArrTimeMeanInner", "ArrTimeMean inner ");
429 CheckBox("fArrTimeMeanOuter", "ArrTimeMean outer ");
430 CheckBox("fArrTimeRmsInner", "ArrTimeRms inner ");
431 CheckBox("fArrTimeRmsOuter", "ArrTimeRms outer ");
432
433 printf(" </tr><tr>\n");
434
435 CheckBox("fMeanPedRmsInner", "MeanPedRms inner");
436 CheckBox("fMeanPedRmsOuter", "MeanPedRms outer");
437 CheckBox("fMeanSignalInner", "MeanSignal inner");
438 CheckBox("fMeanSignalOuter", "MeanSignal outer");
439
440 printf(" </tr><tr>\n");
441
442 CheckBox("fConvFactorInner", "Conv inner ");
443 CheckBox("fConvFactorOuter", "Conv outer ");
444 CheckBox("fPulsePosMean", "Mean PulsePos");
445 CheckBox("fPulsePosCalib", "Cal PulsePos");
446
447 printf(" </tr><tr>\n");
448
449 CheckBox("fRateTrigEvts", "Rate Trig evts");
450 CheckBox("fRateSumEvts", "Rate Sum Trig evts");
451 CheckBox("fRatePedEvts", "Rate Ped evts");
452 CheckBox("fRatePedTrigEvts", "Rate Ped Trig evts");
453
454 printf(" </tr><tr>\n");
455
456 CheckBox("fRateCalEvts", "Rate Cal evts");
457 CheckBox("fRateNullEvts", "Rate Null evts");
458 CheckBox("fRateUnknownEvts", "Rate Unknown evts");
459 CheckBox("fRatioCalEvents", "Ratio Cal evts");
460
461 printf(" </tr></table>\n");
462 printf(" </div><p>\n");
463}
464
465function PrintStarMenu()
466{
467 printf(" <div id='star' style='display:none'>\n");
468 printf(" <table>\n");
469 printf(" <tr>\n");
470
471 CheckBox("fDataRate", "CleanedEvtRate");
472 CheckBox("fMeanNumberIslands", "MeanNumIslands");
473 CheckBox("fMaxHumidity", "MaxHumidity");
474 CheckBox("fInhomogeneity", "Inhomogeneity");
475
476 printf(" </tr><tr>\n");
477
478 CheckBox("fMuonRate", "MuonRate");
479 CheckBox("fMuonNumber", "MuonNumber");
480 CheckBox("fRatio", "Ratio");
481 CheckBox("fPSF", "PSF");
482
483 printf(" </tr><tr>\n");
484
485 CheckBox("fSparkRate", "SparkRate");
486
487 printf(" </tr><tr>\n");
488
489 CheckBox("fEffOnTime", "EffOnTime");
490 CheckBox("fEffOnTime/fRunTime", "RelOnTime");
491 CheckBox("fBrightnessMed", "SkyBrightnessMed");
492 CheckBox("fBrightnessRMS", "SkyBrightnessRMS");
493
494 printf(" </tr><tr>\n");
495
496 CheckBox("fNumStarsMed", "# id. Stars");
497 CheckBox("fNumStarsRMS", "RMS id. Stars");
498 CheckBox("fNumStarsCorMed", "# cor. Stars");
499 CheckBox("fNumStarsCorRMS", "RMS cor. Stars");
500
501 printf(" </tr><tr>\n");
502
503 CheckBox("fAvgWindSpeed", "Avg wind speed");
504 CheckBox("fAvgTemperature", "Avg temperature");
505 CheckBox("fAvgHumidity", "Avg humidity");
506 CheckBox("fAvgTempSky", "Avg sky temperature");
507
508 printf(" </tr><tr>\n");
509
510 CheckBox("fAvgCloudiness", "Avg cloudiness");
511 CheckBox("fRmsCloudiness", "RMS cloudiness");
512
513 printf(" </tr>\n");
514 printf(" </table>\n");
515 printf(" </div><p>\n");
516}
517
518function PrintDataSetInfoMenu($host,$user,$pw,$db)
519{
520 printf(" <div id=\"info\" style='display:none'>");
521 printf(" <table>\n");
522 printf(" <tr>\n");
523
524 CheckBox("fDataSetName", "Name");
525 CheckBox("fComment", "Comment");
526 CheckBox("fRunTime", "Uptime");
527 CheckBox("fRunStart", "Start");
528 CheckBox("fRunStop", "Stop");
529
530 printf(" </tr><tr>\n");
531
532 CheckBox("fZenithDistanceMin", "ZdMin");
533 CheckBox("fZenithDistanceMax", "ZdMax");
534 CheckBox("fLinks", "Links");
535
536 printf(" </tr><tr>\n");
537
538 CheckBox("fEffOnTime/3600", "EffOnTime");
539 CheckBox("fExcessEvents", "ExcEvts");
540 CheckBox("fBackgroundEvents", "BgEvts");
541 CheckBox("fSignalEvents", "SignEvts");
542 CheckBox("fSignificance", "Sign");
543
544 printf(" </tr><tr>\n");
545
546 CheckBox("fScaleFactor", "Scale");
547 CheckBox("fExcessEvents*60/fEffOnTime", "ExcRate");
548 CheckBox("fBackgroundEvents*60/fEffOnTime", "BgRate");
549 CheckBox("fSignalEvents*60/fEffOnTime", "SignRate");
550 CheckBox("Round(fSignificance/Sqrt(fEffOnTime/3600),2)", "SignfRate");
551
552 printf(" </tr>\n");
553 printf(" </table>\n");
554 printf(" </div><p>\n");
555}
556
557function PrintDataSetInfoMenu2($host,$user,$pw,$db)
558{
559 printf(" <div id='info2' style='display:none'>");
560 printf(" <table><tr><td>\n");
561 PrintPullDown($host, $user, $pw, $db, "Source", "fSourceName", "fSourceKEY", "Source Name");
562 printf(" </td><td>\n");
563 PrintPullDown($host, $user, $pw, $db, "ObservationMode", "fObservationModeName", "fObservationModeKEY", "Observation Mode");
564 printf(" </td><td>\n");
565 PrintPullDown($host, $user, $pw, $db, "User", "fUserName", "fUserKEY", "User");
566 printf(" </td></tr>\n");
567 printf(" </table>\n");
568 printf("</div>");
569}
570
571function PrintDataSetStatMenu($host,$user,$pw,$db)
572{
573 printf(" <div id=\"stat\" style='display:none'>\n");
574 printf(" <table>\n");
575 printf(" <tr>\n");
576
577 printf(" <td>\n");
578 PrintStatusMenu("fDataSetInserted", "DataSet Inserted");
579 printf(" </td><td>\n");
580 PrintStatusMenu("fDataSetFileWritten", "DataSetFile");
581 printf(" </td><td>\n");
582 PrintStatusMenu("fStarFilesAvail", "FilesAvail");
583 printf(" </td><td>\n");
584 PrintStatusMenu("fGanymed", "Ganymed");
585 printf(" </td><td>\n");
586 PrintStatusMenu("fFillGanymed", "FillGanymed");
587 printf(" </tr>\n");
588 printf(" </table>\n");
589 printf(" </div><p>\n");
590}
591
592function PrintRunRangeMenu($host,$user,$pw,$db)
593{
594 if (empty($_GET["fRunMin"]))
595 $min = GetMin("fRunNumber", "RunData", $host, $user, $pw, $db);
596 else
597 $min = $_GET["fRunMin"];
598
599 if (empty($_GET["fRunMax"]))
600 $max = GetMax("fRunNumber", "RunData", $host, $user, $pw, $db);
601 else
602 $max = $_GET["fRunMax"];
603
604 printf("Runs&nbsp;from&nbsp;<input name=\"fRunMin\" type=\"text\" size=\"8\" maxlength=\"8\" value=\"%s\">\n", $min);
605 printf("to&nbsp;<input name=\"fRunMax\" type=\"text\" size=\"8\" maxlength=\"8\" value=\"%s\">&nbsp;&nbsp;&nbsp;\n", $max);
606}
607
608function PrintCTAMCRunRangeMenu($host,$user,$pw,$db)
609{
610 if (empty($_GET["fRunMin"]))
611 $min = GetMin("fMCRunNumber", "MCRunData", $host, $user, $pw, $db);
612 else
613 $min = $_GET["fRunMin"];
614
615 if (empty($_GET["fRunMax"]))
616 $max = GetMax("fMCRunNumber", "MCRunData", $host, $user, $pw, $db);
617 else
618 $max = $_GET["fRunMax"];
619
620 printf("Runs&nbsp;from&nbsp;<input name=\"fRunMin\" type=\"text\" size=\"8\" maxlength=\"8\" value=\"%s\">\n", $min);
621 printf("to&nbsp;<input name=\"fRunMax\" type=\"text\" size=\"8\" maxlength=\"8\" value=\"%s\">&nbsp;&nbsp;&nbsp;\n", $max);
622}
623
624function PrintMCRunRangeMenu($host,$user,$pw,$db)
625{
626 if (empty($_GET["fRunMin"]))
627 $min = GetMin("fCorsikaRunNumber", "MCCorsikaRunData", $host, $user, $pw, $db);
628 else
629 $min = $_GET["fRunMin"];
630
631 if (empty($_GET["fRunMax"]))
632 $max = GetMax("fCorsikaRunNumber", "MCCorsikaRunData", $host, $user, $pw, $db);
633 else
634 $max = $_GET["fRunMax"];
635
636 printf("Runs&nbsp;from&nbsp;<input name=\"fRunMin\" type=\"text\" size=\"8\" maxlength=\"8\" value=\"%s\">\n", $min);
637 printf("to&nbsp;<input name=\"fRunMax\" type=\"text\" size=\"8\" maxlength=\"8\" value=\"%s\">&nbsp;&nbsp;&nbsp;\n", $max);
638}
639
640function PrintSequRangeMenu($host,$user,$pw,$db)
641{
642 if (empty($_GET["fRunMin"]))
643 $min = GetMin("fSequenceFirst", "Sequences", $host, $user, $pw, $db);
644 else
645 $min = $_GET["fRunMin"];
646
647 if (empty($_GET["fRunMax"]))
648 $max = GetMax("fSequenceFirst", "Sequences", $host, $user, $pw, $db);
649 else
650 $max = $_GET["fRunMax"];
651
652 printf("Sequences&nbsp;from&nbsp;<input name=\"fRunMin\" type=\"text\" size=\"8\" maxlength=\"8\" value=\"%s\">\n", $min);
653 printf("to&nbsp;<input name=\"fRunMax\" type=\"text\" size=\"8\" maxlength=\"8\" value=\"%s\">&nbsp;&nbsp;&nbsp;\n", $max);
654}
655
656function PrintDataSetRangeMenu($host,$user,$pw,$db)
657{
658 if (empty($_GET["fRunMin"]))
659 $min = GetMin("fDataSetNumber", "DataSets", $host, $user, $pw, $db);
660 else
661 $min = $_GET["fRunMin"];
662
663 if (empty($_GET["fRunMax"]))
664 $max = GetMax("fDataSetNumber", "DataSets", $host, $user, $pw, $db);
665 else
666 $max = $_GET["fRunMax"];
667
668 printf("DataSets&nbsp;from&nbsp;<input name=\"fRunMin\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\">\n", $min);
669 printf("to&nbsp;<input name=\"fRunMax\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\">&nbsp;&nbsp;&nbsp;\n", $max);
670}
671
672function PrintZdRangeMenu($host,$user,$pw,$db)
673{
674 if (empty($_GET["fZDMin"]))
675 $zdmin = GetMin("fZenithDistanceMin", "Sequences", $host, $user, $pw, $db);
676 else
677 $zdmin = $_GET["fZDMin"];
678
679 if (empty($_GET["fZDMax"]))
680 $zdmax = GetMax("fZenithDistanceMax", "Sequences", $host, $user, $pw, $db);
681 else
682 $zdmax = $_GET["fZDMax"];
683
684 printf("ZenithDistance&nbsp;from&nbsp;<input name=\"fZDMin\" type=\"text\" size=\"2\" maxlength=\"2\" value=\"%s\">\n", $zdmin);
685 printf("to&nbsp;<input name=\"fZDMax\" type=\"text\" size=\"2\" maxlength=\"2\" value=\"%s\">&nbsp;&nbsp;&nbsp;\n", $zdmax);
686}
687
688function PrintNightRangeMenu($host,$user,$pw,$db, $table)
689{
690 if (empty($_GET["fStartDate"]))
691 $timemin = GetMin("Date_Format(fRunStart, '%Y-%m-%d')", $table, $host, $user, $pw, $db);
692 else
693 $timemin = $_GET["fStartDate"];
694
695 if (empty($_GET["fStopDate"]))
696 $timemax = GetMaxDate("Date_Format(fRunStart, '%Y-%m-%d')", $table, $host, $user, $pw, $db);
697 else
698 $timemax = $_GET["fStopDate"];
699
700 printf("Night&nbsp;(yyyy-mm-dd)&nbsp;from&nbsp;<input name=\"fStartDate\" type=\"text\" size=\"10\" maxlength=\"10\" value=\"%s\">\n", $timemin);
701 printf("to&nbsp;<input name=\"fStopDate\" type=\"text\" size=\"10\" maxlength=\"10\" value=\"%s\">&nbsp;&nbsp;&nbsp;&nbsp;\n", $timemax);
702}
703
704function PrintStarRangeMenu($host,$user,$pw,$db)
705{
706 if (empty($_GET["fStarStart"]))
707 $starmin = GetMin("fStar", "SequenceProcessStatus", $host, $user, $pw, $db);
708 else
709 $starmin = $_GET["fStarStart"];
710
711 if (empty($_GET["fStarStop"]))
712 $starmax = GetMax("fStar", "SequenceProcessStatus", $host, $user, $pw, $db);
713 else
714 $starmax = $_GET["fStarStop"];
715
716 printf("<p>StarDone&nbsp;(yyyy-mm-dd hh:mm:ss)&nbsp;from&nbsp;<input name=\"fStarStart\" type=\"text\" size=\"19\" maxlength=\"19\" value=\"%s\">\n", $starmin);
717 printf("to&nbsp;<input name=\"fStarStop\" type=\"text\" size=\"19\" maxlength=\"19\" value=\"%s\">&nbsp;&nbsp;&nbsp;&nbsp;\n", $starmax);
718}
719
720function PrintGroupByDateMenu()
721{
722 printf("Group by Date ");
723 printf("<select name='fGroupByDate' size='1' class='Width'>\n");
724 if (empty($_GET["fGroupByDate"]) || $_GET["fGroupByDate"]==0)
725 printf(" <option value='0' selected>--- NO GROUP BY ---</option>\n");
726 else
727 printf(" <option value='0'>--- NO GROUP BY ---</option>\n");
728 $dates=array("Year", "Month","Night");
729 foreach ($dates as $date)
730 {
731 if ($_GET["fGroupByDate"]==$date)
732 printf(" <option value='%s' selected> %s </option>\n", $date, $date);
733 else
734 printf(" <option value='%s'> %s </option>\n", $date, $date);
735 }
736 printf(" </select>\n");
737}
738
739function PrintSourceMenu($host,$user,$pw,$db)
740{
741 printf("Source&nbsp;(<A HREF=\"regexp.html\">regexp</A>)&nbsp;<input name=\"fSourceN\" type=\"text\" size=\"15\" maxlength=\"15\" value=\"");
742 if (!empty($_GET["fSourceN"]))
743 printf("%s", $_GET["fSourceN"]);
744 printf("\">&nbsp;&nbsp;&nbsp;\n");
745}
746function PrintSequMenu($host,$user,$pw,$db)
747{
748 printf("Sequ#&nbsp;<input name=\"fSequenceNo\" type=\"text\" size=\"8\" maxlength=\"8\" value=\"");
749 if (!empty($_GET["fSequenceNo"]))
750 printf("%s", $_GET["fSequenceNo"]);
751 printf("\">&nbsp;&nbsp;&nbsp;\n");
752}
753
754function PrintNumResPullDown()
755{
756 printf(" Results:\n");
757 printf(" <select name=\"fNumResults\">\n");
758
759 $numres = array("10", "20", "50", "100", "200", "500", "1000", "2000");
760 foreach ($numres as $element)
761 {
762 if ($element==$_GET["fNumResults"])
763 printf("<option value=\"%s\" selected>%3s</option>\n", $element, $element);
764 else
765 printf("<option value=\"%s\">%3s</option>\n", $element, $element);
766 }
767 printf(" </select>\n");
768 printf(" &nbsp;&nbsp;&nbsp;\n");
769}
770
771function PrintButtons($page)
772{
773 printf("<input class='Width' type='submit' value='Query Table'>&nbsp;&nbsp;&nbsp;\n");
774 printf("<input class='Width' type='button' value='Reset' onClick='self.location.href=\"%s\"'>&nbsp;&nbsp;&nbsp;\n", $page);
775// printf("<p>");
776 if (strchr($_SERVER["REQUEST_URI"], '?')!=FALSE)
777 {
778 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"]));
779 printf("<input class='Width' type='button' value='Print' onClick='self.location.href=\"%s&amp;fPrintTable=1\"'>&nbsp;&nbsp;&nbsp;\n", htmlspecialchars($_SERVER["REQUEST_URI"]));
780 printf("MySqlQuery: <img id='showquerybutton' src='../plus.png' alt='+' onClick='showhide(\"showquery\")'>\n");
781 }
782}
783
784function InitFailInfo($first)
785{
786 if (empty($_GET["fStartTime"]))
787 $_GET["fStartTime"]="Off";
788
789 if (empty($_GET["fFailedTime"]))
790 $_GET["fFailedTime"]="Off";
791
792 if (empty($_GET["fReturnCode"]))
793 $_GET["fReturnCode"]="Off";
794
795 if (empty($_GET["fProgramId"]))
796 $_GET["fProgramId"]="Off";
797}
798
799function InitInfo($first)
800{
801 if (empty($_GET["fNumResults"]))
802 $_GET["fNumResults"]="20";
803
804 if (empty($_GET["fNumEvents"]))
805 $_GET["fNumEvents"]="Off";
806
807 if (empty($_GET["fRunStart"]))
808 $_GET["fRunStart"]="Off";
809
810 if (empty($_GET["fRunStop"]))
811 $_GET["fRunStop"]="Off";
812
813 if (empty($_GET["fTest"]))
814 $_GET["fTest"]="Off";
815
816 if (empty($_GET["fSourceName"]))
817 $_GET["fSourceName"]="Off";
818
819 if (empty($_GET["fProjectName"]))
820 $_GET["fProjectName"]="Off";
821
822 if (empty($_GET["fL1TriggerTableName"]))
823 $_GET["fL1TriggerTableName"]="Off";
824
825 if (empty($_GET["fL2TriggerTableName"]))
826 $_GET["fL2TriggerTableName"]="Off";
827
828 if (empty($_GET["fL3TriggerTableName"]))
829 $_GET["fL3TriggerTableName"]="Off";
830
831 if (empty($_GET["fHvSettingsName"]))
832 $_GET["fHvSettingsName"]="Off";
833
834 if (empty($_GET["fDiscriminatorThresholdTableName"]))
835 $_GET["fDiscriminatorThresholdTableName"]="Off";
836
837 if (empty($_GET["fTriggerDelayTableName"]))
838 $_GET["fTriggerDelayTableName"]="Off";
839
840 if (empty($_GET["fLightConditionsName"]))
841 $_GET["fLightConditionsName"]="Off";
842
843 if (empty($_GET["fTestFlagName"]))
844 $_GET["fTestFlagName"]="Off";
845
846 if (empty($_GET["fCycleName"]))
847 $_GET["fCycleName"]="Off";
848
849 if (empty($_GET["fPIName"]))
850 $_GET["fPIName"]="Off";
851
852 if (empty($_GET["fWorkingGroupName"]))
853 $_GET["fWorkingGroupName"]="Off";
854
855 if (empty($_GET["fProposalName"]))
856 $_GET["fProposalName"]="Off";
857}
858
859function InitRunStatus($first)
860{
861 if (empty($_GET["fDataCheckDone"]))
862 $_GET["fDataCheckDone"]="Off";
863
864 if (empty($_GET["fDataCheckDoneStatus"]))
865 $_GET["fDataCheckDoneStatus"]="0";
866
867 if (empty($_GET["fCCFileAvail"]))
868 $_GET["fCCFileAvail"]="Off";
869
870 if (empty($_GET["fCCFileAvailStatus"]))
871 $_GET["fCCFileAvailStatus"]="0";
872
873 if (empty($_GET["fCaCoFileAvail"]))
874 $_GET["fCaCoFileAvail"]=$first?"On":"";
875
876 if (empty($_GET["fCaCoFileAvailStatus"]))
877 $_GET["fCaCoFileAvailStatus"]="0";
878
879 if (empty($_GET["fCaCoFileFound"]))
880 $_GET["fCaCoFileFound"]="Off";
881
882 if (empty($_GET["fCaCoFileFoundStatus"]))
883 $_GET["fCaCoFileFoundStatus"]="0";
884
885 if (empty($_GET["fRawFileAvail"]))
886 $_GET["fRawFileAvail"]="Off";
887
888 if (empty($_GET["fRawFileAvailStatus"]))
889 $_GET["fRawFileAvailStatus"]="0";
890
891 if (empty($_GET["fTimingCorrection"]))
892 $_GET["fTimingCorrection"]="Off";
893
894 if (empty($_GET["fTimingCorrectionStatus"]))
895 $_GET["fTimingCorrectionStatus"]="0";
896}
897
898function InitRunInfo($first)
899{
900 InitRunStatus($first);
901 InitInfo($first);
902 InitFailInfo($first);
903
904 if (empty($_GET["fLinks"]))
905 $_GET["fLinks"]=$first?"On":"";
906
907 if (empty($_GET["fFormatVersion"]))
908 $_GET["fFormatVersion"]="Off";
909
910 if (empty($_GET["fAzimuth"]))
911 $_GET["fAzimuth"]="Off";
912
913 if (empty($_GET["fZenithDistance"]))
914 $_GET["fZenithDistance"]="Off";
915
916 if (empty($_GET["fRunTypeName"]))
917 $_GET["fRunTypeName"]="Off";
918
919 if (empty($_GET["fExcludedFDAName"]))
920 $_GET["fExcludedFDAName"]="Off";
921
922 if (empty($_GET["fMagicNumberName"]))
923 $_GET["fMagicNumberName"]="Off";
924
925 if (empty($_GET["fObservationModeName"]))
926 $_GET["fObservationModeName"]="Off";
927
928 if (empty($_GET["fSumTriggerFlagName"]))
929 $_GET["fSumTriggerFlagName"]="Off";
930
931 if (empty($_GET["fMeanTriggerRate"]))
932 $_GET["fMeanTriggerRate"]="Off";
933
934 if (empty($_GET["fCalibrationScriptName"]))
935 $_GET["fCalibrationScriptName"]="Off";
936
937 if (empty($_GET["fTestFlagName"]))
938 $_GET["fTestFlagName"]="Off";
939
940 if (empty($_GET["fDaqStoreRate"]))
941 $_GET["fDaqStoreRate"]="Off";
942
943 if (empty($_GET["fDaqTriggerRate"]))
944 $_GET["fDaqTriggerRate"]="Off";
945
946 if (empty($_GET["fL2RatePresc"]))
947 $_GET["fL2RatePresc"]="Off";
948
949 if (empty($_GET["fL3TriggerRate"]))
950 $_GET["fL3TriggerRate"]="Off";
951
952 if (empty($_GET["fWheelPos1"]))
953 $_GET["fWheelPos1"]="Off";
954
955 if (empty($_GET["fWheelPos2"]))
956 $_GET["fWheelPos2"]="Off";
957
958 if (empty($_GET["fL2RateUnpresc"]))
959 $_GET["fL2RateUnpresc"]="Off";
960
961 if (empty($_GET["fSequenceFirst"]))
962 $_GET["fSequenceFirst"]="Off";
963
964 if (empty($_GET["fSequenceNo"]))
965 $_GET["fSequenceNo"]="";
966}
967
968function InitSequStatus($first)
969{
970 if (empty($_GET["fSequenceFileWritten"]))
971 $_GET["fSequenceFileWritten"]="Off";
972
973 if (empty($_GET["fSequenceFileWrittenStatus"]))
974 $_GET["fSequenceFileWrittenStatus"]="0";
975
976 if (empty($_GET["fAllFilesAvail"]))
977 $_GET["fAllFilesAvail"]="Off";
978
979 if (empty($_GET["fAllFilesAvailStatus"]))
980 $_GET["fAllFilesAvailStatus"]="0";
981
982 if (empty($_GET["fCallisto"]))
983 $_GET["fCallisto"]="Off";
984
985 if (empty($_GET["fCallistoStatus"]))
986 $_GET["fCallistoStatus"]="0";
987
988 if (empty($_GET["fFillCallisto"]))
989 $_GET["fFillCallisto"]="Off";
990
991 if (empty($_GET["fFillCallistoStatus"]))
992 $_GET["fFillCallistoStatus"]="0";
993
994 if (empty($_GET["fStar"]))
995 $_GET["fStar"]="Off";
996
997 if (empty($_GET["fStarStatus"]))
998 $_GET["fStarStatus"]="0";
999
1000 if (empty($_GET["fFillStar"]))
1001 $_GET["fFillStar"]="Off";
1002
1003 if (empty($_GET["fFillStarStatus"]))
1004 $_GET["fFillStarStatus"]="0";
1005}
1006
1007function InitStarInfo($first)
1008{
1009 if (empty($_GET["fMeanNumberIslands"]))
1010 $_GET["fMeanNumberIslands"]="Off";
1011
1012 if (empty($_GET["fPSF"]))
1013 $_GET["fPSF"]="Off";
1014
1015 if (empty($_GET["fRatio"]))
1016 $_GET["fRatio"]="Off";
1017
1018 if (empty($_GET["fMuonNumber"]))
1019 $_GET["fMuonNumber"]="Off";
1020
1021 if (empty($_GET["fEffOnTime"]))
1022 $_GET["fEffOnTime"]="Off";
1023
1024 if (empty($_GET["fEffOnTime/fRunTime"]))
1025 $_GET["fEffOnTime/fRunTime"]="Off";
1026
1027 if (empty($_GET["fMuonRate"]))
1028 $_GET["fMuonRate"]="Off";
1029
1030 if (empty($_GET["fInhomogeneity"]))
1031 $_GET["fInhomogeneity"]="Off";
1032
1033 if (empty($_GET["fDataRate"]))
1034 $_GET["fDataRate"]="Off";
1035
1036 if (empty($_GET["fSparkRate"]))
1037 $_GET["fSparkRate"]="Off";
1038
1039 if (empty($_GET["fMaxHumidity"]))
1040 $_GET["fMaxHumidity"]="Off";
1041
1042 if (empty($_GET["fBrightnessMed"]))
1043 $_GET["fBrightnessMed"]="Off";
1044
1045 if (empty($_GET["fBrightnessRMS"]))
1046 $_GET["fBrightnessRMS"]="Off";
1047
1048 if (empty($_GET["fNumStarsMed"]))
1049 $_GET["fNumStarsMed"]="Off";
1050
1051 if (empty($_GET["fNumStarsRMS"]))
1052 $_GET["fNumStarsRMS"]="Off";
1053
1054 if (empty($_GET["fNumStarsCorMed"]))
1055 $_GET["fNumStarsCorMed"]="Off";
1056
1057 if (empty($_GET["fNumStarsCorRMS"]))
1058 $_GET["fNumStarsCorRMS"]="Off";
1059
1060 if (empty($_GET["fAvgWindSpeed"]))
1061 $_GET["fAvgWindSpeed"]="Off";
1062
1063 if (empty($_GET["fAvgTemperature"]))
1064 $_GET["fAvgTemperature"]="Off";
1065
1066 if (empty($_GET["fAvgHumidity"]))
1067 $_GET["fAvgHumidity"]="Off";
1068
1069 if (empty($_GET["fAvgTempSky"]))
1070 $_GET["fAvgTempSky"]="Off";
1071
1072 if (empty($_GET["fAvgCloudiness"]))
1073 $_GET["fAvgCloudiness"]="Off";
1074
1075 if (empty($_GET["fRmsCloudiness"]))
1076 $_GET["fRmsCloudiness"]="Off";
1077}
1078
1079function InitCalInfo($first)
1080{
1081 if (empty($_GET["fUnreliableInner"]))
1082 $_GET["fUnreliableInner"]="Off";
1083
1084 if (empty($_GET["fUnsuitableOuter"]))
1085 $_GET["fUnsuitableOuter"]="Off";
1086
1087 if (empty($_GET["fUnreliableOuter"]))
1088 $_GET["fUnreliableOuter"]="Off";
1089
1090 if (empty($_GET["fUnsuitableInner"]))
1091 $_GET["fUnsuitableInner"]="Off";
1092
1093 if (empty($_GET["fUnsuitable50"]))
1094 $_GET["fUnsuitable50"]="Off";
1095
1096 if (empty($_GET["fUnsuitable01"]))
1097 $_GET["fUnsuitable01"]="Off";
1098
1099 if (empty($_GET["fUnsuitableMax"]))
1100 $_GET["fUnsuitableMax"]="Off";
1101
1102 if (empty($_GET["fDeadMax"]))
1103 $_GET["fDeadMax"]="Off";
1104
1105 if (empty($_GET["fRateTrigEvts"]))
1106 $_GET["fRateTrigEvts"]="Off";
1107
1108 if (empty($_GET["fRateSumEvts"]))
1109 $_GET["fRateSumEvts"]="Off";
1110
1111 if (empty($_GET["fRatePedEvts"]))
1112 $_GET["fRatePedEvts"]="Off";
1113
1114 if (empty($_GET["fRatePedTrigEvts"]))
1115 $_GET["fRatePedTrigEvts"]="Off";
1116
1117 if (empty($_GET["fRateCalEvts"]))
1118 $_GET["fRateCalEvts"]="Off";
1119
1120 if (empty($_GET["fRateNullEvts"]))
1121 $_GET["fRateNullEvts"]="Off";
1122
1123 if (empty($_GET["fRateUnknownEvts"]))
1124 $_GET["fRateUnknownEvts"]="Off";
1125
1126 if (empty($_GET["fRatioCalEvents"]))
1127 $_GET["fRatioCalEvents"]="Off";
1128
1129 if (empty($_GET["fPulsePosCalib"]))
1130 $_GET["fPulsePosCalib"]="Off";
1131
1132 if (empty($_GET["fIsolatedInner"]))
1133 $_GET["fIsolatedInner"]="Off";
1134
1135 if (empty($_GET["fIsolatedOuter"]))
1136 $_GET["fIsolatedOuter"]="Off";
1137
1138 if (empty($_GET["fMeanPedRmsInner"]))
1139 $_GET["fMeanPedRmsInner"]="Off";
1140
1141 if (empty($_GET["fMeanPedRmsOuter"]))
1142 $_GET["fMeanPedRmsOuter"]="Off";
1143
1144 if (empty($_GET["fIsolatedMaxCluster"]))
1145 $_GET["fIsolatedMaxCluster"]="Off";
1146
1147 if (empty($_GET["fArrTimeMeanInner"]))
1148 $_GET["fArrTimeMeanInner"]="Off";
1149
1150 if (empty($_GET["fArrTimeMeanOuter"]))
1151 $_GET["fArrTimeMeanOuter"]="Off";
1152
1153 if (empty($_GET["fArrTimeRmsInner"]))
1154 $_GET["fArrTimeRmsInner"]="Off";
1155
1156 if (empty($_GET["fArrTimeRmsOuter"]))
1157 $_GET["fArrTimeRmsOuter"]="Off";
1158
1159 if (empty($_GET["fMeanSignalInner"]))
1160 $_GET["fMeanSignalInner"]=$first?"Off":"";
1161
1162 if (empty($_GET["fMeanSignalOuter"]))
1163 $_GET["fMeanSignalOuter"]=$first?"Off":"";
1164
1165 if (empty($_GET["fPulsePosMean"]))
1166 $_GET["fPulsePosMean"]=$first?"Off":"";
1167
1168 if (empty($_GET["fConvFactorInner"]))
1169 $_GET["fConvFactorInner"]="Off";
1170
1171 if (empty($_GET["fConvFactorOuter"]))
1172 $_GET["fConvFactorOuter"]="Off";
1173}
1174
1175function InitSequInfo($first)
1176{
1177 InitInfo($first);
1178 InitSequStatus($first);
1179 InitFailInfo($first);
1180 InitCalInfo($first);
1181 InitStarInfo($first);
1182
1183 if (empty($_GET["fRunTime/60"]))
1184 $_GET["fRunTime/60"]="Off";
1185
1186 if (empty($_GET["fSequenceLast"]))
1187 $_GET["fSequenceLast"]="Off";
1188
1189 if (empty($_GET["fAzimuthMin"]))
1190 $_GET["fAzimuthMin"]="Off";
1191
1192 if (empty($_GET["fAzimuthMax"]))
1193 $_GET["fAzimuthMax"]="Off";
1194
1195 if (empty($_GET["fZenithDistanceMin"]))
1196 $_GET["fZenithDistanceMin"]="Off";
1197
1198 if (empty($_GET["fZenithDistanceMax"]))
1199 $_GET["fZenithDistanceMax"]="Off";
1200
1201 if (empty($_GET["fObservationModeName"]))
1202 $_GET["fObservationModeName"]="Off";
1203
1204 if (empty($_GET["fSumTriggerFlagName"]))
1205 $_GET["fSumTriggerFlagName"]="Off";
1206
1207 if (empty($_GET["fOnlySum"]))
1208 $_GET["fOnlySum"]="Off";
1209
1210// if (empty($_GET["fManuallyChangedName"]))
1211// $_GET["fManuallyChangedName"]="Off";
1212}
1213
1214function InitDataSetStatus($first)
1215{
1216 if (empty($_GET["fDataSetInserted"]))
1217 $_GET["fDataSetInserted"]="Off";
1218
1219 if (empty($_GET["fDataSetInsertedStatus"]))
1220 $_GET["fDataSetInsertedStatus"]="0";
1221
1222 if (empty($_GET["fDataSetFileWritten"]))
1223 $_GET["fDataSetFileWritten"]=$first?"On":"";
1224
1225 if (empty($_GET["fDataSetFileWrittenStatus"]))
1226 $_GET["fDataSetFileWrittenStatus"]="0";
1227
1228 if (empty($_GET["fStarFilesAvail"]))
1229 $_GET["fStarFilesAvail"]="Off";
1230
1231 if (empty($_GET["fStarFilesAvailStatus"]))
1232 $_GET["fStarFilesAvailStatus"]="0";
1233
1234 if (empty($_GET["fGanymed"]))
1235 $_GET["fGanymed"]=$first?"On":"";
1236
1237 if (empty($_GET["fGanymedStatus"]))
1238 $_GET["fGanymedStatus"]="0";
1239
1240 if (empty($_GET["fFillGanymed"]))
1241 $_GET["fFillGanymed"]="Off";
1242
1243 if (empty($_GET["fFillGanymedStatus"]))
1244 $_GET["fFillGanymedStatus"]="0";
1245}
1246
1247function InitDataSetInfo($first)
1248{
1249 InitDataSetStatus($first);
1250 InitFailInfo($first);
1251
1252 if (empty($_GET["fNumResults"]))
1253 $_GET["fNumResults"]="50";
1254
1255 if (empty($_GET["fLinks"]))
1256 $_GET["fLinks"]=$first?"On":"";
1257
1258 if (empty($_GET["fExcessEvents"]))
1259 $_GET["fExcessEvents"]=$first?"On":"";
1260
1261 if (empty($_GET["fBackgroundEvents*60/fEffOnTime"]))
1262 $_GET["fBackgroundEvents*60/fEffOnTime"]=$first?"On":"";
1263
1264 if (empty($_GET["fBackgroundEvents"]))
1265 $_GET["fBackgroundEvents"]=$first?"On":"";
1266
1267 if (empty($_GET["fSignalEvents"]))
1268 $_GET["fSignalEvents"]=$first?"On":"";
1269
1270 if (empty($_GET["fSignificance"]))
1271 $_GET["fSignificance"]=$first?"On":"";
1272
1273 if (empty($_GET["fScaleFactor"]))
1274 $_GET["fScaleFactor"]=$first?"On":"";
1275
1276 if (empty($_GET["fEffOnTime/3600"]))
1277 $_GET["fEffOnTime/3600"]=$first?"On":"";
1278
1279 if (empty($_GET["fSourceName"]))
1280 $_GET["fSourceName"]=$first?"On":"";
1281
1282 if (empty($_GET["fObservationModeName"]))
1283 $_GET["fObservationModeName"]=$first?"On":"";
1284
1285 if (empty($_GET["fComment"]))
1286 $_GET["fComment"]="Off";
1287
1288 if (empty($_GET["fUserName"]))
1289 $_GET["fUserName"]="Off";
1290
1291 if (empty($_GET["fRunStart"]))
1292 $_GET["fRunStart"]="Off";
1293
1294 if (empty($_GET["fRunStop"]))
1295 $_GET["fRunStop"]="Off";
1296
1297 if (empty($_GET["fZenithDistanceMin"]))
1298 $_GET["fZenithDistanceMin"]=$first?"On":"";
1299
1300 if (empty($_GET["fZenithDistanceMax"]))
1301 $_GET["fZenithDistanceMax"]=$first?"On":"";
1302
1303 if (empty($_GET["fRunTime"]))
1304 $_GET["fRunTime"]="Off";
1305
1306 if (empty($_GET["fDataSetName"]))
1307 $_GET["fDataSetName"]=$first?"On":"";
1308
1309 if (empty($_GET["fExcessEvents*60/fEffOnTime"]))
1310 $_GET["fExcessEvents*60/fEffOnTime"]="Off";
1311
1312 if (empty($_GET["fSignalEvents*60/fEffOnTime"]))
1313 $_GET["fSignalEvents*60/fEffOnTime"]="Off";
1314
1315 if (empty($_GET["Round(fSignificance/Sqrt(fEffOnTime/3600),2)"]))
1316 $_GET["Round(fSignificance/Sqrt(fEffOnTime/3600),2)"]="Off";
1317
1318}
1319
1320function InitFindOffData($first)
1321{
1322 InitSequInfo($first);
1323
1324 //init for limits
1325
1326 if (empty($_GET["fArrTimeLimitMean"]))
1327 $_GET["fArrTimeLimitMean"]="";
1328
1329 if (empty($_GET["fArrTimeLimitRms"]))
1330 $_GET["fArrTimeLimitRms"]="";
1331
1332 if (empty($_GET["fSkyBrightLimitMean"]))
1333 $_GET["fSkyBrightLimitMean"]="";
1334
1335 if (empty($_GET["fSkyBrightLimitRms"]))
1336 $_GET["fSkyBrightLimitRms"]="";
1337
1338 if (empty($_GET["fMaxHumLimit1"]))
1339 $_GET["fMaxHumLimit1"]="";
1340
1341 if (empty($_GET["fMaxHumLimit2"]))
1342 $_GET["fMaxHumLimit2"]="";
1343
1344 if (empty($_GET["fCloudinessLimit1"]))
1345 $_GET["fCloudinessLimit1"]="40";
1346
1347 if (empty($_GET["fCloudinessLimit2"]))
1348 $_GET["fCloudinessLimit2"]="50";
1349
1350 //values that differ for different data
1351 if (empty($_GET["fPSFLimitMean"]))
1352 $_GET["fPSFLimitMean"]="";
1353
1354 if (empty($_GET["fPedRmsInLimitMean"]))
1355 $_GET["fPedRmsInLimitMean"]="";
1356
1357 if (empty($_GET["fZdMinLimit1"]))
1358 $_GET["fZdMinLimit1"]="";
1359
1360 if (empty($_GET["fZdMinLimit2"]))
1361 $_GET["fZdMinLimit2"]="";
1362
1363 if (empty($_GET["fZdMaxLimit1"]))
1364 $_GET["fZdMaxLimit1"]="";
1365
1366 if (empty($_GET["fZdMaxLimit2"]))
1367 $_GET["fZdMaxLimit2"]="";
1368
1369 // values taken from distribution or from experience
1370 if (empty($_GET["fUnsInLimit1"]))
1371 $_GET["fUnsInLimit1"]=$first?"12":"";
1372
1373 if (empty($_GET["fUnsInLimit2"]))
1374 $_GET["fUnsInLimit2"]=$first?"20":"";
1375
1376 if (empty($_GET["fRunTimeLimit1"]))
1377 $_GET["fRunTimeLimit1"]=$first?"5":"";
1378
1379 if (empty($_GET["fRunTimeLimit2"]))
1380 $_GET["fRunTimeLimit2"]=$first?"2":"";
1381
1382 if (empty($_GET["fPSFLimitRms"]))
1383 $_GET["fPSFLimitRms"]=$first?"1.0":"";
1384
1385 if (empty($_GET["fPedRmsInLimitRms"]))
1386 $_GET["fPedRmsInLimitRms"]=$first?"0.08":"";
1387
1388 if (empty($_GET["fNumIslLimitMean"]))
1389 $_GET["fNumIslLimitMean"]=$first?"1.230":"";
1390
1391 if (empty($_GET["fNumIslLimitRms"]))
1392 $_GET["fNumIslLimitRms"]=$first?"0.013":"";
1393
1394 if (empty($_GET["fMuonCalLimitMean"]))
1395 $_GET["fMuonCalLimitMean"]=$first?"100.0":"";
1396
1397 if (empty($_GET["fMuonCalLimitRms"]))
1398 $_GET["fMuonCalLimitRms"]=$first?"1.6":"";
1399
1400 if (empty($_GET["fRelTimeMaxLimit1"]))
1401 $_GET["fRelTimeMaxLimit1"]=$first?"1.0":"";
1402
1403 if (empty($_GET["fRelTimeMaxLimit2"]))
1404 $_GET["fRelTimeMaxLimit2"]=$first?"1.02":"";
1405
1406 if (empty($_GET["fRelTimeMinLimit1"]))
1407 $_GET["fRelTimeMinLimit1"]=$first?"0.97":"";
1408
1409 if (empty($_GET["fRelTimeMinLimit2"]))
1410 $_GET["fRelTimeMinLimit2"]=$first?"0.93":"";
1411
1412 if (empty($_GET["fIMCLimit1"]))
1413 $_GET["fIMCLimit1"]=$first?"00":"";
1414
1415 if (empty($_GET["fIMCLimit2"]))
1416 $_GET["fIMCLimit2"]=$first?"00":"";
1417
1418 if (empty($_GET["fIsoInLimit1"]))
1419 $_GET["fIsoInLimit1"]=$first?"00":"";
1420
1421 if (empty($_GET["fIsoInLimit2"]))
1422 $_GET["fIsoInLimit2"]=$first?"00":"";
1423
1424 if (empty($_GET["fInhomLimitMean"]))
1425 $_GET["fInhomLimitMean"]=$first?"10":"";
1426
1427 if (empty($_GET["fInhomLimitRms"]))
1428 $_GET["fInhomLimitRms"]=$first?"3":"";
1429
1430 if (empty($_GET["fImgRateLimitMean"]))
1431 $_GET["fImgRateLimitMean"]=$first?"180":"";
1432
1433 if (empty($_GET["fImgRateLimitRms"]))
1434 $_GET["fImgRateLimitRms"]=$first?"30":"";
1435
1436 if (empty($_GET["fMuonRateLimitMean"]))
1437 $_GET["fMuonRateLimitMean"]=$first?"1":"";
1438
1439 if (empty($_GET["fMuonRateLimitRms"]))
1440 $_GET["fMuonRateLimitRms"]=$first?"0.1":"";
1441
1442 if (empty($_GET["fMuonNumLimit1"]))
1443 $_GET["fMuonNumLimit1"]=$first?"180":"";
1444
1445 if (empty($_GET["fMuonNumLimit2"]))
1446 $_GET["fMuonNumLimit2"]=$first?"120":"";
1447
1448 if (empty($_GET["fPulsePosLimit1"]))
1449 $_GET["fPulsePosLimit1"]=$first?"3.5":"";
1450
1451 if (empty($_GET["fPulsePosLimit2"]))
1452 $_GET["fPulsePosLimit2"]=$first?"2.5":"";
1453
1454 if (empty($_GET["fNumStarsLimit1"]))
1455 $_GET["fNumStarsLimit1"]=$first?"30":"";
1456
1457 if (empty($_GET["fNumStarsLimit2"]))
1458 $_GET["fNumStarsLimit2"]=$first?"20":"";
1459
1460 if (empty($_GET["fNumStarsCorLimit1"]))
1461 $_GET["fNumStarsCorLimit1"]=$first?"10":"";
1462
1463 if (empty($_GET["fNumStarsCorLimit2"]))
1464 $_GET["fNumStarsCorLimit2"]=$first?"5":"";
1465
1466}
1467
1468function InitBuildDataSets($first)
1469{
1470 if (empty($_GET["fNumResults"]))
1471// $_GET["fNumResults"]="50";
1472 $_GET["fNumResults"]="10";
1473
1474 if (empty($_GET["fRunStart"]))
1475 $_GET["fRunStart"]=$first?"On":"";
1476
1477 if (empty($_GET["fRunTime/60"]))
1478 $_GET["fRunTime/60"]=$first?"On":"";
1479
1480 if (empty($_GET["fZenithDistanceMin"]))
1481 $_GET["fZenithDistanceMin"]=$first?"On":"";
1482
1483 if (empty($_GET["fZenithDistanceMax"]))
1484 $_GET["fZenithDistanceMax"]=$first?"On":"";
1485
1486 if (empty($_GET["fSourceName"]))
1487 $_GET["fSourceName"]=$first?"On":"";
1488
1489 if (empty($_GET["fObservationModeName"]))
1490 $_GET["fObservationModeName"]=$first?"On":"";
1491
1492 if (empty($_GET["fUnsuitableInner"]))
1493 $_GET["fUnsuitableInner"]=$first?"On":"";
1494
1495 if (empty($_GET["fUnreliableInner"]))
1496 $_GET["fUnreliableInner"]=$first?"On":"";
1497
1498 if (empty($_GET["fIsolatedInner"]))
1499 $_GET["fIsolatedInner"]=$first?"On":"";
1500
1501 if (empty($_GET["fIsolatedMaxCluster"]))
1502 $_GET["fIsolatedMaxCluster"]=$first?"On":"";
1503
1504 if (empty($_GET["fArrTimeRmsInner"]))
1505 $_GET["fArrTimeRmsInner"]=$first?"On":"";
1506
1507 if (empty($_GET["fMeanPedRmsInner"]))
1508 $_GET["fMeanPedRmsInner"]=$first?"On":"";
1509
1510 if (empty($_GET["fPulsePosMean"]))
1511 $_GET["fPulsePosMean"]=$first?"On":"";
1512
1513 if (empty($_GET["fConvFactorInner"]))
1514 $_GET["fConvFactorInner"]=$first?"On":"";
1515
1516 if (empty($_GET["fInhomogeneity"]))
1517 $_GET["fInhomogeneity"]=$first?"On":"";
1518
1519 if (empty($_GET["fPSF"]))
1520 $_GET["fPSF"]=$first?"On":"";
1521
1522 if (empty($_GET["fMuonNumber"]))
1523 $_GET["fMuonNumber"]=$first?"On":"";
1524
1525 if (empty($_GET["fEffOnTime/fRunTime"]))
1526 $_GET["fEffOnTime/fRunTime"]=$first?"On":"";
1527
1528 if (empty($_GET["fMuonRate"]))
1529 $_GET["fMuonRate"]=$first?"On":"";
1530
1531 if (empty($_GET["fDataRate"]))
1532 $_GET["fDataRate"]=$first?"On":"";
1533
1534 if (empty($_GET["fAvgCloudiness"]))
1535 $_GET["fAvgCloudiness"]=$first?"On":"";
1536
1537 if (empty($_GET["fNumStarsMed"]))
1538 $_GET["fNumStarsMed"]=$first?"On":"";
1539
1540 if (empty($_GET["fNumStarsCorMed"]))
1541 $_GET["fNumStarsCorMed"]=$first?"On":"";
1542
1543 if (empty($_GET["fOff"]))
1544 $_GET["fOff"]=$first?"On":"";
1545
1546 if (empty($_GET["fLinks"]))
1547 $_GET["fLinks"]=$first?"On":"";
1548
1549 if (empty($_GET["fOnlyOff"]))
1550 $_GET["fOnlyOff"]=$first?"Off":"";
1551
1552 InitFindOffData($first);
1553}
1554
1555// cta mc stuff
1556function InitCTAMCRunStatus($first)
1557{
1558 if (empty($_GET["fCorsikaSimTelarray"]))
1559 $_GET["fCorsikaSimTelarray"]="On";
1560
1561 if (empty($_GET["fCorsikaSimTelarrayStatus"]))
1562 $_GET["fCorsikaSimTelarrayStatus"]="0";
1563
1564 if (empty($_GET["fChimp"]))
1565 $_GET["fChimp"]="Off";
1566
1567 if (empty($_GET["fChimpStatus"]))
1568 $_GET["fChimpStatus"]="0";
1569
1570 if (empty($_GET["fCTAStar"]))
1571 $_GET["fCTAStar"]="Off";
1572
1573 if (empty($_GET["fCTAStarStatus"]))
1574 $_GET["fCTAStarStatus"]="0";
1575
1576 if (empty($_GET["fStereoB"]))
1577 $_GET["fStereoB"]="Off";
1578
1579 if (empty($_GET["fStereoBStatus"]))
1580 $_GET["fStereoBStatus"]="0";
1581
1582 if (empty($_GET["fStereoC"]))
1583 $_GET["fStereoC"]="Off";
1584
1585 if (empty($_GET["fStereoCStatus"]))
1586 $_GET["fStereoCStatus"]="0";
1587
1588 if (empty($_GET["fStereoG"]))
1589 $_GET["fStereoG"]="Off";
1590
1591 if (empty($_GET["fStereoGStatus"]))
1592 $_GET["fStereoGStatus"]="0";
1593
1594}
1595
1596function InitCTAMCRunInfo($first)
1597{
1598 if (empty($_GET["fNumResults"]))
1599 $_GET["fNumResults"]="50";
1600
1601 InitCTAMCRunStatus($first);
1602 InitInfo($first);
1603 InitFailInfo($first);
1604
1605 if (empty($_GET["fNumEvents"]))
1606 $_GET["fNumEvents"]="On";
1607
1608 if (empty($_GET["fParticleTypeName"]))
1609 $_GET["fParticleTypeName"]="On";
1610
1611 if (empty($_GET["fNumEvents"]))
1612 $_GET["fNumEvents"]=$first?"On":"";
1613
1614}
1615
1616//other MC stuff
1617function InitMCRunStatus($_GET, $first)
1618{
1619 if (empty($_GET["fCorsikaFileAvail"]))
1620 $_GET["fCorsikaFileAvail"]="On";
1621
1622 if (empty($_GET["fCorsikaFileAvailStatus"]))
1623 $_GET["fCorsikaFileAvailStatus"]="0";
1624
1625 if (empty($_GET["fCorsikaInputCreated"]))
1626 $_GET["fCorsikaInputCreated"]="Off";
1627
1628 if (empty($_GET["fCorsikaInputCreatedStatus"]))
1629 $_GET["fCorsikaInputCreatedStatus"]="0";
1630
1631}
1632
1633function InitMCRunInfo($_GET, $first)
1634{
1635 if (empty($_GET["fNumResults"]))
1636 $_GET["fNumResults"]="50";
1637
1638 if (empty($_GET["fNumEvents"]))
1639 $_GET["fNumEvents"]="On";
1640
1641 InitMCRunStatus($_GET, $first);
1642 InitInfo($_GET, $first);
1643 InitFailInfo($_GET, $first);
1644
1645 if (empty($_GET["fParticleTypeName"]))
1646 $_GET["fParticleTypeName"]="On";
1647
1648 if (empty($_GET["fAtmosphericModelName"]))
1649 $_GET["fAtmosphericModelName"]="Off";
1650
1651 if (empty($_GET["fNumEvents"]))
1652 $_GET["fNumEvents"]=$first?"On":"";
1653
1654 if (empty($_GET["fZenithDistanceMin"]))
1655 $_GET["fZenithDistanceMin"]="On";
1656
1657 if (empty($_GET["fZenithDistanceMax"]))
1658 $_GET["fZenithDistanceMax"]="On";
1659
1660 if (empty($_GET["fAzimuthMin"]))
1661 $_GET["fAzimuthMin"]="On";
1662
1663 if (empty($_GET["fAzimuthMax"]))
1664 $_GET["fAzimuthMax"]="On";
1665
1666 if (empty($_GET["fEnergyMin"]))
1667 $_GET["fEnergyMin"]="On";
1668
1669 if (empty($_GET["fEnergyMax"]))
1670 $_GET["fEnergyMax"]="On";
1671
1672 if (empty($_GET["fImpactMax"]))
1673 $_GET["fImpactMax"]="On";
1674
1675 if (empty($_GET["fViewConeMax"]))
1676 $_GET["fViewConeMax"]="On";
1677
1678 if (empty($_GET["fEnergySlope"]))
1679 $_GET["fEnergySlope"]="On";
1680
1681 if (empty($_GET["fNumReUseShower"]))
1682 $_GET["fNumReUseShower"]="Off";
1683
1684 if (empty($_GET["fStartingAltitude"]))
1685 $_GET["fStartingAltitude"]="On";
1686
1687 if (empty($_GET["fMirrorDiameter"]))
1688 $_GET["fMirrorDiameter"]="On";
1689
1690}
1691
1692
1693?>
Note: See TracBrowser for help on using the repository browser.