]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Sign of the track (Yu.Belikov)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 10 Dec 2003 15:01:32 +0000 (15:01 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 10 Dec 2003 15:01:32 +0000 (15:01 +0000)
STEER/AliESDtrack.h

index 3b57394ec0f1eec50812893d83ed2d64a2d576f6..d225461217c6463f1bd915730c456a193c7dadc0 100644 (file)
@@ -36,6 +36,7 @@ public:
   Double_t GetP() const;
   void GetPxPyPz(Double_t *p) const;
   void GetXYZ(Double_t *r) const;
+  Int_t GetSign() const {return (fRp[4]<0) ? 1 : -1;} 
 
   void GetInnerPxPyPz(Double_t *p) const;
   void GetInnerXYZ(Double_t *r) const;