moved FillMerge macro to macro/LEGO dir.
authorhqvigsta <hqvigsta@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 10 Oct 2012 20:28:42 +0000 (20:28 +0000)
committerhqvigsta <hqvigsta@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 10 Oct 2012 20:28:42 +0000 (20:28 +0000)
PWGGA/PHOSTasks/PHOS_PbPb/macros/LEGO/FillMerge.C [moved from PWGGA/PHOSTasks/PHOS_PbPb/macros/QA/FillMerge.C with 93% similarity]
PWGGA/PHOSTasks/PHOS_PbPb/macros/LEGO/run_fill.txt [moved from PWGGA/PHOSTasks/PHOS_PbPb/macros/QA/run_fill.txt with 100% similarity]

@@ -65,8 +65,8 @@ void FillMerge(const TString filelist="filelist.txt",
     
     if( ! fillToMerger.count( fill ) ) { // if no merger for fill
       fillToMerger[fill] = new TFileMerger(); // create merger
-      gSystem->mkdir("fillMerge");
-      fillToMerger[fill]->OutputFile(Form("fillMerge/%d.root", fill));
+      gSystem->mkdir((Form("%s/fill", gSystem->pwd())));
+      fillToMerger[fill]->OutputFile(Form("%s/fill/%d.root", gSystem->pwd(), fill));
     }
     
     fillToMerger[fill]->AddFile(rootFileName);