If merging is complete, the method CheckMerging will delete also the zip archives...
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 6 Sep 2010 12:14:13 +0000 (12:14 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 6 Sep 2010 12:14:13 +0000 (12:14 +0000)
ANALYSIS/AliAnalysisAlien.cxx

index ab0040e..c5cf548 100644 (file)
@@ -1697,7 +1697,8 @@ Bool_t AliAnalysisAlien::CheckMergedFiles(const char *filename, const char *alie
          delete res;
          printf("=> Removing files from previous stages...\n");
          gGrid->Rm(Form("%s/*Stage*.root", aliendir));
-//         gGrid->Rm(Form("%s/*Stage*.zip", aliendir));
+         for (i=1; i<stage; i++)
+            gGrid->Rm(Form("%s/*Stage%d*.zip", aliendir, i));
          return kTRUE;
       }               
    }