Index: /branches/Corsika7405Compatibility/mcorsika/MCorsikaEvtHeader.cc
===================================================================
--- /branches/Corsika7405Compatibility/mcorsika/MCorsikaEvtHeader.cc	(revision 18234)
+++ /branches/Corsika7405Compatibility/mcorsika/MCorsikaEvtHeader.cc	(revision 18235)
@@ -153,4 +153,7 @@
     // f[96] // Number of reuse of event [max=20]
     fTotReuse = TMath::Nint(f[96]);
+
+    std::cout << "            Total Reuse:" << fTotReuse << std::endl;
+
     if (fTotReuse > 20)
       {
Index: /branches/Corsika7405Compatibility/mcorsika/MCorsikaRead.cc
===================================================================
--- /branches/Corsika7405Compatibility/mcorsika/MCorsikaRead.cc	(revision 18234)
+++ /branches/Corsika7405Compatibility/mcorsika/MCorsikaRead.cc	(revision 18235)
@@ -406,5 +406,5 @@
       return kTRUE;
 
-   if (fBlockType == 1204 && fReadState != 2)
+   if (fBlockType == 1204 && (fReadState != 2 && fReadState != 15) )
       // next is a new set of telescope arrays, we store the previous ones
       // but not if this is the first one (fReadState != 2)
@@ -478,10 +478,11 @@
 Int_t MCorsikaRead::Process()
 {
-	fEvent->Clear();
-	fEvent->Reset();
+	//fEvent->Clear();
+
+	//fEvent->Resize(0);
+
+
+	std::cout << "\n\n MCorsikaRead Process " << std::endl;
 	fEvent->Resize(0);
-
-
-	std::cout << "\n\n MCorsikaRead Process " << std::endl;
    while (1)  // loop for multiple input files
    {
@@ -530,4 +531,5 @@
                status = fEvtHeader->ReadEvt(buffer);
 
+               std::cout << "----------ArrayIndex:: " << fArrayIdx << std::endl;
 
                if (fArrayIdx >= (Int_t)fEvtHeader->GetTotReuse())
@@ -550,6 +552,8 @@
                else
                   // skip this array of telescopes
+               	   {
                   fInFormat->Seek(fBlockLength);
                	   std::cout << "Skip Array!" << std::endl;
+               	   }
                break;
 
@@ -558,4 +562,6 @@
                {
                Int_t telIdx   = fBlockIdentifier % 1000;
+
+               std::cout << "----------TelescopeIndex:: " << fTelescopeIdx << std::endl;
 
                if (fBlockVersion == 0  && (fTelescopeIdx < 0 || fTelescopeIdx ==  telIdx) )
@@ -575,5 +581,5 @@
 
 
-                  bool tmpWeight = false;
+                  /*bool tmpWeight = false;
                   std::cout << "ReadEventIO Telescope data with " << fEvent->GetNumPhotons() << std::endl;
                   for(int i=0; i<fEvent->GetNumPhotons(); i++)
@@ -585,5 +591,5 @@
                   }
                   if(tmpWeight)
-                	  std::cout << "CorsikaRead Photon weight != 1" << std::endl;
+                	  std::cout << "CorsikaRead Photon weight != 1" << std::endl;*/
 
                   }
@@ -629,5 +635,5 @@
             case 1105:  // event block of raw format
             	static int NmrEventBlock = 0;
-            	//std::cout << "EventBlock ||||||" << ++NmrEventBlock << std::endl;
+            	std::cout << "EventBlock ||||||" << ++NmrEventBlock << std::endl;
                if (fReadState == 2 || fReadState == 10)
                   {
@@ -677,5 +683,10 @@
             return status;
 
+
          Int_t headerStatus =  ReadNextBlockHeader();
+
+         std::cout << "fBlockType: " << fBlockType << "  fReadState: " << fReadState
+        		 << " HeaderStatus: " << headerStatus << std::endl;
+
 
          if (headerStatus == kFALSE) 
Index: /branches/Corsika7405Compatibility/msim/MPhotonEvent.cc
===================================================================
--- /branches/Corsika7405Compatibility/msim/MPhotonEvent.cc	(revision 18234)
+++ /branches/Corsika7405Compatibility/msim/MPhotonEvent.cc	(revision 18235)
@@ -513,7 +513,9 @@
 
 
-   //std::cout << "BunchHeader: " << bunchHeader[0] << " "
-	//	   << bunchHeader[1] << " "
-	//	   << bunchHeader[2] << std::endl;
+   /*std::cout << "BunchHeader: " << bunchHeader[0] << " "
+		   << bunchHeader[1] << " "
+		   << bunchHeader[2] << std::endl;*/
+
+   this->Resize(bunchHeader[2]);
 
    Int_t n = 0;
@@ -541,4 +543,6 @@
 {
    Int_t n = 0;
+
+   this->Resize(numEvents);
 
    for (Int_t event = 0; event < numEvents; event++)
@@ -602,2 +606,8 @@
     }
 }
+
+
+void MPhotonEvent::Reset()
+{
+	std::cout << "Reset!!"; this->Clear(); this->Resize(0);
+}
Index: /branches/Corsika7405Compatibility/msim/MPhotonEvent.h
===================================================================
--- /branches/Corsika7405Compatibility/msim/MPhotonEvent.h	(revision 18234)
+++ /branches/Corsika7405Compatibility/msim/MPhotonEvent.h	(revision 18235)
@@ -11,4 +11,5 @@
 
 #include <iosfwd>
+#include <iostream>
 
 using namespace std;
@@ -68,4 +69,7 @@
     //void Clear(Option_t * = NULL);
 
+    void Reset();
+    //void Reset(){std::cout << "Reset!!"; this->Clear(); this->Resize(0); }
+
     ClassDef(MPhotonEvent, 1) //Container to store the raw Event Data
 };
Index: /branches/Corsika7405Compatibility/msimcamera/MSimAPD.cc
===================================================================
--- /branches/Corsika7405Compatibility/msimcamera/MSimAPD.cc	(revision 18234)
+++ /branches/Corsika7405Compatibility/msimcamera/MSimAPD.cc	(revision 18235)
@@ -307,5 +307,5 @@
             *fLog << err << "ERROR - MSimAPD: Weight of " << i << "-th photon not 1, but " << ph.GetWeight() << endl;
             ph.Print();
-            //return kERROR;
+            return kERROR;
         }
 
