fixing and AOD conflict
authormcosenti <mcosenti@cern.ch>
Sun, 6 Apr 2014 18:39:27 +0000 (15:39 -0300)
committermcosenti <mcosenti@cern.ch>
Sun, 6 Apr 2014 18:39:27 +0000 (15:39 -0300)
PWGGA/EMCALTasks/AliAnalysisTaskEMCALIsoPhoton.cxx

index 29e5e82..5e63c4c 100644 (file)
@@ -544,7 +544,8 @@ void AliAnalysisTaskEMCALIsoPhoton::UserExec(Option_t *)
   FillMcHists();
   if(fDebug)
     printf("passed calling of FillMcHists\n");
-  FillQA();
+  if(fESD)
+    FillQA();
   if(fDebug)
     printf("passed calling of FillQA\n");
   /*if(fESD)