Index: trunk/Mars/datacenter/db/fact_runinfo.php
===================================================================
--- trunk/Mars/datacenter/db/fact_runinfo.php	(revision 12667)
+++ trunk/Mars/datacenter/db/fact_runinfo.php	(revision 12694)
@@ -25,4 +25,10 @@
             $query0 .= " Concat(fRunNumber,'_', LPAD(fFileNumber, 3, 0)) as 'Run' ";
 
+            foreach ($_GET as $key => $element)
+                if ($_GET[$key]=="On")
+                    if ($key!="fComments")
+                        if (empty($checkwhere[$key]) || $checkwhere[$key]==0)
+                            $query0 .= ", " . $key . " as '" . $alias[$key] . "' ";
+
             if (!empty($_GET["fComments"]))
             {
@@ -31,9 +37,4 @@
             }
 
-            foreach ($_GET as $key => $element)
-                if ($_GET[$key]=="On")
-                    if ($key!="fComments")
-                        if (empty($checkwhere[$key]) || $checkwhere[$key]==0)
-                            $query0 .= ", " . $key . " as '" . $alias[$key] . "' ";
         }
 
@@ -191,4 +192,19 @@
             $_GET["fRunTypeName"]=$first?"On":"";
 
+        if (empty($_GET["fTriggerRateMedian"]))
+            $_GET["fTriggerRateMedian"]=$first?"On":"";
+
+        if (empty($_GET["fThresholdMedian"]))
+            $_GET["fThresholdMedian"]=$first?"On":"";
+
+        if (empty($_GET["fBiasVoltageMedian"]))
+            $_GET["fBiasVoltageMedian"]=$first?"On":"";
+
+        if (empty($_GET["fRightAscension"]))
+            $_GET["fRightAscension"]=$first?"On":"";
+
+        if (empty($_GET["fDeclination"]))
+            $_GET["fDeclination"]=$first?"On":"";
+
     }
 
@@ -241,4 +257,13 @@
         CheckBox("fMd5sumRaw",         "md5");
         CheckBox("fMd5sumRawZip",      "md5(gz)");
+
+        printf("  </tr>\n");
+        printf("  <tr>\n");
+
+        CheckBox("fTriggerRateMedian",    "mean rate");
+        CheckBox("fThresholdMedian",    "mean threshold");
+        CheckBox("fBiasVoltageMedian",    "mean voltage");
+        CheckBox("fRightAscension",    "RA");
+        CheckBox("fDeclination",    "Dec");
 
         printf("  </tr>\n");
Index: trunk/Mars/datacenter/db/factdefs.php
===================================================================
--- trunk/Mars/datacenter/db/factdefs.php	(revision 12667)
+++ trunk/Mars/datacenter/db/factdefs.php	(revision 12694)
@@ -45,4 +45,9 @@
      "fNumOtherTrigger"                 => "#Other",
      "Round(Sum(TimeDiff(fRunStop,fRunStart))/60./60.,1)"  => "Time [h]",
+     "fTriggerRateMedian"               => "mean rate",
+     "fBiasVoltageMedian"               => "mean bias",
+     "fThresholdMedian"                 => "mean threshold",
+     "fRightAscension"                  => "RA",
+     "fDeclination"                     => "Decl",
     );
 
