Index: trunk/MagicSoft/Mars/datacenter/macros/plotdb.C
===================================================================
--- trunk/MagicSoft/Mars/datacenter/macros/plotdb.C	(revision 8934)
+++ trunk/MagicSoft/Mars/datacenter/macros/plotdb.C	(revision 8938)
@@ -1,4 +1,4 @@
 /* ======================================================================== *\
-! $Name: not supported by cvs2svn $:$Id: plotdb.C,v 1.39 2008-06-08 12:55:22 tbretz Exp $
+! $Name: not supported by cvs2svn $:$Id: plotdb.C,v 1.40 2008-06-12 13:00:44 tbretz Exp $
 ! --------------------------------------------------------------------------
 !
@@ -21,5 +21,5 @@
 !   Author(s): Daniela Dorner, 05/2005 <mailto:dorner@astro.uni-wuerzburg.de>
 !
-!   Copyright: MAGIC Software Development, 2000-2006
+!   Copyright: MAGIC Software Development, 2000-2008
 !
 !
@@ -547,12 +547,30 @@
     plot.SetDescription("Mean Signal inner Camera;S_{I} [phe]", "SignalI");
     plot.Plot("Calibration.fMeanSignalInner",  0, 7.0, 0.05);
-    plot.SetDescription("Mean PulsePosCheck (falling edge) inner camera;T [sl]", "ChkPos");
+
+    plot.SetDescription("Mean PulsePosCheck (maximum slice) inner camera;T [sl]", "ChkPos");
     plot.Plot("Calibration.fPulsePosCheckMean", 1, 50.0, 0.1);
-    plot.SetDescription("Rms PulsePosCheck (falling edge) inner camera;T [sl]", "ChkRms");
+    plot.SetDescription("Rms PulsePosCheck (maximum slice) inner camera;T [sl]", "ChkRms");
     plot.Plot("Calibration.fPulsePosCheckRms", 0, 12.0, 0.1);
-    plot.SetDescription("Mean calibrated PulsePos;T", "PulPos");
+    plot.SetDescription("Mean calibrated PulsePos (as extracted);T [ns]", "PulPos");
     plot.Plot("Calibration.fPulsePosMean", 1, 40.0, 0.1);
-    plot.SetDescription("Rms calibrated PulsePos;T", "PulRms");
+    plot.SetDescription("Rms calibrated PulsePos (as extracted);T [ns]", "PulRms");
     plot.Plot("Calibration.fPulsePosRms", 0, 3.0, 0.02);
+
+    plot.SetDescription("Average rate of events with lvl1 trigger;R [Hz]", "RateTrig");
+    plot.Plot("Calibration.fRateTrigEvts", 0, 500, 5);
+    plot.SetDescription("Average rate of events with only Sum trigger;R [Hz]", "RateSum");
+    plot.Plot("Calibration.fRateSumEvts", 0, 1500, 5);
+    //plot.SetDescription("Ratio of only Sum to Lvl1 triggers;R [Hz]", "RateRatio");
+    //plot.Plot("100*Calibration.fRateSumEvts/Calibration.fRateTrigEvts", 0, 500, 1);
+    plot.SetDescription("Average rate of events with calibration trigger;R [Hz]", "RateCal");
+    plot.Plot("Calibration.fRateCalEvts", 0, 50, 1);
+    plot.SetDescription("Average rate of events with pedestal trigger;R [Hz]", "RatePed");
+    plot.Plot("Calibration.fRatePedEvts", 0, 50, 1);
+    plot.SetDescription("Average rate of events with ped+cosmics trigger;R [Hz]", "RatePT");
+    plot.Plot("Calibration.fRatePedTrigEvts", 0, 3.5, 0.1);
+    plot.SetDescription("Average rate of events without trigger pattern;R [Hz]", "Rate0");
+    plot.Plot("Calibration.fRateNullEvts", 0, 3.5, 0.1);
+    plot.SetDescription("Average rate of unknown trigger pattern;R [Hz]", "RateUnknown");
+    plot.Plot("Calibration.fRateUnknownEvts", 0, 3.5, 0.1);
 
     plot.SetDescription("Hi-/Lo-Gain offset;", "PulOff");
@@ -586,6 +604,14 @@
     plot.SetDescription("Datarate [Hz]", "Rate");
     plot.Plot("Star.fDataRate",                0, 600, 10);
-    plot.SetDescription("Maximum Humidity [%]", "Hum");
+    plot.SetDescription("Average Cloudiness [%]", "AvgClouds");
+    plot.Plot("Star.fAvgCloudiness",           0, 100, 1);
+    plot.SetDescription("RMS Cloudiness [%]", "RmsClouds");
+    plot.Plot("Star.fRmsCloudiness",           0, 100, 1);
+    plot.SetDescription("Sky Temperature [K]", "SkyTemp");
+    plot.Plot("Star.fAvgTempSky",         200, 300, 1);
+    plot.SetDescription("Maximum Humidity [%]", "MaxHum");
     plot.Plot("Star.fMaxHumidity",             0, 100, 1);
+    plot.SetDescription("Average Humidity [%]", "AvgHum");
+    plot.Plot("Star.fAvgHumidity",             0, 100, 1);
     plot.SetDescription("Average Temperature [\\circ C];T [\\circ C]", "Temp");
     plot.Plot("Star.fAvgTemperature",        -5, 25, 1);
