]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/macros/visscan_init.C
kine_tracks.C
[u/mrichter/AliRoot.git] / EVE / macros / visscan_init.C
index 97dc1648042fbdccd9954495e11ff9e91da15c0c..4faf49ee2979ccbd027039ae84fc6f897001efc0 100644 (file)
@@ -34,6 +34,7 @@ void visscan_init()
   TEveUtil::LoadMacro("its_clusters.C+");
   TEveUtil::LoadMacro("tpc_clusters.C+");
   TEveUtil::LoadMacro("trd_clusters.C+");
+  TEveUtil::LoadMacro("tof_clusters.C+");
 
   TEveLine::SetDefaultSmooth(1);
 
@@ -60,7 +61,7 @@ void visscan_init()
   if (gShowTRD) gGeomGentleTRD = geom_gentle_trd();
 
 
-  gROOT->ProcessLine(".L SplitGLView.C+g"); // !!!! debug-mode
+  gROOT->ProcessLine(".L SplitGLView.C+");
   TEveBrowser* browser = gEve->GetBrowser();
   browser->ExecPlugin("SplitGLView", 0, "new SplitGLView(gClient->GetRoot(), 600, 450, kTRUE)");
 
@@ -109,6 +110,13 @@ void on_new_event()
       trdc->SetMarkerStyle(4);
       trdc->SetMarkerSize(0.5);
     }
+
+    TEvePointSet* tofc = tof_clusters();
+    if (tofc) {
+      tofc->SetMarkerColor(kOrange);
+      tofc->SetMarkerStyle(4);
+      tofc->SetMarkerSize(0.5);
+    }
   }
   catch(TEveException& exc) {
     printf("Exception loading ITS/TPC clusters: %s\n", exc.Data());