AddTask was missing.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 14 Jan 2011 13:04:17 +0000 (13:04 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 14 Jan 2011 13:04:17 +0000 (13:04 +0000)
ANALYSIS/macros/AddTaskCentrality.C

index 0236777e8a4ccc834ae154566783577851b8c2c8..4b22f60d5f782570af4182e6b1f81d87f6297ddf 100644 (file)
@@ -19,7 +19,8 @@ AliCentralitySelectionTask *AddTaskCentrality()
   }
   AliCentralitySelectionTask *centralityTask = new AliCentralitySelectionTask("CentralitySelection");
   centralityTask->SelectCollisionCandidates(AliVEvent::kMB);
-
+  mgr->AddTask(centralityTask);
+  
   AliAnalysisDataContainer *cinput0 = mgr->GetCommonInputContainer();
   AliAnalysisDataContainer *coutput1 = mgr->CreateContainer("CentralityStat",
                 TList::Class(), AliAnalysisManager::kOutputContainer,