]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/alice-macros/tof_clusters.C
Adding TOF visualization for online display (raw data + clusters). The macros work...
[u/mrichter/AliRoot.git] / EVE / alice-macros / tof_clusters.C
index 0f665371ed2dad55f95508feeabba0e3753a568b..59dd7639808f258589982a945e2cab2cc453bbfb 100644 (file)
@@ -59,6 +59,8 @@ TEvePointSet* tof_clusters(TEveElement* cont=0, Float_t maxR=390)
     }
   }
 
+  rl->UnloadRecPoints("TOF");
+
   if (clusters->Size() == 0 && gEve->GetKeepEmptyCont() == kFALSE) {
     Warning("tof_clusters.C", "No TOF clusters");
     delete clusters;
@@ -132,6 +134,8 @@ TEvePointSet* tof_clusters_sec(Int_t selectedSector,
     }
   }
 
+  rl->UnloadRecPoints("TOF");
+
   if (clusters->Size() == 0 && gEve->GetKeepEmptyCont() == kFALSE) {
     Warning("tof_clusters.C", "No TOF clusters");
     delete clusters;