]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/alice-macros/geom_pmd.C
bug fix: particle map was not added to the event
[u/mrichter/AliRoot.git] / EVE / alice-macros / geom_pmd.C
index 43dc09cee8987395ab10c3d0e05a717b32c7d1db..0bcd817d4f170d64f94d8530eae065c8afba90c5 100644 (file)
@@ -7,9 +7,17 @@
  * full copyright notice.                                                 *
  **************************************************************************/
 
+#if !defined(__CINT__) || defined(__MAKECINT__)
+#include <TGeoManager.h>
+#include <TEveManager.h>
+#include <TEveGeoNode.h>
+
+#include <AliEveEventManager.h>
+#endif
+
 void geom_pmd()
 {
-  gGeoManager = gEve->GetDefaultGeometry();
+  AliEveEventManager::AssertGeometry();
 
   for(Int_t i=1; i<=4; ++i) {
     //PH The line below is replaced waiting for a fix in Root