]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/alice-macros/geom_tpc.C
Commit for Simone - Temorarily removal of some histos
[u/mrichter/AliRoot.git] / EVE / alice-macros / geom_tpc.C
index 7bdb14aec96c9cc3f235c07d7359f0707db46dbb..3539c9d7883a9792346a98c2d416497f23bb63cc 100644 (file)
@@ -7,9 +7,19 @@
  * full copyright notice.                                                 *
  **************************************************************************/
 
+#if !defined(__CINT__) || defined(__MAKECINT__)
+#include <TGeoManager.h>
+#include <TGeoNode.h>
+#include <TEveManager.h>
+#include <TEveGeoNode.h>
+
+#include <AliEveEventManager.h>
+#endif
+
 void geom_tpc()
 {
-  gGeoManager = gEve->GetGeometry("$REVESYS/alice-data/alice_fullgeo.root");
+  AliEveEventManager::AssertGeometry();
+
   TGeoNode* node = gGeoManager->GetTopVolume()->FindNode("TPC_M_1");
 
   TEveGeoTopNode* tpc_re = new TEveGeoTopNode(gGeoManager, node);