Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 5140)
+++ trunk/MagicSoft/Mars/Changelog	(revision 5141)
@@ -19,4 +19,12 @@
 
                                                  -*-*- END OF LINE -*-*-
+
+ 2004/09/28: Raquel de los Reyes
+
+   * mbase/MRunIter.cc
+     - Changes in the AddRun function to read the old and the new DAQ 
+       numbering format. Changes took place between runs 35487 and 
+       00035488 (2004_08_30)
+
  2004/09/27: Abelardo Moralejo
 
Index: trunk/MagicSoft/Mars/mbase/MRunIter.cc
===================================================================
--- trunk/MagicSoft/Mars/mbase/MRunIter.cc	(revision 5140)
+++ trunk/MagicSoft/Mars/mbase/MRunIter.cc	(revision 5141)
@@ -52,5 +52,13 @@
         p = ".";
 
-    MDirIter Next(p, Form("*_%05d_*_%s", run,fIsRawFile?"*.raw":"*.root"), -1);
+    // R. DeLosReyes and T. Bretz
+    // Changes to read the DAQ numbering format. Changes takes place 
+    // between runs 35487 and 00035488 (2004_08_30)
+
+      MDirIter Next;
+      if(run<=35487)
+	Next.AddDirectory(p, Form("*_%05d_*_%s", run,fIsRawFile?"*.raw":"*.root"), -1);
+      else
+	Next.AddDirectory(p, Form("*_%08d_*_%s", run,fIsRawFile?"*.raw":"*.root"), -1);
 
     const TString name(Next());
