Index: /trunk/MagicSoft/Mars/mraw/MRawEvtHeader.cc
===================================================================
--- /trunk/MagicSoft/Mars/mraw/MRawEvtHeader.cc	(revision 4022)
+++ /trunk/MagicSoft/Mars/mraw/MRawEvtHeader.cc	(revision 4023)
@@ -227,4 +227,13 @@
 // --------------------------------------------------------------------------
 //
+// Return the size in bytes of the event header.
+//
+Int_t MRawEvtHeader::GetNumBytes() const
+{
+    return 36+fPixLoGainOn->GetSize();
+}
+
+// --------------------------------------------------------------------------
+//
 // Used to set the header information. This is for MC only. NEVER, NEVER
 // use this somewhere else!
Index: /trunk/MagicSoft/Mars/mraw/MRawEvtHeader.h
===================================================================
--- /trunk/MagicSoft/Mars/mraw/MRawEvtHeader.h	(revision 4022)
+++ /trunk/MagicSoft/Mars/mraw/MRawEvtHeader.h	(revision 4023)
@@ -47,5 +47,5 @@
     Bool_t DecodeTime(UInt_t abstime[2]) const;
 
-    Int_t GetNumBytes() const { return 36+fPixLoGainOn->GetSize(); }
+    Int_t GetNumBytes() const;
 
 public:
