Index: /trunk/MagicSoft/Mars/mreport/MReportCC.h
===================================================================
--- /trunk/MagicSoft/Mars/mreport/MReportCC.h	(revision 2706)
+++ /trunk/MagicSoft/Mars/mreport/MReportCC.h	(revision 2707)
@@ -14,8 +14,8 @@
     Float_t fSolarRadiation; // [W/m^2] IR-Radiation
 
+    Bool_t InterpreteBody(TString &str);
+
 public:
     MReportCC();
-
-    Bool_t InterpreteBody(TString &str);
 
     ClassDef(MReportCC, 1) // Class for CC-REPORT information
Index: /trunk/MagicSoft/Mars/mreport/MReportCamera.h
===================================================================
--- /trunk/MagicSoft/Mars/mreport/MReportCamera.h	(revision 2706)
+++ /trunk/MagicSoft/Mars/mreport/MReportCamera.h	(revision 2707)
@@ -39,8 +39,8 @@
     Bool_t InterpreteCAL(TString &str);
 
+    Bool_t InterpreteBody(TString &str);
+
 public:
     MReportCamera();
-
-    Bool_t InterpreteBody(TString &str);
 
     ClassDef(MReportCamera, 1) // Class for CAMERA-REPORT information
Index: /trunk/MagicSoft/Mars/mreport/MReportDAQ.h
===================================================================
--- /trunk/MagicSoft/Mars/mreport/MReportDAQ.h	(revision 2706)
+++ /trunk/MagicSoft/Mars/mreport/MReportDAQ.h	(revision 2707)
@@ -9,8 +9,8 @@
 {
 private:
+    Bool_t InterpreteBody(TString &str);
+
 public:
     MReportDAQ();
-
-    Bool_t InterpreteBody(TString &str);
 
     ClassDef(MReportDAQ, 1) // Class for DAQ-REPORT information
Index: /trunk/MagicSoft/Mars/mreport/MReportDrive.h
===================================================================
--- /trunk/MagicSoft/Mars/mreport/MReportDrive.h	(revision 2706)
+++ /trunk/MagicSoft/Mars/mreport/MReportDrive.h	(revision 2707)
@@ -23,8 +23,8 @@
     Double_t fErrorAz;    // [?]
 
+    Bool_t InterpreteBody(TString &str);
+
 public:
     MReportDrive();
-
-    Bool_t InterpreteBody(TString &str);
 
     Double_t GetMjd() const       { return fMjd;       }
Index: /trunk/MagicSoft/Mars/mreport/MReportRun.cc
===================================================================
--- /trunk/MagicSoft/Mars/mreport/MReportRun.cc	(revision 2707)
+++ /trunk/MagicSoft/Mars/mreport/MReportRun.cc	(revision 2707)
@@ -0,0 +1,72 @@
+/* ======================================================================== *\
+!
+! *
+! * This file is part of MARS, the MAGIC Analysis and Reconstruction
+! * Software. It is distributed to you in the hope that it can be a useful
+! * and timesaving tool in analysing Data of imaging Cerenkov telescopes.
+! * It is distributed WITHOUT ANY WARRANTY.
+! *
+! * Permission to use, copy, modify and distribute this software and its
+! * documentation for any purpose is hereby granted without fee,
+! * provided that the above copyright notice appear in all copies and
+! * that both that copyright notice and this permission notice appear
+! * in supporting documentation. It is provided "as is" without express
+! * or implied warranty.
+! *
+!
+!
+!   Author(s): Thomas Bretz, 12/2003 <mailto:tbretz@astro.uni-wuerzburg.de>
+!
+!   Copyright: MAGIC Software Development, 2000-2003
+!
+!
+\* ======================================================================== */
+
+//////////////////////////////////////////////////////////////////////////////
+//
+//  MReportRun
+//
+// This is the class interpreting and storing the RUN-REPORT information.
+//
+//////////////////////////////////////////////////////////////////////////////
+#include "MReportRun.h"
+
+#include "MLogManip.h"
+
+#include "MAstro.h"
+
+ClassImp(MReportRun);
+
+using namespace std;
+
+MReportRun::MReportRun() : MReport("RUN-REPORT", kFALSE), fRunNumber(0)
+{
+    fName  = "MReportRun";
+    fTitle = "Class for RUN-REPORT information";
+}
+
+Bool_t MReportRun::InterpreteBody(TString &str)
+{
+    // Remove the 30 tokens of the subsystem status
+    //  table 12.1 p59
+    for (int i=0; i<30; i++)
+        str.Remove(0, str.First(' ')+1);
+
+    Int_t len;
+    const Int_t n=sscanf(str.Data(), "%d %n", &fRunNumber, &len);
+    if (n!=1)
+    {
+        *fLog << err << "ERROR - Wrong number of arguments." << endl;
+        return kFALSE;
+    }
+    str.Remove(0, len);
+
+    if (str.BeginsWith("END"))
+        fRunNumber = -1;
+
+    str.Remove(0, 6);
+    str = str.Strip(TString::kBoth);
+    fSourceName = str(0, str.First(' ')+1);
+
+    return kTRUE;
+}
Index: /trunk/MagicSoft/Mars/mreport/MReportTrigger.h
===================================================================
--- /trunk/MagicSoft/Mars/mreport/MReportTrigger.h	(revision 2706)
+++ /trunk/MagicSoft/Mars/mreport/MReportTrigger.h	(revision 2707)
@@ -19,8 +19,8 @@
     //TArrayF fRates;           //[Hz] curently undefined
 
+    Bool_t InterpreteBody(TString &str);
+
 public:
     MReportTrigger();
-
-    Bool_t InterpreteBody(TString &str);
 
     ClassDef(MReportTrigger, 1) // Class for TRIGGER-REPORT information
Index: /trunk/MagicSoft/Mars/mreport/Makefile
===================================================================
--- /trunk/MagicSoft/Mars/mreport/Makefile	(revision 2706)
+++ /trunk/MagicSoft/Mars/mreport/Makefile	(revision 2707)
@@ -31,4 +31,5 @@
 SRCFILES = MReport.cc \
            MReportCC.cc \
+           MReportRun.cc \
            MReportDAQ.cc \
            MReportDrive.cc \
Index: /trunk/MagicSoft/Mars/mreport/ReportLinkDef.h
===================================================================
--- /trunk/MagicSoft/Mars/mreport/ReportLinkDef.h	(revision 2706)
+++ /trunk/MagicSoft/Mars/mreport/ReportLinkDef.h	(revision 2707)
@@ -8,4 +8,5 @@
 
 #pragma link C++ class MReportCC+;
+#pragma link C++ class MReportRun+;
 #pragma link C++ class MReportDAQ+;
 #pragma link C++ class MReportDrive+;
