]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
In case of delta AOD production, the file AliAOD.root may not be created.
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 15 Jan 2010 09:38:38 +0000 (09:38 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 15 Jan 2010 09:38:38 +0000 (09:38 +0000)
ANALYSIS/AliAnalysisManager.cxx

index f57f8d787f4e01e06d119506a8c08e60247fc923..0040cbcd7e4c29b67b6fe7549e3db5a7e74c0b22 100644 (file)
@@ -1582,6 +1582,8 @@ Bool_t AliAnalysisManager::ValidateOutputFiles() const
       if (filename == "default") {
          if (!fOutputEventHandler) continue;
          filename = fOutputEventHandler->GetOutputFileName();
+         // Main AOD may not be there
+         if (gSystem->AccessPathName(filename)) continue;
       }
       // Check if the file is closed
       if (openedFiles.Contains(filename)) continue;;