Index: branches/Corsika7405Compatibility/msim/MPhotonEvent.cc
===================================================================
--- branches/Corsika7405Compatibility/msim/MPhotonEvent.cc	(revision 18180)
+++ 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 18180)
+++ 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
 };
