Index: trunk/Mars/manalysis/MGeomApply.cc
===================================================================
--- trunk/Mars/manalysis/MGeomApply.cc	(revision 11450)
+++ trunk/Mars/manalysis/MGeomApply.cc	(revision 11451)
@@ -77,4 +77,5 @@
 #include "MGeomCam.h"
 #include "MCamEvent.h"
+#include "MRawRunHeader.h"
 
 ClassImp(MGeomApply);
@@ -115,4 +116,8 @@
     if (cam)
         return kTRUE;
+
+    MRawRunHeader *h = (MRawRunHeader*)pList->FindObject("MRawRunHeader");
+    if (h->GetCameraVersion()==0xfac7 && fGeomName=="MGeomCamMagic")
+        fGeomName = "MGeomCamFACT";
 
     cam = (MGeomCam*)pList->FindCreateObj(AddSerialNumber(fGeomName), "MGeomCam");
