]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Create ITS vertexer only if the local ITS reconstruction is active
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 11 Jun 2009 11:51:27 +0000 (11:51 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 11 Jun 2009 11:51:27 +0000 (11:51 +0000)
STEER/AliReconstruction.cxx

index f89a88ee181e24122ed6052a56f73fc1316ee8b0..ec0d7b69c160c6447d858f5e5f25411b0e48b580 100644 (file)
@@ -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) {