Changeset 9486 for trunk/MagicSoft/Mars/datacenter/db/menu.php
- Timestamp:
- 08/11/09 16:28:36 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/menu.php
r9485 r9486 1 1 <?php 2 2 3 function PrintCTAMCRunInfoMenu($host,$user,$pw,$db) 3 //MC stuff 4 function PrintMCRunInfoMenu($host,$user,$pw,$db) 4 5 { 5 6 printf(" <div id='info' style='display:none'>"); … … 8 9 9 10 CheckBox("fNumEvents", "Num of events"); 10 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"); 11 34 printf(" <td>\n"); 12 35 PrintPullDown($host, $user, $pw, $db, "ParticleType", "fParticleTypeName", "fParticleTypeKEY", "Particle type"); 13 36 printf(" </td><td>\n"); 37 PrintPullDown($host, $user, $pw, $db, "AtmosphericModel", "fAtmosphericModelName", "fAtmosphericModelKEY", "Atm. model"); 38 printf(" </td>\n"); 14 39 15 40 printf(" </tr>\n"); … … 18 43 } 19 44 20 function Print CTAMCRunStatMenu()45 function PrintMCRunStatMenu() 21 46 { 22 47 printf(" <div id=\"stat\" style='display:none'>\n"); … … 24 49 printf(" <tr><td>\n"); 25 50 26 PrintStatusMenu("fCorsikaSimTelarray", "Corsika and Simtel"); 27 printf(" </td><td>\n"); 28 PrintStatusMenu("fChimp", "Chimp"); 29 printf(" </td><td>\n"); 30 PrintStatusMenu("fCTAStar", "Star"); 31 32 printf(" </td></tr><tr><td>\n"); 33 34 PrintStatusMenu("fStereoB", "StereoB"); 35 printf(" </td><td>\n"); 36 PrintStatusMenu("fStereoC", "StereoC"); 37 printf(" </td><td>\n"); 38 PrintStatusMenu("fStereoG", "StereoG"); 51 PrintStatusMenu("fCorsikaInputCreated", "Input"); 52 printf(" </td><td>\n"); 53 PrintStatusMenu("fCorsikaFileAvail", "Corsika"); 39 54 40 55 printf(" </td></tr></table>\n"); … … 43 58 } 44 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 45 104 function PrintRunInfoMenu() 46 105 {
Note:
See TracChangeset
for help on using the changeset viewer.