Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 4114)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 4115)
@@ -26,4 +26,9 @@
      - changed the inheritance of MRawRead class from MTask to MRead to
        implement the AddFiles(MDirIter &) function in MRawFileRead class.
+   * mraw/MRawFileRead.[h,cc]
+     - implemented a second argument to the AddFile function and skip 
+       adding NULL files in the constructor.
+   * mjobs/MJPedestal.cc
+     - uncommented the line to allow the analysis of .raw files.
 
  2004/05/20: Markus Gaug
Index: /trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
===================================================================
--- /trunk/MagicSoft/Mars/mjobs/MJPedestal.cc	(revision 4114)
+++ /trunk/MagicSoft/Mars/mjobs/MJPedestal.cc	(revision 4115)
@@ -238,9 +238,9 @@
     MGeomCamMagic magiccam;
     MReadMarsFile read("Events");
-    MRawFileRead rawread("");
+    MRawFileRead rawread(NULL);
 
     if (fDataCheck)
     {
-//	rawread.AddFiles(*fRuns);
+	rawread.AddFiles(*fRuns);
 	tlist.AddToList(&rawread);
     }
Index: /trunk/MagicSoft/Mars/mraw/MRawFileRead.cc
===================================================================
--- /trunk/MagicSoft/Mars/mraw/MRawFileRead.cc	(revision 4114)
+++ /trunk/MagicSoft/Mars/mraw/MRawFileRead.cc	(revision 4115)
@@ -109,5 +109,6 @@
     fFileNames->SetOwner();
 
-    AddFile(fname);
+    if(fname!=NULL)
+      AddFile(fname);
 }
 
@@ -129,5 +130,5 @@
 // wildcard support)
 //
-Int_t MRawFileRead::AddFile(const char *fname)
+Int_t MRawFileRead::AddFile(const char *fname, Int_t entries)
 {
     TNamed *name = new TNamed(fname, "");
Index: /trunk/MagicSoft/Mars/mraw/MRawFileRead.h
===================================================================
--- /trunk/MagicSoft/Mars/mraw/MRawFileRead.h	(revision 4114)
+++ /trunk/MagicSoft/Mars/mraw/MRawFileRead.h	(revision 4115)
@@ -36,5 +36,5 @@
     const TString GetFileName() const;
 
-    Int_t  AddFile(const char *fname);
+    Int_t  AddFile(const char *fname, Int_t entries=-1);
     Bool_t Rewind();
 
