Index: /trunk/Mars/mcorsika/MCorsikaFormat.h
===================================================================
--- /trunk/Mars/mcorsika/MCorsikaFormat.h	(revision 19329)
+++ /trunk/Mars/mcorsika/MCorsikaFormat.h	(revision 19330)
@@ -19,6 +19,16 @@
 
 public:
-    static const unsigned int kSyncMarker;
-    static const unsigned int kMagicNumber;
+    enum
+    {
+        kBlockLengthRaw  = 0x00005994, // Raw Corsika without Thinning
+        kBlockLengthThin = 0x00006660, // Raw Corsika with Thinning
+
+        kSyncMarker  = 0xd41f8a37,     // EventIO
+
+        kRUNH = 0x484e5552, // "RUNH"
+        kRUNE = 0x454e5552, // "RUNE"
+        kEVTH = 0x48545645, // "EVTH"
+        kEVTE = 0x45545645, // "EVTE"
+    };
 
    MCorsikaFormat(std::istream * in)
@@ -46,9 +56,9 @@
 {
 private:
-   bool fHasMagicNumber;
+   uint32_t fBlockLength;
 
 public:
-   MCorsikaFormatRaw(std::istream * in, bool h)
-        : MCorsikaFormat(in), fHasMagicNumber(h) {}
+   MCorsikaFormatRaw(std::istream * in, const uint32_t &bl)
+        : MCorsikaFormat(in), fBlockLength(bl) {}
 
    Bool_t NextBlock(Int_t   readState, Int_t & blockType, Int_t & blockVersion,
