fixed bug that could ignore libSTEER if libSTEERbase was loaded in LoadModule (JFGO...
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 7 Mar 2012 10:25:44 +0000 (10:25 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 7 Mar 2012 10:25:44 +0000 (10:25 +0000)
ANALYSIS/AliAnalysisAlien.cxx
ANALYSIS/AliAnalysisTask.cxx

index 98858f0..dc14622 100644 (file)
@@ -596,8 +596,8 @@ Bool_t AliAnalysisAlien::LoadModule(AliAnalysisTaskCfg *mod)
    TString lib;
    for (Int_t i=0; i<nlibs; i++) {
       lib = mod->GetLibrary(i);
-      if (fAdditionalLibs.Contains(lib)) continue;
       lib = Form("lib%s.so", lib.Data());
+      if (fAdditionalLibs.Contains(lib)) continue;
       if (!fAdditionalLibs.IsNull()) fAdditionalLibs += " ";
       fAdditionalLibs += lib;
    }
index 0d608b2..09c922c 100644 (file)
@@ -265,7 +265,7 @@ Bool_t AliAnalysisTask::CheckPostData() const
    AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager();
    for (Int_t islot=0; islot<fNoutputs; islot++) {
       coutput = GetOutputSlot(islot)->GetContainer();
-      if (!mgr->GetOutputs()->FindObject(coutput)) continue;
+      if (!mgr->GetOutputs()->FindObject(coutput) || coutput==mgr->GetCommonOutputContainer()) continue;
       if (!coutput->GetData()) {
          Error("CheckPostData", "Data not posted for slot #%d of task %s (%s)", 
                islot, GetName(), ClassName());