]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/alice-macros/geom_fmd.C
addressing coverity warnings: now checking return value of fscanf
[u/mrichter/AliRoot.git] / EVE / alice-macros / geom_fmd.C
index c9f9d8f5ec5e0d53bb472858371e8744a5bdbbdd..4aef2d5b0bdf7a4d3050977a07eedfeeb2fd2696 100644 (file)
@@ -4,12 +4,12 @@
 /**************************************************************************
  * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
- * full copyright notice.                                                 * 
+ * full copyright notice.                                                 *
  **************************************************************************/
 
 void geom_fmd()
 {
-  gGeoManager = gEve->GetGeometry("$REVESYS/alice-data/alice_fullgeo.root");
+  gGeoManager = AliEveEventManager::AssertGeometry();
 
   TEveElementList* list = new TEveElementList("FMD");
   gEve->AddGlobalElement(list);