]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliKFParticle.cxx
GetPt() changed to GetSignedPt(). Get1Pt() changed to GetSigned1Pt() (Markus)
[u/mrichter/AliRoot.git] / STEER / AliKFParticle.cxx
index 6413938e6a93251b70f807adc0ac072f33eae499..d05973b064ddb95e55312e98d78f8e5f134f4cb5 100644 (file)
@@ -38,7 +38,7 @@ AliKFParticle::AliKFParticle( const AliExternalTrackParam &track, Int_t PID )
   Double_t energy = TMath::Sqrt( mass*mass + fP[3]*fP[3] + fP[4]*fP[4] + fP[5]*fP[5]);
   fP[6] = energy;
   fP[7] = 0;
-  fQ = (track.Get1Pt() >0 ) ?1 :-1;
+  fQ = (track.GetSigned1Pt() >0 ) ?1 :-1; // fQ = track->GetSign() would do the same thing
   fNDF = 0;
   fChi2 = 0;
   fAtProductionVertex = 0;