Index: trunk/MagicSoft/Mars/mreport/MReportPyrometer.cc
===================================================================
--- trunk/MagicSoft/Mars/mreport/MReportPyrometer.cc	(revision 8933)
+++ trunk/MagicSoft/Mars/mreport/MReportPyrometer.cc	(revision 8933)
@@ -0,0 +1,76 @@
+/* ======================================================================== *\
+!
+! *
+! * 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, 6/2008 <mailto:tbretz@astro.uni-wuerzburg.de>
+!
+!   Copyright: MAGIC Software Development, 2000-2008
+!
+!
+\* ======================================================================== */
+
+//////////////////////////////////////////////////////////////////////////////
+//
+//  MReportPyrometer
+//
+// This is the class interpreting and storing the PYRO-REPORT information.
+//
+//////////////////////////////////////////////////////////////////////////////
+#include "MReportPyrometer.h"
+
+#include "MLogManip.h"
+
+ClassImp(MReportPyrometer);
+
+using namespace std;
+
+// --------------------------------------------------------------------------
+//
+// Default construtor. Initialize identifier to "RUN-REPORT" No subsystem
+// is expected.
+//
+MReportPyrometer::MReportPyrometer() : MReport("PYRO-REPORT", kFALSE),
+    fTempSky(-1), fTempAir(-1), fCloudiness(-1), fLidOpen(kFALSE)
+
+{
+    fName  = "MReportPyrometer";
+    fTitle = "Class for PYRO-REPORT information";
+}
+
+// --------------------------------------------------------------------------
+//
+// Interprete the body of the RUN-REPORT string
+//
+Int_t MReportPyrometer::InterpreteBody(TString &str, Int_t ver)
+{
+    str = str.Strip(TString::kBoth);
+
+    Int_t status, len;
+
+    const Int_t n=sscanf(str.Data(), "%f %f %d %f %n",
+                         &fTempSky, &fCloudiness, &status, &fTempAir, &len);
+    if (n!=4)
+    {
+        *fLog << warn << "WARNING - Wrong number of arguments." << endl;
+        return kCONTINUE;
+    }
+
+    fLidOpen = status>0;
+
+    str.Remove(0, len);
+
+    return str.Strip(TString::kBoth).IsNull() ? kTRUE : kCONTINUE;
+}
Index: trunk/MagicSoft/Mars/mreport/MReportPyrometer.h
===================================================================
--- trunk/MagicSoft/Mars/mreport/MReportPyrometer.h	(revision 8933)
+++ trunk/MagicSoft/Mars/mreport/MReportPyrometer.h	(revision 8933)
@@ -0,0 +1,32 @@
+#ifndef MARS_MReportPyrometer
+#define MARS_MReportPyrometer
+
+#ifndef MARS_MReport
+#include "MReport.h"
+#endif
+
+class MReportPyrometer : public MReport
+{
+private:
+    Float_t fTempSky;     // [K] Temperature Sky
+    Float_t fTempAir;     // [K] Tempareture Air
+    Float_t fCloudiness;  // [%] Cloudiness
+
+    Bool_t  fLidOpen;     //     Lid Status
+
+    Int_t InterpreteBody(TString &str, Int_t ver);
+
+public:
+    MReportPyrometer();
+
+    Float_t GetTempSky() const { return fTempSky; }
+    Float_t GetTempAir() const { return fTempAir; }
+
+    Float_t GetCloudiness() const { return fCloudiness; }
+
+    Bool_t IsLidOpen() const { return fLidOpen; }
+
+    ClassDef(MReportPyrometer, 1) // Class for PYRO-REPORT information
+};
+
+#endif
Index: trunk/MagicSoft/Mars/mreport/MReportRun.cc
===================================================================
--- trunk/MagicSoft/Mars/mreport/MReportRun.cc	(revision 8885)
+++ trunk/MagicSoft/Mars/mreport/MReportRun.cc	(revision 8933)
@@ -35,6 +35,4 @@
 
 #include "MLogManip.h"
-
-#include "MAstro.h"
 
 ClassImp(MReportRun);
Index: trunk/MagicSoft/Mars/mreport/Makefile
===================================================================
--- trunk/MagicSoft/Mars/mreport/Makefile	(revision 8885)
+++ trunk/MagicSoft/Mars/mreport/Makefile	(revision 8933)
@@ -33,5 +33,7 @@
            MReportFileRead.cc \
            MReportFileReadCC.cc \
-           MReportStarguider.cc
+           MReportStarguider.cc \
+           MReportPyrometer.cc
+
 ############################################################
 
Index: trunk/MagicSoft/Mars/mreport/ReportLinkDef.h
===================================================================
--- trunk/MagicSoft/Mars/mreport/ReportLinkDef.h	(revision 8885)
+++ trunk/MagicSoft/Mars/mreport/ReportLinkDef.h	(revision 8933)
@@ -15,4 +15,5 @@
 #pragma link C++ class MReportTrigger+;
 #pragma link C++ class MReportCurrents+;
+#pragma link C++ class MReportPyrometer+;
 
 #pragma link C++ class MReportHelp+;
