]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliReconstruction.cxx
HLT event reconstruction moved to beginning of reconstruction. Minor modification...
[u/mrichter/AliRoot.git] / STEER / AliReconstruction.cxx
index 278ae52af5d65962f3025b1b645a5bcebc156bd5..16eccb7aea8df885ec60f1ffc0c8dc0e05130827 100644 (file)
@@ -942,7 +942,15 @@ Bool_t AliReconstruction::RunEvent(Int_t iEvent)
 
     // local signle event reconstruction
     if (!fRunLocalReconstruction.IsNull()) {
-      if (!RunLocalEventReconstruction(fRunLocalReconstruction)) {
+      TString detectors="HLT";
+      // run HLT event reconstruction first
+      if (IsSelected(detectors, fRunLocalReconstruction) &&
+         !RunLocalEventReconstruction(detectors)) {
+       if (fStopOnError) {CleanUp(ffile, ffileOld); return kFALSE;}
+      }
+      detectors=fRunLocalReconstruction;
+      detectors.ReplaceAll("HLT", "");
+      if (!RunLocalEventReconstruction(detectors)) {
        if (fStopOnError) {CleanUp(ffile, ffileOld); return kFALSE;}
       }
     }