Removed duplicated TFile::Cp from WriteAnalysisFile
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 31 Aug 2011 13:53:50 +0000 (13:53 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 31 Aug 2011 13:53:50 +0000 (13:53 +0000)
ANALYSIS/AliAnalysisAlien.cxx

index 73a0dc8..6cc1c2f 100644 (file)
@@ -3548,7 +3548,6 @@ void AliAnalysisAlien::WriteAnalysisFile()
       workdir += fGridWorkingDir;
       Info("WriteAnalysisFile", "\n#####   Copying file <%s> containing your initialized analysis manager to your alien workspace", analysisFile.Data());
       if (FileExists(analysisFile)) gGrid->Rm(analysisFile);
-      TFile::Cp(Form("file:%s",analysisFile.Data()), Form("alien://%s/%s", workdir.Data(),analysisFile.Data()));
       if (!copyLocal2Alien("WriteAnalysisFile",analysisFile.Data(), 
           Form("%s/%s", workdir.Data(),analysisFile.Data()))) Fatal("","Terminating");
    }