AliPHOSGetter is removed here
[u/mrichter/AliRoot.git] / PHOS / AliPHOSDigitizer.cxx
index 2c03c8d..fa8f465 100644 (file)
@@ -700,7 +700,10 @@ Bool_t AliPHOSDigitizer::Init()
   // Makes all memory allocations
   fInit = kTRUE ; 
 
-  const AliPHOSGeometry *geom = AliPHOSGeometry::GetInstance() ;
+  AliPHOSGeometry *geom;
+  if (!(geom = AliPHOSGeometry::GetInstance())) 
+        geom = AliPHOSGeometry::GetInstance("IHEP","");
+//   const AliPHOSGeometry *geom = AliPHOSGeometry::GetInstance() ;
 
   fEmcCrystals = geom->GetNModules() * geom->GetNCristalsInModule() ;