From ea1a6e3f9dfaf08a6875d5d15809bc7452264edf Mon Sep 17 00:00:00 2001 From: tkuhr Date: Tue, 11 May 2004 13:19:27 +0000 Subject: [PATCH] use dummy reconstructor only if detector exists --- STEER/AliReconstruction.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/STEER/AliReconstruction.cxx b/STEER/AliReconstruction.cxx index a1635a2e3ab..0ef7b2d6626 100644 --- a/STEER/AliReconstruction.cxx +++ b/STEER/AliReconstruction.cxx @@ -86,7 +86,6 @@ #include "AliGenEventHeader.h" #include "AliESDpid.h" #include "AliMagF.h" -#include "../TPC/AliTPCReconstructor.h" ClassImp(AliReconstruction) @@ -231,7 +230,7 @@ Bool_t AliReconstruction::Run() reconstructor = (AliReconstructor*) pluginHandler->ExecPlugin(0); } // if there is no reconstructor class for the detector use the dummy one - if (!reconstructor) { + if (!reconstructor && gAlice->GetDetector(detName)) { Info("Run", "using dummy reconstructor for %s", detName.Data()); reconstructor = new AliDummyReconstructor(gAlice->GetDetector(detName)); } -- 2.39.3