]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliKFParticle.cxx
Misalignment according survey data
[u/mrichter/AliRoot.git] / STEER / AliKFParticle.cxx
index bdb230e691fcba7612e28e8117497a8d9cefa6ce..d05973b064ddb95e55312e98d78f8e5f134f4cb5 100644 (file)
@@ -20,7 +20,6 @@
 #include "TDatabasePDG.h"
 #include "TParticlePDG.h"
 #include "AliExternalTrackParam.h"
-#include "AliHelix.h"
 //#include "TMath.h"
 
 ClassImp(AliKFParticle)
@@ -39,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;