TrackPid returns PDG now
[u/mrichter/AliRoot.git] / TGeant3 / TGeant3.cxx
index 3f5d11b78de93047be9641faf3ae6af03856745a..ba8f55f0e6b3046240320c18003914ffcfc1bdfc 100644 (file)
@@ -1017,7 +1017,7 @@ Int_t TGeant3::TrackPid() const
   //
   // Return the id of the particle transported
   //
-  return fGckine->ipart;
+  return PDGFromId(fGckine->ipart);
 }
 
 //_____________________________________________________________________________