TObjArray is replaced by TList
authorkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Oct 2011 20:12:12 +0000 (20:12 +0000)
committerkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Oct 2011 20:12:12 +0000 (20:12 +0000)
PWG4/UserTasks/PHOS_PbPbQA/macros/AddTaskPHOSPbPb.C

index 4f858c2..16c4ade 100644 (file)
@@ -22,12 +22,12 @@ AliAnalysisTaskPHOSPbPbQA* AddTaskPHOSPbPbQA(char* fname="PHOSPbPbQA.root",
 
   // container output into particular file
   if (fname && contname)
-    mgr->ConnectOutput(task, 1, mgr->CreateContainer(contname,TObjArray::Class(), AliAnalysisManager::kOutputContainer, fname));
+    mgr->ConnectOutput(task, 1, mgr->CreateContainer(contname,TList::Class(), AliAnalysisManager::kOutputContainer, fname));
   
   // container output into common file
   if (!fname) {
     if (!contname) contname = "PHOSPbPbQAResults";
-    mgr->ConnectOutput(task, 1, mgr->CreateContainer(contname,TObjArray::Class(), AliAnalysisManager::kOutputContainer, mgr->GetCommonFileName()));                   
+    mgr->ConnectOutput(task, 1, mgr->CreateContainer(contname,TList::Class(), AliAnalysisManager::kOutputContainer, mgr->GetCommonFileName()));                       
   }
   
   return task;