]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Corrected run-loader load-unload sequence.
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 27 May 2008 15:45:41 +0000 (15:45 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 27 May 2008 15:45:41 +0000 (15:45 +0000)
EVE/alice-macros/clusters.C
EVE/alice-macros/tpc_clusters.C

index 0f300ed08de0ce5a939f0f2f8d23b17692c047c1..46b8fd81c82dbd44b912bd8004eb51041d8c526f 100644 (file)
@@ -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");
index bbb0571ea7165a3785b8c3471df0e79c8d4e0930..a245162a8c1f8511016fae9fa581bf5d8e7ba25f 100644 (file)
@@ -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");