| 1 | <?php
|
|---|
| 2 |
|
|---|
| 3 | //MC stuff
|
|---|
| 4 | function 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 |
|
|---|
| 45 | function 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
|
|---|
| 61 | function 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 |
|
|---|
| 78 | function 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
|
|---|
| 104 | function 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 |
|
|---|
| 142 | function 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 |
|
|---|
| 167 | function 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 |
|
|---|
| 215 | function 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 |
|
|---|
| 251 | function 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 |
|
|---|
| 295 | function 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 |
|
|---|
| 365 | function 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 |
|
|---|
| 386 | function 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 |
|
|---|
| 402 | function 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 |
|
|---|
| 465 | function 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 |
|
|---|
| 518 | function 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 |
|
|---|
| 557 | function 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 |
|
|---|
| 571 | function 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 |
|
|---|
| 592 | function 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 from <input name=\"fRunMin\" type=\"text\" size=\"8\" maxlength=\"8\" value=\"%s\">\n", $min);
|
|---|
| 605 | printf("to <input name=\"fRunMax\" type=\"text\" size=\"8\" maxlength=\"8\" value=\"%s\"> \n", $max);
|
|---|
| 606 | }
|
|---|
| 607 |
|
|---|
| 608 | function 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 from <input name=\"fRunMin\" type=\"text\" size=\"8\" maxlength=\"8\" value=\"%s\">\n", $min);
|
|---|
| 621 | printf("to <input name=\"fRunMax\" type=\"text\" size=\"8\" maxlength=\"8\" value=\"%s\"> \n", $max);
|
|---|
| 622 | }
|
|---|
| 623 |
|
|---|
| 624 | function PrintSequRangeMenu($host,$user,$pw,$db)
|
|---|
| 625 | {
|
|---|
| 626 | if (empty($_GET["fRunMin"]))
|
|---|
| 627 | $min = GetMin("fSequenceFirst", "Sequences", $host, $user, $pw, $db);
|
|---|
| 628 | else
|
|---|
| 629 | $min = $_GET["fRunMin"];
|
|---|
| 630 |
|
|---|
| 631 | if (empty($_GET["fRunMax"]))
|
|---|
| 632 | $max = GetMax("fSequenceFirst", "Sequences", $host, $user, $pw, $db);
|
|---|
| 633 | else
|
|---|
| 634 | $max = $_GET["fRunMax"];
|
|---|
| 635 |
|
|---|
| 636 | printf("Sequences from <input name=\"fRunMin\" type=\"text\" size=\"8\" maxlength=\"8\" value=\"%s\">\n", $min);
|
|---|
| 637 | printf("to <input name=\"fRunMax\" type=\"text\" size=\"8\" maxlength=\"8\" value=\"%s\"> \n", $max);
|
|---|
| 638 | }
|
|---|
| 639 |
|
|---|
| 640 | function PrintDataSetRangeMenu($host,$user,$pw,$db)
|
|---|
| 641 | {
|
|---|
| 642 | if (empty($_GET["fRunMin"]))
|
|---|
| 643 | $min = GetMin("fDataSetNumber", "DataSets", $host, $user, $pw, $db);
|
|---|
| 644 | else
|
|---|
| 645 | $min = $_GET["fRunMin"];
|
|---|
| 646 |
|
|---|
| 647 | if (empty($_GET["fRunMax"]))
|
|---|
| 648 | $max = GetMax("fDataSetNumber", "DataSets", $host, $user, $pw, $db);
|
|---|
| 649 | else
|
|---|
| 650 | $max = $_GET["fRunMax"];
|
|---|
| 651 |
|
|---|
| 652 | printf("DataSets from <input name=\"fRunMin\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\">\n", $min);
|
|---|
| 653 | printf("to <input name=\"fRunMax\" type=\"text\" size=\"6\" maxlength=\"6\" value=\"%s\"> \n", $max);
|
|---|
| 654 | }
|
|---|
| 655 |
|
|---|
| 656 | function PrintZdRangeMenu($host,$user,$pw,$db)
|
|---|
| 657 | {
|
|---|
| 658 | if (empty($_GET["fZDMin"]))
|
|---|
| 659 | $zdmin = GetMin("fZenithDistanceMin", "Sequences", $host, $user, $pw, $db);
|
|---|
| 660 | else
|
|---|
| 661 | $zdmin = $_GET["fZDMin"];
|
|---|
| 662 |
|
|---|
| 663 | if (empty($_GET["fZDMax"]))
|
|---|
| 664 | $zdmax = GetMax("fZenithDistanceMax", "Sequences", $host, $user, $pw, $db);
|
|---|
| 665 | else
|
|---|
| 666 | $zdmax = $_GET["fZDMax"];
|
|---|
| 667 |
|
|---|
| 668 | printf("ZenithDistance from <input name=\"fZDMin\" type=\"text\" size=\"2\" maxlength=\"2\" value=\"%s\">\n", $zdmin);
|
|---|
| 669 | printf("to <input name=\"fZDMax\" type=\"text\" size=\"2\" maxlength=\"2\" value=\"%s\"> \n", $zdmax);
|
|---|
| 670 | }
|
|---|
| 671 |
|
|---|
| 672 | function PrintNightRangeMenu($host,$user,$pw,$db, $table)
|
|---|
| 673 | {
|
|---|
| 674 | if (empty($_GET["fStartDate"]))
|
|---|
| 675 | $timemin = GetMin("Date_Format(fRunStart, '%Y-%m-%d')", $table, $host, $user, $pw, $db);
|
|---|
| 676 | else
|
|---|
| 677 | $timemin = $_GET["fStartDate"];
|
|---|
| 678 |
|
|---|
| 679 | if (empty($_GET["fStopDate"]))
|
|---|
| 680 | $timemax = GetMaxDate("Date_Format(fRunStart, '%Y-%m-%d')", $table, $host, $user, $pw, $db);
|
|---|
| 681 | else
|
|---|
| 682 | $timemax = $_GET["fStopDate"];
|
|---|
| 683 |
|
|---|
| 684 | printf("Night (yyyy-mm-dd) from <input name=\"fStartDate\" type=\"text\" size=\"10\" maxlength=\"10\" value=\"%s\">\n", $timemin);
|
|---|
| 685 | printf("to <input name=\"fStopDate\" type=\"text\" size=\"10\" maxlength=\"10\" value=\"%s\"> \n", $timemax);
|
|---|
| 686 | }
|
|---|
| 687 |
|
|---|
| 688 | function PrintStarRangeMenu($host,$user,$pw,$db)
|
|---|
| 689 | {
|
|---|
| 690 | if (empty($_GET["fStarStart"]))
|
|---|
| 691 | $starmin = GetMin("fStar", "SequenceProcessStatus", $host, $user, $pw, $db);
|
|---|
| 692 | else
|
|---|
| 693 | $starmin = $_GET["fStarStart"];
|
|---|
| 694 |
|
|---|
| 695 | if (empty($_GET["fStarStop"]))
|
|---|
| 696 | $starmax = GetMax("fStar", "SequenceProcessStatus", $host, $user, $pw, $db);
|
|---|
| 697 | else
|
|---|
| 698 | $starmax = $_GET["fStarStop"];
|
|---|
| 699 |
|
|---|
| 700 | printf("<p>StarDone (yyyy-mm-dd) from <input name=\"fStarStart\" type=\"text\" size=\"10\" maxlength=\"10\" value=\"%s\">\n", $starmin);
|
|---|
| 701 | printf("to <input name=\"fStarStop\" type=\"text\" size=\"10\" maxlength=\"10\" value=\"%s\"> \n", $starmax);
|
|---|
| 702 | }
|
|---|
| 703 |
|
|---|
| 704 | function PrintGroupByDateMenu()
|
|---|
| 705 | {
|
|---|
| 706 | printf("Group by Date ");
|
|---|
| 707 | printf("<select name='fGroupByDate' size='1' class='Width'>\n");
|
|---|
| 708 | if (empty($_GET["fGroupByDate"]) || $_GET["fGroupByDate"]==0)
|
|---|
| 709 | printf(" <option value='0' selected>--- NO GROUP BY ---</option>\n");
|
|---|
| 710 | else
|
|---|
| 711 | printf(" <option value='0'>--- NO GROUP BY ---</option>\n");
|
|---|
| 712 | $dates=array("Year", "Month","Night");
|
|---|
| 713 | foreach ($dates as $date)
|
|---|
| 714 | {
|
|---|
| 715 | if ($_GET["fGroupByDate"]==$date)
|
|---|
| 716 | printf(" <option value='%s' selected> %s </option>\n", $date, $date);
|
|---|
| 717 | else
|
|---|
| 718 | printf(" <option value='%s'> %s </option>\n", $date, $date);
|
|---|
| 719 | }
|
|---|
| 720 | printf(" </select>\n");
|
|---|
| 721 | }
|
|---|
| 722 |
|
|---|
| 723 | function PrintSourceMenu($host,$user,$pw,$db)
|
|---|
| 724 | {
|
|---|
| 725 | printf("Source (<A HREF=\"regexp.html\">regexp</A>) <input name=\"fSourceN\" type=\"text\" size=\"15\" maxlength=\"15\" value=\"");
|
|---|
| 726 | if (!empty($_GET["fSourceN"]))
|
|---|
| 727 | printf("%s", $_GET["fSourceN"]);
|
|---|
| 728 | printf("\"> \n");
|
|---|
| 729 | }
|
|---|
| 730 | function PrintSequMenu($host,$user,$pw,$db)
|
|---|
| 731 | {
|
|---|
| 732 | printf("Sequ# <input name=\"fSequenceNo\" type=\"text\" size=\"8\" maxlength=\"8\" value=\"");
|
|---|
| 733 | if (!empty($_GET["fSequenceNo"]))
|
|---|
| 734 | printf("%s", $_GET["fSequenceNo"]);
|
|---|
| 735 | printf("\"> \n");
|
|---|
| 736 | }
|
|---|
| 737 |
|
|---|
| 738 | function PrintNumResPullDown()
|
|---|
| 739 | {
|
|---|
| 740 | printf(" Results:\n");
|
|---|
| 741 | printf(" <select name=\"fNumResults\">\n");
|
|---|
| 742 |
|
|---|
| 743 | $numres = array("10", "20", "50", "100", "200", "500", "1000", "2000");
|
|---|
| 744 | foreach ($numres as $element)
|
|---|
| 745 | {
|
|---|
| 746 | if ($element==$_GET["fNumResults"])
|
|---|
| 747 | printf("<option value=\"%s\" selected>%3s</option>\n", $element, $element);
|
|---|
| 748 | else
|
|---|
| 749 | printf("<option value=\"%s\">%3s</option>\n", $element, $element);
|
|---|
| 750 | }
|
|---|
| 751 | printf(" </select>\n");
|
|---|
| 752 | printf(" \n");
|
|---|
| 753 | }
|
|---|
| 754 |
|
|---|
| 755 | function PrintButtons($page)
|
|---|
| 756 | {
|
|---|
| 757 | printf("<input class='Width' type='submit' value='Query Table'> \n");
|
|---|
| 758 | printf("<input class='Width' type='button' value='Reset' onClick='self.location.href=\"%s\"'> \n", $page);
|
|---|
| 759 | // printf("<p>");
|
|---|
| 760 | if (strchr($_SERVER["REQUEST_URI"], '?')!=FALSE)
|
|---|
| 761 | {
|
|---|
| 762 | printf("<input class='Width' type='button' value='Get .txt' onClick='self.location.href=\"%s&fSendTxt=1\"'> \n", htmlspecialchars($_SERVER["REQUEST_URI"]));
|
|---|
| 763 | printf("<input class='Width' type='button' value='Print' onClick='self.location.href=\"%s&fPrintTable=1\"'> \n", htmlspecialchars($_SERVER["REQUEST_URI"]));
|
|---|
| 764 | printf("MySqlQuery: <img id='showquerybutton' src='../plus.png' alt='+' onClick='showhide(\"showquery\")'>\n");
|
|---|
| 765 | }
|
|---|
| 766 | }
|
|---|
| 767 |
|
|---|
| 768 | function InitFailInfo($_GET, $first)
|
|---|
| 769 | {
|
|---|
| 770 | if (empty($_GET["fStartTime"]))
|
|---|
| 771 | $_GET["fStartTime"]="Off";
|
|---|
| 772 |
|
|---|
| 773 | if (empty($_GET["fFailedTime"]))
|
|---|
| 774 | $_GET["fFailedTime"]="Off";
|
|---|
| 775 |
|
|---|
| 776 | if (empty($_GET["fReturnCode"]))
|
|---|
| 777 | $_GET["fReturnCode"]="Off";
|
|---|
| 778 |
|
|---|
| 779 | if (empty($_GET["fProgramId"]))
|
|---|
| 780 | $_GET["fProgramId"]="Off";
|
|---|
| 781 | }
|
|---|
| 782 |
|
|---|
| 783 | function InitInfo($_GET, $first)
|
|---|
| 784 | {
|
|---|
| 785 | if (empty($_GET["fNumResults"]))
|
|---|
| 786 | $_GET["fNumResults"]="20";
|
|---|
| 787 |
|
|---|
| 788 | if (empty($_GET["fNumEvents"]))
|
|---|
| 789 | $_GET["fNumEvents"]="Off";
|
|---|
| 790 |
|
|---|
| 791 | if (empty($_GET["fRunStart"]))
|
|---|
| 792 | $_GET["fRunStart"]="Off";
|
|---|
| 793 |
|
|---|
| 794 | if (empty($_GET["fRunStop"]))
|
|---|
| 795 | $_GET["fRunStop"]="Off";
|
|---|
| 796 |
|
|---|
| 797 | if (empty($_GET["fTest"]))
|
|---|
| 798 | $_GET["fTest"]="Off";
|
|---|
| 799 |
|
|---|
| 800 | if (empty($_GET["fSourceName"]))
|
|---|
| 801 | $_GET["fSourceName"]="Off";
|
|---|
| 802 |
|
|---|
| 803 | if (empty($_GET["fProjectName"]))
|
|---|
| 804 | $_GET["fProjectName"]="Off";
|
|---|
| 805 |
|
|---|
| 806 | if (empty($_GET["fL1TriggerTableName"]))
|
|---|
| 807 | $_GET["fL1TriggerTableName"]="Off";
|
|---|
| 808 |
|
|---|
| 809 | if (empty($_GET["fL2TriggerTableName"]))
|
|---|
| 810 | $_GET["fL2TriggerTableName"]="Off";
|
|---|
| 811 |
|
|---|
| 812 | if (empty($_GET["fL3TriggerTableName"]))
|
|---|
| 813 | $_GET["fL3TriggerTableName"]="Off";
|
|---|
| 814 |
|
|---|
| 815 | if (empty($_GET["fHvSettingsName"]))
|
|---|
| 816 | $_GET["fHvSettingsName"]="Off";
|
|---|
| 817 |
|
|---|
| 818 | if (empty($_GET["fDiscriminatorThresholdTableName"]))
|
|---|
| 819 | $_GET["fDiscriminatorThresholdTableName"]="Off";
|
|---|
| 820 |
|
|---|
| 821 | if (empty($_GET["fTriggerDelayTableName"]))
|
|---|
| 822 | $_GET["fTriggerDelayTableName"]="Off";
|
|---|
| 823 |
|
|---|
| 824 | if (empty($_GET["fLightConditionsName"]))
|
|---|
| 825 | $_GET["fLightConditionsName"]="Off";
|
|---|
| 826 |
|
|---|
| 827 | if (empty($_GET["fTestFlagName"]))
|
|---|
| 828 | $_GET["fTestFlagName"]="Off";
|
|---|
| 829 |
|
|---|
| 830 | if (empty($_GET["fCycleName"]))
|
|---|
| 831 | $_GET["fCycleName"]="Off";
|
|---|
| 832 |
|
|---|
| 833 | if (empty($_GET["fPIName"]))
|
|---|
| 834 | $_GET["fPIName"]="Off";
|
|---|
| 835 |
|
|---|
| 836 | if (empty($_GET["fWorkingGroupName"]))
|
|---|
| 837 | $_GET["fWorkingGroupName"]="Off";
|
|---|
| 838 |
|
|---|
| 839 | if (empty($_GET["fProposalName"]))
|
|---|
| 840 | $_GET["fPropsalName"]="Off";
|
|---|
| 841 | }
|
|---|
| 842 |
|
|---|
| 843 | function InitRunStatus($_GET, $first)
|
|---|
| 844 | {
|
|---|
| 845 | if (empty($_GET["fDataCheckDone"]))
|
|---|
| 846 | $_GET["fDataCheckDone"]="Off";
|
|---|
| 847 |
|
|---|
| 848 | if (empty($_GET["fDataCheckDoneStatus"]))
|
|---|
| 849 | $_GET["fDataCheckDoneStatus"]="0";
|
|---|
| 850 |
|
|---|
| 851 | if (empty($_GET["fCCFileAvail"]))
|
|---|
| 852 | $_GET["fCCFileAvail"]="Off";
|
|---|
| 853 |
|
|---|
| 854 | if (empty($_GET["fCCFileAvailStatus"]))
|
|---|
| 855 | $_GET["fCCFileAvailStatus"]="0";
|
|---|
| 856 |
|
|---|
| 857 | if (empty($_GET["fCaCoFileAvail"]))
|
|---|
| 858 | $_GET["fCaCoFileAvail"]=$first?"On":"";
|
|---|
| 859 |
|
|---|
| 860 | if (empty($_GET["fCaCoFileAvailStatus"]))
|
|---|
| 861 | $_GET["fCaCoFileAvailStatus"]="0";
|
|---|
| 862 |
|
|---|
| 863 | if (empty($_GET["fCaCoFileFound"]))
|
|---|
| 864 | $_GET["fCaCoFileFound"]="Off";
|
|---|
| 865 |
|
|---|
| 866 | if (empty($_GET["fCaCoFileFoundStatus"]))
|
|---|
| 867 | $_GET["fCaCoFileFoundStatus"]="0";
|
|---|
| 868 |
|
|---|
| 869 | if (empty($_GET["fRawFileAvail"]))
|
|---|
| 870 | $_GET["fRawFileAvail"]="Off";
|
|---|
| 871 |
|
|---|
| 872 | if (empty($_GET["fRawFileAvailStatus"]))
|
|---|
| 873 | $_GET["fRawFileAvailStatus"]="0";
|
|---|
| 874 |
|
|---|
| 875 | if (empty($_GET["fTimingCorrection"]))
|
|---|
| 876 | $_GET["fTimingCorrection"]="Off";
|
|---|
| 877 |
|
|---|
| 878 | if (empty($_GET["fTimingCorrectionStatus"]))
|
|---|
| 879 | $_GET["fTimingCorrectionStatus"]="0";
|
|---|
| 880 | }
|
|---|
| 881 |
|
|---|
| 882 | function InitRunInfo($_GET, $first)
|
|---|
| 883 | {
|
|---|
| 884 | InitRunStatus($_GET, $first);
|
|---|
| 885 | InitInfo($_GET, $first);
|
|---|
| 886 | InitFailInfo($_GET, $first);
|
|---|
| 887 |
|
|---|
| 888 | if (empty($_GET["fLinks"]))
|
|---|
| 889 | $_GET["fLinks"]=$first?"On":"";
|
|---|
| 890 |
|
|---|
| 891 | if (empty($_GET["fFormatVersion"]))
|
|---|
| 892 | $_GET["fFormatVersion"]="Off";
|
|---|
| 893 |
|
|---|
| 894 | if (empty($_GET["fAzimuth"]))
|
|---|
| 895 | $_GET["fAzimuth"]="Off";
|
|---|
| 896 |
|
|---|
| 897 | if (empty($_GET["fZenithDistance"]))
|
|---|
| 898 | $_GET["fZenithDistance"]="Off";
|
|---|
| 899 |
|
|---|
| 900 | if (empty($_GET["fRunTypeName"]))
|
|---|
| 901 | $_GET["fRunTypeName"]="Off";
|
|---|
| 902 |
|
|---|
| 903 | if (empty($_GET["fExcludedFDAName"]))
|
|---|
| 904 | $_GET["fExcludedFDAName"]="Off";
|
|---|
| 905 |
|
|---|
| 906 | if (empty($_GET["fMagicNumberName"]))
|
|---|
| 907 | $_GET["fMagicNumberName"]="Off";
|
|---|
| 908 |
|
|---|
| 909 | if (empty($_GET["fObservationModeName"]))
|
|---|
| 910 | $_GET["fObservationModeName"]="Off";
|
|---|
| 911 |
|
|---|
| 912 | if (empty($_GET["fSumTriggerFlagName"]))
|
|---|
| 913 | $_GET["fSumTriggerFlagName"]="Off";
|
|---|
| 914 |
|
|---|
| 915 | if (empty($_GET["fMeanTriggerRate"]))
|
|---|
| 916 | $_GET["fMeanTriggerRate"]="Off";
|
|---|
| 917 |
|
|---|
| 918 | if (empty($_GET["fCalibrationScriptName"]))
|
|---|
| 919 | $_GET["fCalibrationScriptName"]="Off";
|
|---|
| 920 |
|
|---|
| 921 | if (empty($_GET["fTestFlagName"]))
|
|---|
| 922 | $_GET["fTestFlagName"]="Off";
|
|---|
| 923 |
|
|---|
| 924 | if (empty($_GET["fDaqStoreRate"]))
|
|---|
| 925 | $_GET["fDaqStoreRate"]="Off";
|
|---|
| 926 |
|
|---|
| 927 | if (empty($_GET["fDaqTriggerRate"]))
|
|---|
| 928 | $_GET["fDaqTriggerRate"]="Off";
|
|---|
| 929 |
|
|---|
| 930 | if (empty($_GET["fL2RatePresc"]))
|
|---|
| 931 | $_GET["fL2RatePresc"]="Off";
|
|---|
| 932 |
|
|---|
| 933 | if (empty($_GET["fL3TriggerRate"]))
|
|---|
| 934 | $_GET["fL3TriggerRate"]="Off";
|
|---|
| 935 |
|
|---|
| 936 | if (empty($_GET["fWheelPos1"]))
|
|---|
| 937 | $_GET["fWheelPos1"]="Off";
|
|---|
| 938 |
|
|---|
| 939 | if (empty($_GET["fWheelPos2"]))
|
|---|
| 940 | $_GET["fWheelPos2"]="Off";
|
|---|
| 941 |
|
|---|
| 942 | if (empty($_GET["fL2RateUnpresc"]))
|
|---|
| 943 | $_GET["fL2RateUnpresc"]="Off";
|
|---|
| 944 |
|
|---|
| 945 | if (empty($_GET["fSequenceFirst"]))
|
|---|
| 946 | $_GET["fSequenceFirst"]="Off";
|
|---|
| 947 |
|
|---|
| 948 | if (empty($_GET["fSequenceNo"]))
|
|---|
| 949 | $_GET["fSequenceNo"]="";
|
|---|
| 950 | }
|
|---|
| 951 |
|
|---|
| 952 | function InitSequStatus($_GET, $first)
|
|---|
| 953 | {
|
|---|
| 954 | if (empty($_GET["fSequenceFileWritten"]))
|
|---|
| 955 | $_GET["fSequenceFileWritten"]="Off";
|
|---|
| 956 |
|
|---|
| 957 | if (empty($_GET["fSequenceFileWrittenStatus"]))
|
|---|
| 958 | $_GET["fSequenceFileWrittenStatus"]="0";
|
|---|
| 959 |
|
|---|
| 960 | if (empty($_GET["fAllFilesAvail"]))
|
|---|
| 961 | $_GET["fAllFilesAvail"]="Off";
|
|---|
| 962 |
|
|---|
| 963 | if (empty($_GET["fAllFilesAvailStatus"]))
|
|---|
| 964 | $_GET["fAllFilesAvailStatus"]="0";
|
|---|
| 965 |
|
|---|
| 966 | if (empty($_GET["fCallisto"]))
|
|---|
| 967 | $_GET["fCallisto"]="Off";
|
|---|
| 968 |
|
|---|
| 969 | if (empty($_GET["fCallistoStatus"]))
|
|---|
| 970 | $_GET["fCallistoStatus"]="0";
|
|---|
| 971 |
|
|---|
| 972 | if (empty($_GET["fFillCallisto"]))
|
|---|
| 973 | $_GET["fFillCallisto"]="Off";
|
|---|
| 974 |
|
|---|
| 975 | if (empty($_GET["fFillCallistoStatus"]))
|
|---|
| 976 | $_GET["fFillCallistoStatus"]="0";
|
|---|
| 977 |
|
|---|
| 978 | if (empty($_GET["fStar"]))
|
|---|
| 979 | $_GET["fStar"]="Off";
|
|---|
| 980 |
|
|---|
| 981 | if (empty($_GET["fStarStatus"]))
|
|---|
| 982 | $_GET["fStarStatus"]="0";
|
|---|
| 983 |
|
|---|
| 984 | if (empty($_GET["fFillStar"]))
|
|---|
| 985 | $_GET["fFillStar"]="Off";
|
|---|
| 986 |
|
|---|
| 987 | if (empty($_GET["fFillStarStatus"]))
|
|---|
| 988 | $_GET["fFillStarStatus"]="0";
|
|---|
| 989 | }
|
|---|
| 990 |
|
|---|
| 991 | function InitStarInfo($_GET, $first)
|
|---|
| 992 | {
|
|---|
| 993 | if (empty($_GET["fMeanNumberIslands"]))
|
|---|
| 994 | $_GET["fMeanNumberIslands"]="Off";
|
|---|
| 995 |
|
|---|
| 996 | if (empty($_GET["fPSF"]))
|
|---|
| 997 | $_GET["fPSF"]="Off";
|
|---|
| 998 |
|
|---|
| 999 | if (empty($_GET["fRatio"]))
|
|---|
| 1000 | $_GET["fRatio"]="Off";
|
|---|
| 1001 |
|
|---|
| 1002 | if (empty($_GET["fMuonNumber"]))
|
|---|
| 1003 | $_GET["fMuonNumber"]="Off";
|
|---|
| 1004 |
|
|---|
| 1005 | if (empty($_GET["fEffOnTime"]))
|
|---|
| 1006 | $_GET["fEffOnTime"]="Off";
|
|---|
| 1007 |
|
|---|
| 1008 | if (empty($_GET["fEffOnTime/fRunTime"]))
|
|---|
| 1009 | $_GET["fEffOnTime/fRunTime"]="Off";
|
|---|
| 1010 |
|
|---|
| 1011 | if (empty($_GET["fMuonRate"]))
|
|---|
| 1012 | $_GET["fMuonRate"]="Off";
|
|---|
| 1013 |
|
|---|
| 1014 | if (empty($_GET["fInhomogeneity"]))
|
|---|
| 1015 | $_GET["fInhomogeneity"]="Off";
|
|---|
| 1016 |
|
|---|
| 1017 | if (empty($_GET["fDataRate"]))
|
|---|
| 1018 | $_GET["fDataRate"]="Off";
|
|---|
| 1019 |
|
|---|
| 1020 | if (empty($_GET["fSparkRate"]))
|
|---|
| 1021 | $_GET["fSparkRate"]="Off";
|
|---|
| 1022 |
|
|---|
| 1023 | if (empty($_GET["fMaxHumidity"]))
|
|---|
| 1024 | $_GET["fMaxHumidity"]="Off";
|
|---|
| 1025 |
|
|---|
| 1026 | if (empty($_GET["fBrightnessMed"]))
|
|---|
| 1027 | $_GET["fBrightnessMed"]="Off";
|
|---|
| 1028 |
|
|---|
| 1029 | if (empty($_GET["fBrightnessRMS"]))
|
|---|
| 1030 | $_GET["fBrightnessRMS"]="Off";
|
|---|
| 1031 |
|
|---|
| 1032 | if (empty($_GET["fNumStarsMed"]))
|
|---|
| 1033 | $_GET["fNumStarsMed"]="Off";
|
|---|
| 1034 |
|
|---|
| 1035 | if (empty($_GET["fNumStarsRMS"]))
|
|---|
| 1036 | $_GET["fNumStarsRMS"]="Off";
|
|---|
| 1037 |
|
|---|
| 1038 | if (empty($_GET["fNumStarsCorMed"]))
|
|---|
| 1039 | $_GET["fNumStarsCorMed"]="Off";
|
|---|
| 1040 |
|
|---|
| 1041 | if (empty($_GET["fNumStarsCorRMS"]))
|
|---|
| 1042 | $_GET["fNumStarsCorRMS"]="Off";
|
|---|
| 1043 |
|
|---|
| 1044 | if (empty($_GET["fAvgWindSpeed"]))
|
|---|
| 1045 | $_GET["fAvgWindSpeed"]="Off";
|
|---|
| 1046 |
|
|---|
| 1047 | if (empty($_GET["fAvgTemperature"]))
|
|---|
| 1048 | $_GET["fAvgTemperature"]="Off";
|
|---|
| 1049 |
|
|---|
| 1050 | if (empty($_GET["fAvgHumidity"]))
|
|---|
| 1051 | $_GET["fAvgHumidity"]="Off";
|
|---|
| 1052 |
|
|---|
| 1053 | if (empty($_GET["fAvgTempSky"]))
|
|---|
| 1054 | $_GET["fAvgTempSky"]="Off";
|
|---|
| 1055 |
|
|---|
| 1056 | if (empty($_GET["fAvgCloudiness"]))
|
|---|
| 1057 | $_GET["fAvgCloudiness"]="Off";
|
|---|
| 1058 |
|
|---|
| 1059 | if (empty($_GET["fRmsCloudiness"]))
|
|---|
| 1060 | $_GET["fRmsCloudiness"]="Off";
|
|---|
| 1061 | }
|
|---|
| 1062 |
|
|---|
| 1063 | function InitCalInfo($_GET, $first)
|
|---|
| 1064 | {
|
|---|
| 1065 | if (empty($_GET["fUnreliableInner"]))
|
|---|
| 1066 | $_GET["fUnreliableInner"]="Off";
|
|---|
| 1067 |
|
|---|
| 1068 | if (empty($_GET["fUnsuitableOuter"]))
|
|---|
| 1069 | $_GET["fUnsuitableOuter"]="Off";
|
|---|
| 1070 |
|
|---|
| 1071 | if (empty($_GET["fUnreliableOuter"]))
|
|---|
| 1072 | $_GET["fUnreliableOuter"]="Off";
|
|---|
| 1073 |
|
|---|
| 1074 | if (empty($_GET["fUnsuitableInner"]))
|
|---|
| 1075 | $_GET["fUnsuitableInner"]="Off";
|
|---|
| 1076 |
|
|---|
| 1077 | if (empty($_GET["fUnsuitable50"]))
|
|---|
| 1078 | $_GET["fUnsuitable50"]="Off";
|
|---|
| 1079 |
|
|---|
| 1080 | if (empty($_GET["fUnsuitable01"]))
|
|---|
| 1081 | $_GET["fUnsuitable01"]="Off";
|
|---|
| 1082 |
|
|---|
| 1083 | if (empty($_GET["fUnsuitableMax"]))
|
|---|
| 1084 | $_GET["fUnsuitableMax"]="Off";
|
|---|
| 1085 |
|
|---|
| 1086 | if (empty($_GET["fDeadMax"]))
|
|---|
| 1087 | $_GET["fDeadMax"]="Off";
|
|---|
| 1088 |
|
|---|
| 1089 | if (empty($_GET["fRateTrigEvts"]))
|
|---|
| 1090 | $_GET["fRateTrigEvts"]="Off";
|
|---|
| 1091 |
|
|---|
| 1092 | if (empty($_GET["fRateSumEvts"]))
|
|---|
| 1093 | $_GET["fRateSumEvts"]="Off";
|
|---|
| 1094 |
|
|---|
| 1095 | if (empty($_GET["fRatePedEvts"]))
|
|---|
| 1096 | $_GET["fRatePedEvts"]="Off";
|
|---|
| 1097 |
|
|---|
| 1098 | if (empty($_GET["fRatePedTrigEvts"]))
|
|---|
| 1099 | $_GET["fRatePedTrigEvts"]="Off";
|
|---|
| 1100 |
|
|---|
| 1101 | if (empty($_GET["fRateCalEvts"]))
|
|---|
| 1102 | $_GET["fRateCalEvts"]="Off";
|
|---|
| 1103 |
|
|---|
| 1104 | if (empty($_GET["fRateNullEvts"]))
|
|---|
| 1105 | $_GET["fRateNullEvts"]="Off";
|
|---|
| 1106 |
|
|---|
| 1107 | if (empty($_GET["fRateUnknownEvts"]))
|
|---|
| 1108 | $_GET["fRateUnknownEvts"]="Off";
|
|---|
| 1109 |
|
|---|
| 1110 | if (empty($_GET["fRatioCalEvents"]))
|
|---|
| 1111 | $_GET["fRatioCalEvents"]="Off";
|
|---|
| 1112 |
|
|---|
| 1113 | if (empty($_GET["fPulsePosCalib"]))
|
|---|
| 1114 | $_GET["fPulsePosCalib"]="Off";
|
|---|
| 1115 |
|
|---|
| 1116 | if (empty($_GET["fIsolatedInner"]))
|
|---|
| 1117 | $_GET["fIsolatedInner"]="Off";
|
|---|
| 1118 |
|
|---|
| 1119 | if (empty($_GET["fIsolatedOuter"]))
|
|---|
| 1120 | $_GET["fIsolatedOuter"]="Off";
|
|---|
| 1121 |
|
|---|
| 1122 | if (empty($_GET["fMeanPedRmsInner"]))
|
|---|
| 1123 | $_GET["fMeanPedRmsInner"]="Off";
|
|---|
| 1124 |
|
|---|
| 1125 | if (empty($_GET["fMeanPedRmsOuter"]))
|
|---|
| 1126 | $_GET["fMeanPedRmsOuter"]="Off";
|
|---|
| 1127 |
|
|---|
| 1128 | if (empty($_GET["fIsolatedMaxCluster"]))
|
|---|
| 1129 | $_GET["fIsolatedMaxCluster"]="Off";
|
|---|
| 1130 |
|
|---|
| 1131 | if (empty($_GET["fArrTimeMeanInner"]))
|
|---|
| 1132 | $_GET["fArrTimeMeanInner"]="Off";
|
|---|
| 1133 |
|
|---|
| 1134 | if (empty($_GET["fArrTimeMeanOuter"]))
|
|---|
| 1135 | $_GET["fArrTimeMeanOuter"]="Off";
|
|---|
| 1136 |
|
|---|
| 1137 | if (empty($_GET["fArrTimeRmsInner"]))
|
|---|
| 1138 | $_GET["fArrTimeRmsInner"]="Off";
|
|---|
| 1139 |
|
|---|
| 1140 | if (empty($_GET["fArrTimeRmsOuter"]))
|
|---|
| 1141 | $_GET["fArrTimeRmsOuter"]="Off";
|
|---|
| 1142 |
|
|---|
| 1143 | if (empty($_GET["fMeanSignalInner"]))
|
|---|
| 1144 | $_GET["fMeanSignalInner"]=$first?"Off":"";
|
|---|
| 1145 |
|
|---|
| 1146 | if (empty($_GET["fMeanSignalOuter"]))
|
|---|
| 1147 | $_GET["fMeanSignalOuter"]=$first?"Off":"";
|
|---|
| 1148 |
|
|---|
| 1149 | if (empty($_GET["fPulsePosMean"]))
|
|---|
| 1150 | $_GET["fPulsePosMean"]=$first?"Off":"";
|
|---|
| 1151 |
|
|---|
| 1152 | if (empty($_GET["fConvFactorInner"]))
|
|---|
| 1153 | $_GET["fConvFactorInner"]="Off";
|
|---|
| 1154 |
|
|---|
| 1155 | if (empty($_GET["fConvFactorOuter"]))
|
|---|
| 1156 | $_GET["fConvFactorOuter"]="Off";
|
|---|
| 1157 | }
|
|---|
| 1158 |
|
|---|
| 1159 | function InitSequInfo($_GET, $first)
|
|---|
| 1160 | {
|
|---|
| 1161 | InitInfo($_GET, $first);
|
|---|
| 1162 | InitSequStatus($_GET, $first);
|
|---|
| 1163 | InitFailInfo($_GET, $first);
|
|---|
| 1164 | InitCalInfo($_GET, $first);
|
|---|
| 1165 | InitStarInfo($_GET, $first);
|
|---|
| 1166 |
|
|---|
| 1167 | if (empty($_GET["fRunTime/60"]))
|
|---|
| 1168 | $_GET["fRunTime/60"]="Off";
|
|---|
| 1169 |
|
|---|
| 1170 | if (empty($_GET["fSequenceLast"]))
|
|---|
| 1171 | $_GET["fSequenceLast"]="Off";
|
|---|
| 1172 |
|
|---|
| 1173 | if (empty($_GET["fAzimuthMin"]))
|
|---|
| 1174 | $_GET["fAzimuthMin"]="Off";
|
|---|
| 1175 |
|
|---|
| 1176 | if (empty($_GET["fAzimuthMax"]))
|
|---|
| 1177 | $_GET["fAzimuthMax"]="Off";
|
|---|
| 1178 |
|
|---|
| 1179 | if (empty($_GET["fZenithDistanceMin"]))
|
|---|
| 1180 | $_GET["fZenithDistanceMin"]="Off";
|
|---|
| 1181 |
|
|---|
| 1182 | if (empty($_GET["fZenithDistanceMax"]))
|
|---|
| 1183 | $_GET["fZenithDistanceMax"]="Off";
|
|---|
| 1184 |
|
|---|
| 1185 | if (empty($_GET["fObservationModeName"]))
|
|---|
| 1186 | $_GET["fObservationModeName"]="Off";
|
|---|
| 1187 |
|
|---|
| 1188 | if (empty($_GET["fSumTriggerFlagName"]))
|
|---|
| 1189 | $_GET["fSumTriggerFlagName"]="Off";
|
|---|
| 1190 |
|
|---|
| 1191 | // if (empty($_GET["fManuallyChangedName"]))
|
|---|
| 1192 | // $_GET["fManuallyChangedName"]="Off";
|
|---|
| 1193 | }
|
|---|
| 1194 |
|
|---|
| 1195 | function InitDataSetStatus($_GET, $first)
|
|---|
| 1196 | {
|
|---|
| 1197 | if (empty($_GET["fDataSetInserted"]))
|
|---|
| 1198 | $_GET["fDataSetInserted"]="Off";
|
|---|
| 1199 |
|
|---|
| 1200 | if (empty($_GET["fDataSetInsertedStatus"]))
|
|---|
| 1201 | $_GET["fDataSetInsertedStatus"]="0";
|
|---|
| 1202 |
|
|---|
| 1203 | if (empty($_GET["fDataSetFileWritten"]))
|
|---|
| 1204 | $_GET["fDataSetFileWritten"]=$first?"On":"";
|
|---|
| 1205 |
|
|---|
| 1206 | if (empty($_GET["fDataSetFileWrittenStatus"]))
|
|---|
| 1207 | $_GET["fDataSetFileWrittenStatus"]="0";
|
|---|
| 1208 |
|
|---|
| 1209 | if (empty($_GET["fStarFilesAvail"]))
|
|---|
| 1210 | $_GET["fStarFilesAvail"]="Off";
|
|---|
| 1211 |
|
|---|
| 1212 | if (empty($_GET["fStarFilesAvailStatus"]))
|
|---|
| 1213 | $_GET["fStarFilesAvailStatus"]="0";
|
|---|
| 1214 |
|
|---|
| 1215 | if (empty($_GET["fGanymed"]))
|
|---|
| 1216 | $_GET["fGanymed"]=$first?"On":"";
|
|---|
| 1217 |
|
|---|
| 1218 | if (empty($_GET["fGanymedStatus"]))
|
|---|
| 1219 | $_GET["fGanymedStatus"]="0";
|
|---|
| 1220 |
|
|---|
| 1221 | if (empty($_GET["fFillGanymed"]))
|
|---|
| 1222 | $_GET["fFillGanymed"]="Off";
|
|---|
| 1223 |
|
|---|
| 1224 | if (empty($_GET["fFillGanymedStatus"]))
|
|---|
| 1225 | $_GET["fFillGanymedStatus"]="0";
|
|---|
| 1226 | }
|
|---|
| 1227 |
|
|---|
| 1228 | function InitDataSetInfo($_GET, $first)
|
|---|
| 1229 | {
|
|---|
| 1230 | InitDataSetStatus($_GET, $first);
|
|---|
| 1231 | InitFailInfo($_GET, $first);
|
|---|
| 1232 |
|
|---|
| 1233 | if (empty($_GET["fNumResults"]))
|
|---|
| 1234 | $_GET["fNumResults"]="50";
|
|---|
| 1235 |
|
|---|
| 1236 | if (empty($_GET["fLinks"]))
|
|---|
| 1237 | $_GET["fLinks"]=$first?"On":"";
|
|---|
| 1238 |
|
|---|
| 1239 | if (empty($_GET["fExcessEvents"]))
|
|---|
| 1240 | $_GET["fExcessEvents"]=$first?"On":"";
|
|---|
| 1241 |
|
|---|
| 1242 | if (empty($_GET["fBackgroundEvents*60/fEffOnTime"]))
|
|---|
| 1243 | $_GET["fBackgroundEvents*60/fEffOnTime"]=$first?"On":"";
|
|---|
| 1244 |
|
|---|
| 1245 | if (empty($_GET["fBackgroundEvents"]))
|
|---|
| 1246 | $_GET["fBackgroundEvents"]=$first?"On":"";
|
|---|
| 1247 |
|
|---|
| 1248 | if (empty($_GET["fSignalEvents"]))
|
|---|
| 1249 | $_GET["fSignalEvents"]=$first?"On":"";
|
|---|
| 1250 |
|
|---|
| 1251 | if (empty($_GET["fSignificance"]))
|
|---|
| 1252 | $_GET["fSignificance"]=$first?"On":"";
|
|---|
| 1253 |
|
|---|
| 1254 | if (empty($_GET["fScaleFactor"]))
|
|---|
| 1255 | $_GET["fScaleFactor"]=$first?"On":"";
|
|---|
| 1256 |
|
|---|
| 1257 | if (empty($_GET["fEffOnTime/3600"]))
|
|---|
| 1258 | $_GET["fEffOnTime/3600"]=$first?"On":"";
|
|---|
| 1259 |
|
|---|
| 1260 | if (empty($_GET["fSourceName"]))
|
|---|
| 1261 | $_GET["fSourceName"]=$first?"On":"";
|
|---|
| 1262 |
|
|---|
| 1263 | if (empty($_GET["fObservationModeName"]))
|
|---|
| 1264 | $_GET["fObservationModeName"]=$first?"On":"";
|
|---|
| 1265 |
|
|---|
| 1266 | if (empty($_GET["fComment"]))
|
|---|
| 1267 | $_GET["fComment"]="Off";
|
|---|
| 1268 |
|
|---|
| 1269 | if (empty($_GET["fUserName"]))
|
|---|
| 1270 | $_GET["fUserName"]="Off";
|
|---|
| 1271 |
|
|---|
| 1272 | if (empty($_GET["fRunStart"]))
|
|---|
| 1273 | $_GET["fRunStart"]="Off";
|
|---|
| 1274 |
|
|---|
| 1275 | if (empty($_GET["fRunStop"]))
|
|---|
| 1276 | $_GET["fRunStop"]="Off";
|
|---|
| 1277 |
|
|---|
| 1278 | if (empty($_GET["fZenithDistanceMin"]))
|
|---|
| 1279 | $_GET["fZenithDistanceMin"]=$first?"On":"";
|
|---|
| 1280 |
|
|---|
| 1281 | if (empty($_GET["fZenithDistanceMax"]))
|
|---|
| 1282 | $_GET["fZenithDistanceMax"]=$first?"On":"";
|
|---|
| 1283 |
|
|---|
| 1284 | if (empty($_GET["fRunTime"]))
|
|---|
| 1285 | $_GET["fRunTime"]="Off";
|
|---|
| 1286 |
|
|---|
| 1287 | if (empty($_GET["fDataSetName"]))
|
|---|
| 1288 | $_GET["fDataSetName"]=$first?"On":"";
|
|---|
| 1289 |
|
|---|
| 1290 | if (empty($_GET["fExcessEvents*60/fEffOnTime"]))
|
|---|
| 1291 | $_GET["fExcessEvents*60/fEffOnTime"]="Off";
|
|---|
| 1292 |
|
|---|
| 1293 | if (empty($_GET["fSignalEvents*60/fEffOnTime"]))
|
|---|
| 1294 | $_GET["fSignalEvents*60/fEffOnTime"]="Off";
|
|---|
| 1295 |
|
|---|
| 1296 | if (empty($_GET["Round(fSignificance/Sqrt(fEffOnTime/3600),2)"]))
|
|---|
| 1297 | $_GET["Round(fSignificance/Sqrt(fEffOnTime/3600),2)"]="Off";
|
|---|
| 1298 |
|
|---|
| 1299 | }
|
|---|
| 1300 |
|
|---|
| 1301 | function InitFindOffData($_GET, $first)
|
|---|
| 1302 | {
|
|---|
| 1303 | InitSequInfo($_GET, $first);
|
|---|
| 1304 |
|
|---|
| 1305 | //init for limits
|
|---|
| 1306 |
|
|---|
| 1307 | if (empty($_GET["fArrTimeLimitMean"]))
|
|---|
| 1308 | $_GET["fArrTimeLimitMean"]="";
|
|---|
| 1309 |
|
|---|
| 1310 | if (empty($_GET["fArrTimeLimitRms"]))
|
|---|
| 1311 | $_GET["fArrTimeLimitRms"]="";
|
|---|
| 1312 |
|
|---|
| 1313 | if (empty($_GET["fSkyBrightLimitMean"]))
|
|---|
| 1314 | $_GET["fSkyBrightLimitMean"]="";
|
|---|
| 1315 |
|
|---|
| 1316 | if (empty($_GET["fSkyBrightLimitRms"]))
|
|---|
| 1317 | $_GET["fSkyBrightLimitRms"]="";
|
|---|
| 1318 |
|
|---|
| 1319 | if (empty($_GET["fMaxHumLimit1"]))
|
|---|
| 1320 | $_GET["fMaxHumLimit1"]="";
|
|---|
| 1321 |
|
|---|
| 1322 | if (empty($_GET["fMaxHumLimit2"]))
|
|---|
| 1323 | $_GET["fMaxHumLimit2"]="";
|
|---|
| 1324 |
|
|---|
| 1325 | //values that differ for different data
|
|---|
| 1326 | if (empty($_GET["fPSFLimitMean"]))
|
|---|
| 1327 | $_GET["fPSFLimitMean"]="";
|
|---|
| 1328 |
|
|---|
| 1329 | if (empty($_GET["fPedRmsInLimitMean"]))
|
|---|
| 1330 | $_GET["fPedRmsInLimitMean"]="";
|
|---|
| 1331 |
|
|---|
| 1332 | if (empty($_GET["fZdMinLimit1"]))
|
|---|
| 1333 | $_GET["fZdMinLimit1"]="";
|
|---|
| 1334 |
|
|---|
| 1335 | if (empty($_GET["fZdMinLimit2"]))
|
|---|
| 1336 | $_GET["fZdMinLimit2"]="";
|
|---|
| 1337 |
|
|---|
| 1338 | if (empty($_GET["fZdMaxLimit1"]))
|
|---|
| 1339 | $_GET["fZdMaxLimit1"]="";
|
|---|
| 1340 |
|
|---|
| 1341 | if (empty($_GET["fZdMaxLimit2"]))
|
|---|
| 1342 | $_GET["fZdMaxLimit2"]="";
|
|---|
| 1343 |
|
|---|
| 1344 | // values taken from distribution or from experience
|
|---|
| 1345 | if (empty($_GET["fUnsInLimit1"]))
|
|---|
| 1346 | $_GET["fUnsInLimit1"]=$first?"12":"";
|
|---|
| 1347 |
|
|---|
| 1348 | if (empty($_GET["fUnsInLimit2"]))
|
|---|
| 1349 | $_GET["fUnsInLimit2"]=$first?"20":"";
|
|---|
| 1350 |
|
|---|
| 1351 | if (empty($_GET["fRunTimeLimit1"]))
|
|---|
| 1352 | $_GET["fRunTimeLimit1"]=$first?"5":"";
|
|---|
| 1353 |
|
|---|
| 1354 | if (empty($_GET["fRunTimeLimit2"]))
|
|---|
| 1355 | $_GET["fRunTimeLimit2"]=$first?"2":"";
|
|---|
| 1356 |
|
|---|
| 1357 | if (empty($_GET["fPSFLimitRms"]))
|
|---|
| 1358 | $_GET["fPSFLimitRms"]=$first?"1.0":"";
|
|---|
| 1359 |
|
|---|
| 1360 | if (empty($_GET["fPedRmsInLimitRms"]))
|
|---|
| 1361 | $_GET["fPedRmsInLimitRms"]=$first?"0.08":"";
|
|---|
| 1362 |
|
|---|
| 1363 | if (empty($_GET["fNumIslLimitMean"]))
|
|---|
| 1364 | $_GET["fNumIslLimitMean"]=$first?"1.230":"";
|
|---|
| 1365 |
|
|---|
| 1366 | if (empty($_GET["fNumIslLimitRms"]))
|
|---|
| 1367 | $_GET["fNumIslLimitRms"]=$first?"0.013":"";
|
|---|
| 1368 |
|
|---|
| 1369 | if (empty($_GET["fMuonCalLimitMean"]))
|
|---|
| 1370 | $_GET["fMuonCalLimitMean"]=$first?"100.0":"";
|
|---|
| 1371 |
|
|---|
| 1372 | if (empty($_GET["fMuonCalLimitRms"]))
|
|---|
| 1373 | $_GET["fMuonCalLimitRms"]=$first?"1.6":"";
|
|---|
| 1374 |
|
|---|
| 1375 | if (empty($_GET["fRelTimeMaxLimit1"]))
|
|---|
| 1376 | $_GET["fRelTimeMaxLimit1"]=$first?"1.0":"";
|
|---|
| 1377 |
|
|---|
| 1378 | if (empty($_GET["fRelTimeMaxLimit2"]))
|
|---|
| 1379 | $_GET["fRelTimeMaxLimit2"]=$first?"1.02":"";
|
|---|
| 1380 |
|
|---|
| 1381 | if (empty($_GET["fRelTimeMinLimit1"]))
|
|---|
| 1382 | $_GET["fRelTimeMinLimit1"]=$first?"0.97":"";
|
|---|
| 1383 |
|
|---|
| 1384 | if (empty($_GET["fRelTimeMinLimit2"]))
|
|---|
| 1385 | $_GET["fRelTimeMinLimit2"]=$first?"0.93":"";
|
|---|
| 1386 |
|
|---|
| 1387 | if (empty($_GET["fIMCLimit1"]))
|
|---|
| 1388 | $_GET["fIMCLimit1"]=$first?"00":"";
|
|---|
| 1389 |
|
|---|
| 1390 | if (empty($_GET["fIMCLimit2"]))
|
|---|
| 1391 | $_GET["fIMCLimit2"]=$first?"00":"";
|
|---|
| 1392 |
|
|---|
| 1393 | if (empty($_GET["fIsoInLimit1"]))
|
|---|
| 1394 | $_GET["fIsoInLimit1"]=$first?"00":"";
|
|---|
| 1395 |
|
|---|
| 1396 | if (empty($_GET["fIsoInLimit2"]))
|
|---|
| 1397 | $_GET["fIsoInLimit2"]=$first?"00":"";
|
|---|
| 1398 |
|
|---|
| 1399 | if (empty($_GET["fInhomLimitMean"]))
|
|---|
| 1400 | $_GET["fInhomLimitMean"]=$first?"10":"";
|
|---|
| 1401 |
|
|---|
| 1402 | if (empty($_GET["fInhomLimitRms"]))
|
|---|
| 1403 | $_GET["fInhomLimitRms"]=$first?"3":"";
|
|---|
| 1404 |
|
|---|
| 1405 | if (empty($_GET["fImgRateLimitMean"]))
|
|---|
| 1406 | $_GET["fImgRateLimitMean"]=$first?"180":"";
|
|---|
| 1407 |
|
|---|
| 1408 | if (empty($_GET["fImgRateLimitRms"]))
|
|---|
| 1409 | $_GET["fImgRateLimitRms"]=$first?"30":"";
|
|---|
| 1410 |
|
|---|
| 1411 | if (empty($_GET["fMuonRateLimitMean"]))
|
|---|
| 1412 | $_GET["fMuonRateLimitMean"]=$first?"1":"";
|
|---|
| 1413 |
|
|---|
| 1414 | if (empty($_GET["fMuonRateLimitRms"]))
|
|---|
| 1415 | $_GET["fMuonRateLimitRms"]=$first?"0.1":"";
|
|---|
| 1416 |
|
|---|
| 1417 | if (empty($_GET["fMuonNumLimit1"]))
|
|---|
| 1418 | $_GET["fMuonNumLimit1"]=$first?"180":"";
|
|---|
| 1419 |
|
|---|
| 1420 | if (empty($_GET["fMuonNumLimit2"]))
|
|---|
| 1421 | $_GET["fMuonNumLimit2"]=$first?"120":"";
|
|---|
| 1422 |
|
|---|
| 1423 | if (empty($_GET["fPulsePosLimit1"]))
|
|---|
| 1424 | $_GET["fPulsePosLimit1"]=$first?"3.5":"";
|
|---|
| 1425 |
|
|---|
| 1426 | if (empty($_GET["fPulsePosLimit2"]))
|
|---|
| 1427 | $_GET["fPulsePosLimit2"]=$first?"2.5":"";
|
|---|
| 1428 |
|
|---|
| 1429 | if (empty($_GET["fNumStarsLimit1"]))
|
|---|
| 1430 | $_GET["fNumStarsLimit1"]=$first?"30":"";
|
|---|
| 1431 |
|
|---|
| 1432 | if (empty($_GET["fNumStarsLimit2"]))
|
|---|
| 1433 | $_GET["fNumStarsLimit2"]=$first?"20":"";
|
|---|
| 1434 |
|
|---|
| 1435 | if (empty($_GET["fNumStarsCorLimit1"]))
|
|---|
| 1436 | $_GET["fNumStarsCorLimit1"]=$first?"10":"";
|
|---|
| 1437 |
|
|---|
| 1438 | if (empty($_GET["fNumStarsCorLimit2"]))
|
|---|
| 1439 | $_GET["fNumStarsCorLimit2"]=$first?"5":"";
|
|---|
| 1440 |
|
|---|
| 1441 | }
|
|---|
| 1442 |
|
|---|
| 1443 | function InitCTAMCRunStatus($_GET, $first)
|
|---|
| 1444 | {
|
|---|
| 1445 | if (empty($_GET["fCorsikaSimTelarray"]))
|
|---|
| 1446 | $_GET["fCorsikaSimTelarray"]="On";
|
|---|
| 1447 |
|
|---|
| 1448 | if (empty($_GET["fCorsikaSimTelarrayStatus"]))
|
|---|
| 1449 | $_GET["fCorsikaSimTelarrayStatus"]="0";
|
|---|
| 1450 |
|
|---|
| 1451 | if (empty($_GET["fChimp"]))
|
|---|
| 1452 | $_GET["fChimp"]="Off";
|
|---|
| 1453 |
|
|---|
| 1454 | if (empty($_GET["fChimpStatus"]))
|
|---|
| 1455 | $_GET["fChimpStatus"]="0";
|
|---|
| 1456 |
|
|---|
| 1457 | if (empty($_GET["fCTAStar"]))
|
|---|
| 1458 | $_GET["fCTAStar"]="Off";
|
|---|
| 1459 |
|
|---|
| 1460 | if (empty($_GET["fCTAStarStatus"]))
|
|---|
| 1461 | $_GET["fCTAStarStatus"]="0";
|
|---|
| 1462 |
|
|---|
| 1463 | if (empty($_GET["fStereoB"]))
|
|---|
| 1464 | $_GET["fStereoB"]="Off";
|
|---|
| 1465 |
|
|---|
| 1466 | if (empty($_GET["fStereoBStatus"]))
|
|---|
| 1467 | $_GET["fStereoBStatus"]="0";
|
|---|
| 1468 |
|
|---|
| 1469 | if (empty($_GET["fStereoC"]))
|
|---|
| 1470 | $_GET["fStereoC"]="Off";
|
|---|
| 1471 |
|
|---|
| 1472 | if (empty($_GET["fStereoCStatus"]))
|
|---|
| 1473 | $_GET["fStereoCStatus"]="0";
|
|---|
| 1474 |
|
|---|
| 1475 | if (empty($_GET["fStereoG"]))
|
|---|
| 1476 | $_GET["fStereoG"]="Off";
|
|---|
| 1477 |
|
|---|
| 1478 | if (empty($_GET["fStereoGStatus"]))
|
|---|
| 1479 | $_GET["fStereoGStatus"]="0";
|
|---|
| 1480 |
|
|---|
| 1481 | }
|
|---|
| 1482 |
|
|---|
| 1483 | function InitCTAMCRunInfo($_GET, $first)
|
|---|
| 1484 | {
|
|---|
| 1485 | if (empty($_GET["fNumResults"]))
|
|---|
| 1486 | $_GET["fNumResults"]="50";
|
|---|
| 1487 |
|
|---|
| 1488 | InitCTAMCRunStatus($_GET, $first);
|
|---|
| 1489 | InitInfo($_GET, $first);
|
|---|
| 1490 | InitFailInfo($_GET, $first);
|
|---|
| 1491 |
|
|---|
| 1492 | if (empty($_GET["fNumEvents"]))
|
|---|
| 1493 | $_GET["fNumEvents"]="On";
|
|---|
| 1494 |
|
|---|
| 1495 | if (empty($_GET["fParticleTypeName"]))
|
|---|
| 1496 | $_GET["fParticleTypeName"]="On";
|
|---|
| 1497 |
|
|---|
| 1498 | if (empty($_GET["fNumEvents"]))
|
|---|
| 1499 | $_GET["fNumEvents"]=$first?"On":"";
|
|---|
| 1500 |
|
|---|
| 1501 | }
|
|---|
| 1502 |
|
|---|
| 1503 |
|
|---|
| 1504 | ?>
|
|---|