Index: trunk/Mars/Changelog
===================================================================
--- trunk/Mars/Changelog	(revision 9947)
+++ trunk/Mars/Changelog	(revision 9948)
@@ -19,4 +19,11 @@
                                                  -*-*- END OF LINE -*-*-
 
+ 2010/09/30 Thomas Bretz
+
+   * msimreflector/MMirrorSquare.[h,cc]:
+     - implemented WriteM
+
+
+
  2010/09/29 Thomas Bretz
 
@@ -28,5 +35,5 @@
      - added MMirrorHex90
 
-   * msimreflector/MMirrorDisk.[h,cc], msimreflector/MMirrorSquare.[h,cc]:
+   * msimreflector/MMirrorDisk.[h,cc]:
      - implemented WriteM
 
Index: trunk/Mars/msimreflector/MMirrorSquare.cc
===================================================================
--- trunk/Mars/msimreflector/MMirrorSquare.cc	(revision 9947)
+++ trunk/Mars/msimreflector/MMirrorSquare.cc	(revision 9948)
@@ -185,2 +185,9 @@
     return 1;
 }
+
+// ------------------------------------------------------------------------
+//
+void MMirrorSquare::WriteM(ostream &out) const
+{
+    out << fSideLength*2;
+}
Index: trunk/Mars/msimreflector/MMirrorSquare.h
===================================================================
--- trunk/Mars/msimreflector/MMirrorSquare.h	(revision 9947)
+++ trunk/Mars/msimreflector/MMirrorSquare.h	(revision 9948)
@@ -22,4 +22,5 @@
 
     Int_t ReadM(const TObjArray &tok);
+    void  WriteM(std::ostream &out) const;
 
     // TObject
