From c3261a7d27192e5a26bfa355b59272a2899a4655 Mon Sep 17 00:00:00 2001 From: sgorbuno Date: Tue, 3 Nov 2009 11:39:09 +0000 Subject: [PATCH] - TrackID is set to the TPC esd tracks - TPCOut parameters are taken at the last point (before they were dummy TPCOut==TPCin ) --- HLT/global/AliHLTGlobalEsdConverterComponent.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/HLT/global/AliHLTGlobalEsdConverterComponent.cxx b/HLT/global/AliHLTGlobalEsdConverterComponent.cxx index 39b7a9faa76..e8c453f5b13 100644 --- a/HLT/global/AliHLTGlobalEsdConverterComponent.cxx +++ b/HLT/global/AliHLTGlobalEsdConverterComponent.cxx @@ -340,8 +340,13 @@ int AliHLTGlobalEsdConverterComponent::ProcessBlocks(TTree* pTree, AliESDEvent* // The first one can be updated already at that stage here, while the two others // eventually require to update from the ITS tracks before. The exact scheme // needs to be checked + iotrack.SetID( element->TrackID() ); iotrack.UpdateTrackParams(&(*element),AliESDtrack::kTPCin); - iotrack.UpdateTrackParams(&(*element),AliESDtrack::kTPCout); + { + AliHLTGlobalBarrelTrack outPar(*element); + outPar.AliExternalTrackParam::PropagateTo( element->GetLastPointX(), fSolenoidBz ); + iotrack.UpdateTrackParams(&outPar,AliESDtrack::kTPCout); + } iotrack.SetTPCPoints(points); if( element->TrackID()TrackID()], 0, 0 ); -- 2.43.0