]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/exa/recraw-local.C
enable offline vertexer depending on availability of ITS, select detector QA dependin...
[u/mrichter/AliRoot.git] / HLT / exa / recraw-local.C
index 0100fdd8ec44f49db2158fd573c3ec93e7fefefc..f51b90e66a46340d3d2da2d3555440d5fcb4961a 100644 (file)
@@ -82,17 +82,22 @@ void recraw_local(const char *filename,
     rec.SetEventRange(minEvent,maxEvent);
   }
 
+  TString strModules=modules;
   if (modules)
     rec.SetRunReconstruction(modules);
   else
     rec.SetRunReconstruction("ALL");
 
   // QA options
-  rec.SetRunQA("HLT TPC:ALL") ;
+  TString qaOptions="HLT TPC";
+  if (!strModules.Contains("TPC")) qaOptions.ReplaceAll("TPC", "");
+  qaOptions+=":ALL";
+  rec.SetRunQA(qaOptions) ;
   //rec.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
 
   // AliReconstruction settings
   rec.SetWriteESDfriend(kTRUE);
+  rec.SetRunVertexFinder(strModules.Contains("ITS"));
   rec.SetInput(filename);
   rec.SetOption("HLT", hltOptions);