Stuff for cent
authorhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 8 Jun 2011 14:41:56 +0000 (14:41 +0000)
committerhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 8 Jun 2011 14:41:56 +0000 (14:41 +0000)
PWG2/FORWARD/analysis2/MakeAOD.C

index 0974543..5b22fb6 100644 (file)
@@ -129,7 +129,10 @@ void MakeAOD(const char* esddir,
 #endif
   if(centrality) {
     gROOT->LoadMacro("AddTaskCentrality.C");
-    AddTaskCentrality();
+    AliCentralitySelectionTask* centTask = AddTaskCentrality();
+    centTask->SetPass(1);
+    if(mc)
+      centTask->SetMCInput();
   }
   // FMD 
   gROOT->LoadMacro("AddTaskForwardMult.C");