]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RALICE/icepack/iceconvert/macros/icef2k.cc
22-jun-2005 NvE Specific job folder recursively removed from the generic AliJob folde...
[u/mrichter/AliRoot.git] / RALICE / icepack / iceconvert / macros / icef2k.cc
index 2c842e6e91c6e3b92f2c74a51467629d98f39993..4ef8d4884fa772dab6c5bc18660dae1586313717 100644 (file)
@@ -49,6 +49,8 @@
 
  // Select various objects to be added to the output file
 
 
  // Select various objects to be added to the output file
 
+ ofile->cd(); // Switch to the output file directory
+
  AliObjMatrix* omdb=q.GetOMdbase();
  if (omdb) omdb->Write();
 
  AliObjMatrix* omdb=q.GetOMdbase();
  if (omdb) omdb->Write();
 
@@ -58,7 +60,7 @@
  TDatabasePDG* pdg=q.GetPDG();
  if (pdg) pdg->Write();
 
  TDatabasePDG* pdg=q.GetPDG();
  if (pdg) pdg->Write();
 
- // Close output file
+ // Flush and close the output file
  ofile->Write();
  ofile->Close();
 }
  ofile->Write();
  ofile->Close();
 }