Fix in ImportWrappers that changes correctly the current directory to the file pointe...
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 5 Oct 2011 07:57:02 +0000 (07:57 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 5 Oct 2011 07:57:02 +0000 (07:57 +0000)
ANALYSIS/AliAnalysisManager.cxx

index 09a835d..e8e49d8 100644 (file)
@@ -757,6 +757,7 @@ void AliAnalysisManager::ImportWrappers(TList *source)
             Error("ImportWrappers", "Cannot open file %s in read-only mode", filename);
             continue;
          }   
+         f->cd();
          TObject *obj = 0;
          // Cd to the directory pointed by the container
          TString folder = cont->GetFolderName();