]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/STEER/AliReconstruction.cxx
Fix for #85901: request to commit fix in AliReconstruction.cxx and port to release...
[u/mrichter/AliRoot.git] / STEER / STEER / AliReconstruction.cxx
index 4a7cb877a865ac88b00de362dcf56db7c31b8252..e4b5de5e2ad2ec9460f72527bb62ee26a4a15d5f 100644 (file)
@@ -1953,23 +1953,6 @@ Bool_t AliReconstruction::ProcessEvent(Int_t iEvent)
        if (fStopOnError) {CleanUp(); return kFALSE;}
       }
     }
-
-    // AdC+FN
-    if (fReconstructor[3])
-      GetReconstructor(3)->FillEventTimeWithTOF(fesd,&pid);
-
-    // combined PID
-    pid.MakePID(fesd);
-
-    if (fFillTriggerESD) {
-      if (!FillTriggerESD(fesd)) {
-       if (fStopOnError) {CleanUp(); return kFALSE;}
-      }
-    }
-    // Always fill scalers
-    if (!FillTriggerScalers(fesd)) {
-       if (fStopOnError) {CleanUp(); return kFALSE;}
-    }
     
 
     ffile->cd();
@@ -2129,6 +2112,23 @@ Bool_t AliReconstruction::ProcessEvent(Int_t iEvent)
        }
     }
 
+    // AdC+FN
+    if (fReconstructor[3])
+      GetReconstructor(3)->FillEventTimeWithTOF(fesd,&pid);
+
+    // combined PID
+    pid.MakePID(fesd);
+
+    if (fFillTriggerESD) {
+      if (!FillTriggerESD(fesd)) {
+       if (fStopOnError) {CleanUp(); return kFALSE;}
+      }
+    }
+    // Always fill scalers
+    if (!FillTriggerScalers(fesd)) {
+       if (fStopOnError) {CleanUp(); return kFALSE;}
+    }
+
     // write ESD
     if (fCleanESD) CleanESD(fesd);
     //