]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Temporary fix to avoid HLT overwriting the offline ESDs
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 21 May 2008 16:21:09 +0000 (16:21 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 21 May 2008 16:21:09 +0000 (16:21 +0000)
STEER/AliReconstruction.cxx

index 1a6bf9f9a538af3ba6c522e086f977bdc6d0e81a..e6ac36df6549685cf3c5809038e391223f462546 100644 (file)
@@ -1055,6 +1055,14 @@ Bool_t AliReconstruction::RunEvent(Int_t iEvent)
        if (fStopOnError) {CleanUp(ffile, ffileOld); return kFALSE;}
       }
       detectors=fFillESD;
+      // Temporary fix to avoid problems with HLT that overwrites the offline ESDs
+      if (detectors.Contains("ALL")) {
+       detectors="";
+       for (Int_t idet=0; idet<fgkNDetectors; ++idet){
+         detectors += fgkDetectorName[idet];
+         detectors += " ";
+       }
+      }
       detectors.ReplaceAll("HLT", "");
       if (!FillESD(fesd, detectors)) {
        if (fStopOnError) {CleanUp(ffile, ffileOld); return kFALSE;}