Index: trunk/Mars/Changelog
===================================================================
--- trunk/Mars/Changelog	(revision 9900)
+++ trunk/Mars/Changelog	(revision 9901)
@@ -26,4 +26,7 @@
    * mgeom/MGeomCamFACT.cc:
      - changed default distance from 4.8887 to 4.90
+
+   * mbase/MLut.cc:
+     - added possibility to have comment (ignored) lines
 
 
Index: trunk/Mars/mbase/MLut.cc
===================================================================
--- trunk/Mars/mbase/MLut.cc	(revision 9900)
+++ trunk/Mars/mbase/MLut.cc	(revision 9901)
@@ -286,4 +286,7 @@
 //  The lines can have a different number of entries.
 //
+//  Lines which first(!) character is a # are ignored (as they are not
+//  existing in the file)
+//
 Int_t MLut::ReadStream(istream &fin)
 {
@@ -293,4 +296,5 @@
 
     Int_t n = 0;
+    Int_t l = 0;
 
     while (1)
@@ -301,9 +305,14 @@
             break;
 
+        l++;
+
+        if (line[0]=='#')
+            continue;
+
         n++;
 
         if (line.Contains(reg))
         {
-            gLog << warn << "WARNING - MLut::ReadStream: Line #" << n << " contains invalid character... ignored." << endl;
+            gLog << warn << "WARNING - MLut::ReadStream: Line #" << l << " contains invalid character... ignored." << endl;
             continue;
         }
