Reset list of trees before resing new event.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 10 Sep 2008 17:04:23 +0000 (17:04 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 10 Sep 2008 17:04:23 +0000 (17:04 +0000)
STEER/AliESDInputHandlerRP.cxx

index ab6a8b3..ad19b59 100644 (file)
@@ -152,6 +152,8 @@ Bool_t AliESDInputHandlerRP::LoadEvent(Int_t iev)
     char folder[20];
     sprintf(folder, "Event%d", iev);
     // Tree R
+    fRTrees->Clear();
+    
     TIter next(fRFiles);
     TFile* file;
     while ((file = (TFile*) next()))