]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/alice-macros/primary_vertex.C
Waiting for a tagged version of Root. All the development is in EVE-dev
[u/mrichter/AliRoot.git] / EVE / alice-macros / primary_vertex.C
index 3eb5e5ff69c21deb98e9f1deff65244a881f93d7..0e56a5ca5310eea314f2a3f2ff1df54849950485 100644 (file)
@@ -11,6 +11,19 @@ TPolyMarker3D* make_vertex_marker(AliESDVertex* v, const Text_t* name)
 
   TPolyMarker3D* m = new TPolyMarker3D(8);
   m->SetName(name);
+
+  // Problem with volume/length suppression of objects in TGLViewer
+  /*
+  m->SetPoint(0, x[0]+e[0], x[1]+e[1], x[2]+e[2]);
+  m->SetPoint(1, x[0]+e[0], x[1]-e[1], x[2]+e[2]);
+  m->SetPoint(2, x[0]-e[0], x[1]-e[1], x[2]+e[2]);
+  m->SetPoint(3, x[0]-e[0], x[1]+e[1], x[2]+e[2]);
+
+  m->SetPoint(4, x[0]+e[0], x[1]+e[1], x[2]-e[2]);
+  m->SetPoint(5, x[0]+e[0], x[1]-e[1], x[2]-e[2]);
+  m->SetPoint(6, x[0]-e[0], x[1]+e[1], x[2]-e[2]);
+  m->SetPoint(7, x[0]-e[0], x[1]-e[1], x[2]-e[2]);
+  */
   m->SetPoint(0, x[0], x[1], x[2]);
 
   return m;