Added possibility to run without reading the MC (Andrea)
[u/mrichter/AliRoot.git] / PWG3 / vertexingHF / AddTaskCharmFraction.C
index 0b3ff08..335d474 100644 (file)
@@ -28,7 +28,7 @@ AliAnalysisTaskSECharmFraction* AddTaskCharmFraction(const char* fileout="d0D0.r
   AliAnalysisTaskSECharmFraction *hfTask;
  
   hfTask = new AliAnalysisTaskSECharmFraction("AliAnalysisTaskSECharmFraction");
-    
+  hfTask->SetReadMC(kTRUE);    
 
   /*  ############### HERE THE POSSIBILITY TO SWITCH ON/OFF THE TLISTS AND MC SELECTION WILL BE SET #########à