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