VZEROQA from library.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Mar 2010 13:54:33 +0000 (13:54 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Mar 2010 13:54:33 +0000 (13:54 +0000)
prod/acrcaf/qa_pp/AddTaskVZEROQA.C

index 6922bc9..a8ed634 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