Set run number from alien path in the merging macro when merging via jdl.
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 25 Oct 2010 09:23:10 +0000 (09:23 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 25 Oct 2010 09:23:10 +0000 (09:23 +0000)
ANALYSIS/AliAnalysisAlien.cxx

index c310a52..8250996 100644 (file)
@@ -3373,6 +3373,7 @@ void AliAnalysisAlien::WriteMergingMacro()
       out << "      ::Error(\"" << func.Data() << "\", \"No analysis manager found in file" << analysisFile <<"\");" << endl;
       out << "      return;" << endl;
       out << "   }" << endl << endl;
+      out << "   mgr->SetRunFromPath(mgr->GetRunFromAlienPath(dir));" << endl;
       out << "   mgr->SetSkipTerminate(kFALSE);" << endl;
       out << "   mgr->PrintStatus();" << endl;
       if (AliAnalysisManager::GetAnalysisManager()) {