From: hristov Date: Thu, 11 Jun 2009 11:51:27 +0000 (+0000) Subject: Create ITS vertexer only if the local ITS reconstruction is active X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=70d06e85716c660689492ef0dae694c0a660d73e;p=u%2Fmrichter%2FAliRoot.git Create ITS vertexer only if the local ITS reconstruction is active --- diff --git a/STEER/AliReconstruction.cxx b/STEER/AliReconstruction.cxx index f89a88ee181..ec0d7b69c16 100644 --- a/STEER/AliReconstruction.cxx +++ b/STEER/AliReconstruction.cxx @@ -2759,7 +2759,7 @@ AliVertexer* AliReconstruction::CreateVertexer() AliVertexer* vertexer = NULL; AliReconstructor* itsReconstructor = GetReconstructor(0); - if (itsReconstructor) { + if (itsReconstructor && (fRunLocalReconstruction.Contains("ITS"))) { vertexer = itsReconstructor->CreateVertexer(); } if (!vertexer) {