From: cvetan Date: Thu, 8 May 2008 14:24:06 +0000 (+0000) Subject: Bug fix X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=f0999a9a7fceea41f3faf2414d8609801f94f09b;p=u%2Fmrichter%2FAliRoot.git Bug fix --- diff --git a/STEER/AliReconstruction.cxx b/STEER/AliReconstruction.cxx index 3309544b471..e8601e165c4 100644 --- a/STEER/AliReconstruction.cxx +++ b/STEER/AliReconstruction.cxx @@ -2052,7 +2052,8 @@ AliReconstructor* AliReconstruction::GetReconstructor(Int_t iDet) TPluginManager* pluginManager = gROOT->GetPluginManager(); TString detName = fgkDetectorName[iDet]; TString recName = "Ali" + detName + "Reconstructor"; - if (fRunLoader && !fRunLoader->GetLoader(detName+"Loader") && (detName != "HLT")) return NULL; + + if (!fIsNewRunLoader && !fRunLoader->GetLoader(detName+"Loader") && (detName != "HLT")) return NULL; AliReconstructor* reconstructor = NULL; // first check if a plugin is defined for the reconstructor @@ -2427,7 +2428,7 @@ AliQADataMakerRec * AliReconstruction::GetQADataMaker(Int_t iDet) TPluginManager* pluginManager = gROOT->GetPluginManager(); TString detName = fgkDetectorName[iDet]; TString qadmName = "Ali" + detName + "QADataMakerRec"; - if (fRunLoader && !fRunLoader->GetLoader(detName+"Loader") && (detName != "HLT")) + if (!fIsNewRunLoader && !fRunLoader->GetLoader(detName+"Loader") && (detName != "HLT")) return NULL; // first check if a plugin is defined for the quality assurance data maker