Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 1533)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 1534)
@@ -1,3 +1,9 @@
                                                                   -*-*- END -*-*-
+
+ 2002/10/09: Abelardo Moralejo
+
+   * mhist/MHMcRate.cc:
+     - fixed a bug in total rate calculation (results change very little, 
+       only a 0.2 percent at most)
 
  2002/09/16: Thomas Bretz
Index: /trunk/MagicSoft/Mars/mhist/MHMcRate.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MHMcRate.cc	(revision 1533)
+++ /trunk/MagicSoft/Mars/mhist/MHMcRate.cc	(revision 1534)
@@ -195,5 +195,9 @@
     fShowerRateError = sqrt(fShowerRate);
 
-    const Double_t anal2 = 1.0-anal*160.0e-9;
+    // The simulated trigger time in the camera program is 160 ns:
+    // 9/10/2002, AM: Fixed error below in calculation of "anal2"
+    // ( added factor fShowerRate/simu )
+
+    const Double_t anal2 = 1.0-fShowerRate*(anal/simu)*160.0e-9;
     const Double_t back2 = fBackSim*160.0e-9;
 
