]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/alice-macros/MUON_makeGeom.C
Modified macros to be compilable by ACLiC
[u/mrichter/AliRoot.git] / EVE / alice-macros / MUON_makeGeom.C
index af2fc9d79201416c8abc17d6c5d32b4bed567d40..e8b8acb3c2311e6f8ca62f3ef0737c85edc8b5a1 100644 (file)
 /// \file MUON_makeGeom.C
 ///
 /// \author B. Vulpescu, LPC
+#if !defined(__CINT__) || defined(__MAKECINT__)
+#include <TGeoManager.h>
 
+#include <MUON/mapping/AliMpCDB.h>
+#include <STEER/STEER/AliRun.h>
+#endif
+
+void MUON_makeGeom()
 {
   AliMpCDB::LoadMpSegmentation2(); 
-  gAlice->Init("$ALICE_ROOT/MUON/Config.C");
+  gAlice->SetConfigFunction("$ALICE_ROOT/MUON/Config.C");
   //gAlice->Init("Config.C");
 
   gGeoManager->Export("geometry.root");