VZEROQA from library.
[u/mrichter/AliRoot.git] / prod / acrcaf / qa_pp / AddTaskVZEROQA.C
index 6922bc9299bf49fad4160a79942523cdb8557fca..a8ed634efe27f6a72fc8df26f7df2b5da229a2d0 100644 (file)
@@ -1,4 +1,4 @@
-void AddTaskVZEROQA(Int_t runNumber)\r
+AliAnalysisTaskSE* AddTaskVZEROQA(Int_t runNumber)\r
 {\r
   // Creates a QA task exploiting simple symmetries phi, eta +/-, charge ...\r
   \r
@@ -27,10 +27,13 @@ void AddTaskVZEROQA(Int_t runNumber)
    mgr->AddTask(task);\r
   \r
    AliAnalysisDataContainer *cout  = mgr->CreateContainer("QAVZEROHists",TList::Class(),\r
-                                                       AliAnalysisManager::kOutputContainer, Form("run%d_VZEROQA.root",runNumber));\r
+                                                       AliAnalysisManager::kOutputContainer, "VZERO.Performance.root");\r
 \r
    mgr->ConnectInput  (task, 0, mgr->GetCommonInputContainer());\r
    mgr->ConnectOutput (task, 1, cout);\r
+\r
+   return task;\r
+   \r
   \r
 }\r
 \r