Index: trunk/Mars/Changelog
===================================================================
--- trunk/Mars/Changelog	(revision 9901)
+++ trunk/Mars/Changelog	(revision 9902)
@@ -29,4 +29,7 @@
    * mbase/MLut.cc:
      - added possibility to have comment (ignored) lines
+
+   * msim/MHPhotonEvent.cc:
+     - fixed Type==5
 
 
Index: trunk/Mars/msim/MHPhotonEvent.cc
===================================================================
--- trunk/Mars/msim/MHPhotonEvent.cc	(revision 9901)
+++ trunk/Mars/msim/MHPhotonEvent.cc	(revision 9902)
@@ -237,6 +237,6 @@
             }
             // Type 3: Define ~10 bins per pixel
-            xmax = fType==3 ? c->GetMaxRadius() : 4*(*c)[0].GetT()/10;
-            num  = fType==3 ? TMath::Nint(10*(2*c->GetMaxRadius())/(2*(*c)[0].GetT())) : 101;
+            xmax = fType==3 || fType==5 ? c->GetMaxRadius() : 4*(*c)[0].GetT()/10;
+            num  = fType==3 || fType==5 ? TMath::Nint(10*(2*c->GetMaxRadius())/(2*(*c)[0].GetT())) : 101;
 
             if (fType==5)
