From 6b6f47acd65b285d33b3f4a1e60fcff4916827f7 Mon Sep 17 00:00:00 2001 From: cvetan Date: Tue, 27 May 2008 15:45:41 +0000 Subject: [PATCH] Corrected run-loader load-unload sequence. --- EVE/alice-macros/clusters.C | 3 +++ EVE/alice-macros/tpc_clusters.C | 2 ++ 2 files changed, 5 insertions(+) diff --git a/EVE/alice-macros/clusters.C b/EVE/alice-macros/clusters.C index 0f300ed08de..46b8fd81c82 100644 --- a/EVE/alice-macros/clusters.C +++ b/EVE/alice-macros/clusters.C @@ -81,6 +81,9 @@ void clusters() } } + for (Int_t i = 0; i < detN; ++i) + rl->UnloadRecPoints(detNames[i]); + // Fill visualization structs TEveElementList* list = new TEveElementList("Clusters"); diff --git a/EVE/alice-macros/tpc_clusters.C b/EVE/alice-macros/tpc_clusters.C index bbb0571ea71..a245162a8c1 100644 --- a/EVE/alice-macros/tpc_clusters.C +++ b/EVE/alice-macros/tpc_clusters.C @@ -72,6 +72,8 @@ TEvePointSet* tpc_clusters(TEveElement* cont=0, Float_t maxR=270) delete clrow; + rl->LoadRecPoints("TPC"); + if (clusters->Size() == 0 && gEve->GetKeepEmptyCont() == kFALSE) { Warning("tpc_clusters.C", "No TPC clusters"); -- 2.39.3