]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONTrackParam.cxx
- Put the code to fill ESD with trigger data back in the correct framework:
[u/mrichter/AliRoot.git] / MUON / AliMUONTrackParam.cxx
index 42f218a496062dd943e35964225480214c6be251..045920c93069f568bd8bead7fd9706bcb1dee982 100644 (file)
@@ -232,7 +232,7 @@ Double_t AliMUONTrackParam::P() const
   if (TMath::Abs(fParameters(4,0)) > 0) {
     Double_t pYZ = TMath::Abs(1.0 / fParameters(4,0));
     Double_t pZ = - pYZ / (TMath::Sqrt(1.0 + fParameters(3,0) * fParameters(3,0)));  // spectro. (z<0)
-    return TMath::Abs(pZ) * TMath::Sqrt(1.0 + fParameters(3,0) * fParameters(3,0) + fParameters(1,0) * fParameters(1,0));
+    return - pZ * TMath::Sqrt(1.0 + fParameters(3,0) * fParameters(3,0) + fParameters(1,0) * fParameters(1,0));
   } else return FLT_MAX;
 }