Index: /trunk/MagicSoft/Mars/manalysis/MCT1ReadAscii.h
===================================================================
--- /trunk/MagicSoft/Mars/manalysis/MCT1ReadAscii.h	(revision 841)
+++ /trunk/MagicSoft/Mars/manalysis/MCT1ReadAscii.h	(revision 842)
@@ -13,5 +13,4 @@
 {
 private:
-    TString       fFileName;    // the file name of the string
     ifstream     *fIn;          // the inputfile
     MCerPhotEvt  *fNphot;       // the data container for all data.
Index: /trunk/MagicSoft/Mars/manalysis/MCerPhotCalc.cc
===================================================================
--- /trunk/MagicSoft/Mars/manalysis/MCerPhotCalc.cc	(revision 841)
+++ /trunk/MagicSoft/Mars/manalysis/MCerPhotCalc.cc	(revision 842)
@@ -113,4 +113,6 @@
     }
 
+    fCerPhotEvt->SetHasChanged();
+
     return kTRUE;
 }
Index: /trunk/MagicSoft/Mars/manalysis/MHillas.cc
===================================================================
--- /trunk/MagicSoft/Mars/manalysis/MHillas.cc	(revision 841)
+++ /trunk/MagicSoft/Mars/manalysis/MHillas.cc	(revision 842)
@@ -36,4 +36,5 @@
 
 #include <math.h>
+#include <fstream.h>
 
 #include <TEllipse.h>
@@ -51,10 +52,10 @@
 // Default constructor.
 //
-MHillas::MHillas(const char *name, const char *title) :
-    fAlpha(0), fTheta(0), fWidth(0), fLength(0), fSize(0), fDist(0), fEllipse(NULL)
+MHillas::MHillas(const char *name, const char *title) : fEllipse(NULL)
 {
     *fName  = name  ? name  : "MHillas";
     *fTitle = title ? title : "Storage container for Hillas parameter of one event";
 
+    Reset();
     // FIXME: Initialization of values missing
 }
@@ -66,4 +67,16 @@
 MHillas::~MHillas()
 {
+    Clear();
+}
+
+void MHillas::Reset()
+{
+    fAlpha  = 0;
+    fTheta  = 0;
+    fWidth  = 0;
+    fLength = 0;
+    fSize   = 0;
+    fDist   = 0;
+
     Clear();
 }
@@ -271,4 +284,26 @@
     if (xmean<0) fTheta += kPI;                      // [rad]
 
+    SetHasChanged();
+
     return kTRUE;
 }
+
+void MHillas::AsciiRead(ifstream &fin)
+{
+    fin >> fAlpha;
+    fin >> fTheta;
+    fin >> fWidth;
+    fin >> fLength;
+    fin >> fSize;
+    fin >> fDist;
+}
+
+void MHillas::AsciiWrite(ofstream &fout) const
+{
+    fout << fAlpha << " ";
+    fout << fTheta << " ";
+    fout << fWidth << " ";
+    fout << fLength << " ";
+    fout << fSize << " ";
+    fout << fDist << endl;
+}
Index: /trunk/MagicSoft/Mars/manalysis/MHillas.h
===================================================================
--- /trunk/MagicSoft/Mars/manalysis/MHillas.h	(revision 841)
+++ /trunk/MagicSoft/Mars/manalysis/MHillas.h	(revision 842)
@@ -27,4 +27,6 @@
     ~MHillas();
 
+    void Reset();
+
     Bool_t Calc(MGeomCam &geom, MCerPhotEvt &pix);
 
@@ -42,4 +44,7 @@
     Float_t GetTheta() const  { return fTheta; }
 
+    void AsciiRead(ifstream &fin);
+    void AsciiWrite(ofstream &fout) const;
+
     ClassDef(MHillas, 1) // Storage Container for Hillas Parameter
 };
