Clean at the end of loop
authorloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 14 Apr 2011 16:15:18 +0000 (16:15 +0000)
committerloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 14 Apr 2011 16:15:18 +0000 (16:15 +0000)
PWG4/CaloCalib/AliAnalysisTaskEMCALPi0PbPb.cxx

index 06e0f61..b408dfc 100644 (file)
@@ -587,6 +587,9 @@ void AliAnalysisTaskEMCALPi0PbPb::UserExec(Option_t *)
   FillOtherHists();
   FillNtuple();
 
+  fSelTracks->Clear();
+  fSelPrimTracks->Clear();
+
   PostData(1, fOutput);
 }