bug fix: use the NEW task
authormkrzewic <mkrzewic@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 8 Nov 2013 07:35:11 +0000 (07:35 +0000)
committermkrzewic <mkrzewic@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 8 Nov 2013 07:35:11 +0000 (07:35 +0000)
PWGPP/TPC/macros/AddTaskConfigOCDB.C

index 92776e3..1352a54 100644 (file)
@@ -11,7 +11,7 @@ AliTaskCDBconnect* AddTaskConfigOCDB(const char *path, Int_t run=0)
        return NULL;
     }   
     
-    AliTaskCDBconnect *task= new AliTaskCDBconnect("CDBconnect", path, run);
+    AliTaskConfigOCDB *task= new AliTaskConfigOCDB("CDBconnect", path, run);
     mgr->AddTask(task);
     AliAnalysisDataContainer *cinput1 = mgr->GetCommonInputContainer();    
     mgr->ConnectInput(task,  0, cinput1);