Index: trunk/MagicSoft/Mars/mraw/MRawEvtHeader.cc
===================================================================
--- trunk/MagicSoft/Mars/mraw/MRawEvtHeader.cc	(revision 2563)
+++ trunk/MagicSoft/Mars/mraw/MRawEvtHeader.cc	(revision 2580)
@@ -207,4 +207,10 @@
     *fLog << "Number of Lo Gains On: " << fNumLoGainOn << endl;
 
+    TString str(o);
+    str.ToLower();
+
+    if (str.Contains("nogains"))
+        return;
+
     for (unsigned int i=0; i<fPixLoGainOn->GetSize(); i++)
     {
@@ -245,11 +251,13 @@
     // store the time of the event in the corresponding container
     //
-    const Double_t mhz = 9.375;                        // [1e6 ticks/s]
-    const Double_t t   = (Double_t)abstime[0]/mhz;     // [ns]
-    const UShort_t ns  = (UShort_t)fmod(t*1e-3, 1e9);
-    const Byte_t s     = (Byte_t)fmod(t/1e12, 60);
-    const Byte_t m     = (Byte_t)fmod(t/60e12, 60);
-    const Byte_t h     = (Byte_t)(t/3600e12);
-    fTime->SetTime(h, m, s, ns);
+    /*
+     const Double_t mhz = 9.375;                        // [1e6 ticks/s]
+     const Double_t t   = (Double_t)abstime[0]/mhz;     // [ns]
+     const UShort_t ns  = (UShort_t)fmod(t*1e-3, 1e9);
+     const Byte_t s     = (Byte_t)fmod(t/1e12, 60);
+     const Byte_t m     = (Byte_t)fmod(t/60e12, 60);
+     const Byte_t h     = (Byte_t)(t/3600e12);
+     fTime->SetTime(h, m, s, ns);
+     */
 
     Byte_t dummy[4];
