Updated PID in TPC needed by the ITS tracker (M.Ivanov)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 28 Feb 2006 17:18:45 +0000 (17:18 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 28 Feb 2006 17:18:45 +0000 (17:18 +0000)
STEER/AliReconstruction.cxx

index 22df844c1e0eb1f8cee6499985707127ed594da3..d92522eb68ba0f64c8007ad468fae318f5ece256 100644 (file)
@@ -755,6 +755,12 @@ Bool_t AliReconstruction::RunTracking(AliESD*& esd)
       fTracker[iDet]->UnloadClusters();
       fLoader[iDet]->UnloadRecPoints();
     }
       fTracker[iDet]->UnloadClusters();
       fLoader[iDet]->UnloadRecPoints();
     }
+    // updated PID in TPC needed by the ITS tracker -MI
+    if (iDet == 1) {
+      GetReconstructor(1)->FillESD(fRunLoader, esd);
+      GetReconstructor(1)->FillESD((TTree*)NULL, (TTree*)NULL, esd);
+      AliESDpid::MakePID(esd);
+    }
   }
 
   // write space-points to the ESD in case alignment data output
   }
 
   // write space-points to the ESD in case alignment data output