X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=RALICE%2Ficepack%2Ficeconvert%2Fmacros%2Ficef2k.cc;h=4ef8d4884fa772dab6c5bc18660dae1586313717;hp=2c842e6e91c6e3b92f2c74a51467629d98f39993;hb=1c9018c627c25088ab5478596d0bd39a0e1badab;hpb=797bcdee63c2e53e8b662c6ff416578ba78b60fd;ds=sidebyside diff --git a/RALICE/icepack/iceconvert/macros/icef2k.cc b/RALICE/icepack/iceconvert/macros/icef2k.cc index 2c842e6e91c..4ef8d4884fa 100644 --- a/RALICE/icepack/iceconvert/macros/icef2k.cc +++ b/RALICE/icepack/iceconvert/macros/icef2k.cc @@ -49,6 +49,8 @@ // 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(); @@ -58,7 +60,7 @@ TDatabasePDG* pdg=q.GetPDG(); if (pdg) pdg->Write(); - // Close output file + // Flush and close the output file ofile->Write(); ofile->Close(); }