Index: trunk/MagicSoft/Mars/mraw/MRawEvtData.cc
===================================================================
--- trunk/MagicSoft/Mars/mraw/MRawEvtData.cc	(revision 4178)
+++ trunk/MagicSoft/Mars/mraw/MRawEvtData.cc	(revision 4358)
@@ -525,8 +525,7 @@
 // --------------------------------------------------------------------------
 //
-// Make sure, that you skip the whole event. This function only skips a part
-// of the event - see MRawRead::SkipEvent
-//
-void MRawEvtData::SkipEvt(istream &fin)
+// Return the size in bytes of one event data block
+//
+Int_t MRawEvtData::GetNumBytes() const
 {
     const UShort_t nlo  = fRunHeader->GetNumSamplesLoGain();
@@ -534,5 +533,15 @@
     const UShort_t npic = fRunHeader->GetNumPixInCrate();
 
-    fin.seekg((nhi+nlo)*npic, ios::cur);
+    return (nhi+nlo)*npic;
+}
+
+// --------------------------------------------------------------------------
+//
+// Make sure, that you skip the whole event. This function only skips a part
+// of the event - see MRawRead::SkipEvent
+//
+void MRawEvtData::SkipEvt(istream &fin)
+{
+    fin.seekg(GetNumBytes(), ios::cur);
 }
 
Index: trunk/MagicSoft/Mars/mraw/MRawEvtData.h
===================================================================
--- trunk/MagicSoft/Mars/mraw/MRawEvtData.h	(revision 4178)
+++ trunk/MagicSoft/Mars/mraw/MRawEvtData.h	(revision 4358)
@@ -43,4 +43,6 @@
     void InitArrays(Bool_t flag=kFALSE);
     void DeleteArrays();
+
+    Int_t GetNumBytes() const;
 
 public:
