]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
- Small fix for shadowing variables
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 26 May 2008 07:28:10 +0000 (07:28 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 26 May 2008 07:28:10 +0000 (07:28 +0000)
ANALYSIS/AliAnalysisManager.cxx

index b0bf7b7fc6a8a7a318282342c147eba2e6d6a479..15d3b1ed7f27efec747671de246d73855f0af70a 100644 (file)
@@ -955,10 +955,8 @@ void AliAnalysisManager::StartAnalysis(const char *type, TTree *tree, Long64_t n
          }
          cout << "===== RUNNING EVENT MIXING ANALYSIS " << GetName() << endl;
          fSelector = new AliAnalysisSelector(this);
-         TChain *chain;
          while ((chain=fEventPool->GetNextChain())) {
-            TIter next(fTasks);
-            AliAnalysisTask *task;
+            next.Reset();
             // Call NotifyBinChange for all tasks
             while ((task=(AliAnalysisTask*)next()))
                if (!task->IsPostEventLoop()) task->NotifyBinChange();