fixed typo (Christian Holm)
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 Sep 2011 11:35:33 +0000 (11:35 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 Sep 2011 11:35:33 +0000 (11:35 +0000)
PWG1/PilotTrain/AddTaskCDBconnect.C

index 07e1ed9..94aaf61 100644 (file)
@@ -12,7 +12,7 @@ AliTaskCDBconnect* AddTaskCDBconnect(Int_t run=0)
     }   
     
     AliTaskCDBconnect *task= new AliTaskCDBconnect("CDBconnect");
-    if (run) task->SetRun(run);
+    if (run) task->SetRunNumber(run);
     mgr->AddTask(task);
     AliAnalysisDataContainer *cinput1 = mgr->GetCommonInputContainer();    
     mgr->ConnectInput(task,  0, cinput1);