small fix in Add Task
authorlmilano <lmilano@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 3 Jul 2013 09:10:31 +0000 (09:10 +0000)
committerlmilano <lmilano@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 3 Jul 2013 09:10:31 +0000 (09:10 +0000)
PWGCF/Correlations/macros/dphicorrelations/AddTaskContMC.C

index 4cbe135..c768a56 100644 (file)
@@ -26,6 +26,7 @@ AliAnalysisTaskContMC* AddTaskContMC(Bool_t mc=kFALSE){
   \r
   \r
   AliAnalysisTaskContMC *task = new AliAnalysisTaskContMC("ContMC");\r
+  task->SetIsMC(mc);\r
   mgr->AddTask(task);\r
   \r
   TString outputFileName = AliAnalysisManager::GetCommonFileName();\r