]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
- TrackID is set to the TPC esd tracks
authorsgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 Nov 2009 11:39:09 +0000 (11:39 +0000)
committersgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 Nov 2009 11:39:09 +0000 (11:39 +0000)
- TPCOut parameters are taken at the last point (before they were dummy TPCOut==TPCin )

HLT/global/AliHLTGlobalEsdConverterComponent.cxx

index 39b7a9faa7623293b240b9edf6ce6539e1cb88da..e8c453f5b13589674b51b21182fbb19301a3418a 100644 (file)
@@ -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()<ndEdxTPC ){
          iotrack.SetTPCsignal( dEdxTPC[element->TrackID()], 0, 0 );