Index: trunk/MagicSoft/Mars/mreport/MReportStarguider.cc
===================================================================
--- trunk/MagicSoft/Mars/mreport/MReportStarguider.cc	(revision 5796)
+++ trunk/MagicSoft/Mars/mreport/MReportStarguider.cc	(revision 5796)
@@ -0,0 +1,86 @@
+/* ======================================================================== *\
+!
+! *
+! * 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, 11/2003 <mailto:tbretz@astro.uni-wuerzburg.de>
+!              Benjamin Riegel, 01/2005 <mailto:riegel@astro.uni-wuerzburg.de>
+!
+!   Copyright: MAGIC Software Development, 2000-2005
+!
+!
+\* ======================================================================== */
+
+//////////////////////////////////////////////////////////////////////////////
+//
+//  MReportStarguider
+//
+// This is the class interpreting and storing the STARG-REPORT information.
+//
+// This is the place to get the azimuth-/zenith mispointing of the telescope
+// given by the starguider-camera.
+//
+//
+//
+// Double_t fDevAz;          // [deg]   azimuth mispointing
+// Double_t fDevZd;          // [deg]   zenith  mispointing
+//
+//
+//////////////////////////////////////////////////////////////////////////////
+#include "MReportStarguider.h"
+
+#include "MLogManip.h"
+
+ClassImp(MReportStarguider);
+
+using namespace std;
+
+// --------------------------------------------------------------------------
+//
+// Default constructor. Initialize identifier to "STARG-REPORT"
+//
+MReportStarguider::MReportStarguider() : MReport("STARG-REPORT"),
+    fDevAz(0), fDevZd(0)
+{
+    fName  = "MReportStarguider";
+    fTitle = "Class for STARG-REPORT information (telescope mispointing)";
+}
+
+// --------------------------------------------------------------------------
+//
+// Interprete the body of the STARG-REPORT string
+//
+Int_t MReportStarguider::InterpreteBody(TString &str, Int_t ver)
+{
+    Int_t len;
+    Int_t n=sscanf(str.Data(), "%lf %lf %n", &fDevAz, &fDevZd, &len);
+    if (n!=2)
+    {
+        *fLog << warn << "WARNING - Not enough arguments." << endl;
+        return kCONTINUE;
+    }
+
+    str.Remove(0, len);
+
+     str = str.Strip(TString::kBoth);
+
+    return str.IsNull() ? kTRUE : kCONTINUE;
+}
+
+
+void MReportStarguider::Print(Option_t *o) const
+{
+    *fLog << GetDescriptor() << ": DevZd=" << fDevZd << " DevAz=" << fDevAz << endl;
+}
Index: trunk/MagicSoft/Mars/mreport/MReportStarguider.h
===================================================================
--- trunk/MagicSoft/Mars/mreport/MReportStarguider.h	(revision 5796)
+++ trunk/MagicSoft/Mars/mreport/MReportStarguider.h	(revision 5796)
@@ -0,0 +1,27 @@
+#ifndef MARS_MReportStarguider
+#define MARS_MReportStarguider
+
+#ifndef MARS_MReport
+#include "MReport.h"
+#endif
+
+class MReportStarguider : public MReport
+{
+private:
+    Double_t fDevAz;  // [deg]   azimuth mispointing
+    Double_t fDevZd;  // [deg]   zenith  mispointing
+
+    Int_t InterpreteBody(TString &str, Int_t ver);
+
+public:
+    MReportStarguider();
+
+    Double_t GetDevAz() const { return fDevAz; }
+    Double_t GetDevZd() const { return fDevZd; }
+
+    void Print(Option_t *o="") const;
+
+    ClassDef(MReportStarguider, 1) // Class for STARG-REPORT information
+};
+
+#endif
Index: trunk/MagicSoft/Mars/mreport/Makefile
===================================================================
--- trunk/MagicSoft/Mars/mreport/Makefile	(revision 5118)
+++ trunk/MagicSoft/Mars/mreport/Makefile	(revision 5796)
@@ -32,6 +32,6 @@
            MReportCurrents.cc \
            MReportFileRead.cc \
-           MReportFileReadCC.cc
-
+           MReportFileReadCC.cc \
+           MReportStarguider.cc
 ############################################################
 
Index: trunk/MagicSoft/Mars/mreport/ReportLinkDef.h
===================================================================
--- trunk/MagicSoft/Mars/mreport/ReportLinkDef.h	(revision 5118)
+++ trunk/MagicSoft/Mars/mreport/ReportLinkDef.h	(revision 5796)
@@ -11,4 +11,5 @@
 #pragma link C++ class MReportDAQ+;
 #pragma link C++ class MReportDrive+;
+#pragma link C++ class MReportStarguider+;
 #pragma link C++ class MReportCamera+;
 #pragma link C++ class MReportTrigger+;
