]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HBTAN/AliHBTTwoTrackEffFctn.cxx
remoe duplicate QA initialisation and do ESD QA for same detectors as RecPoint QA
[u/mrichter/AliRoot.git] / HBTAN / AliHBTTwoTrackEffFctn.cxx
index bb8ea5c81a0e7a017c83208eaa023ee7205a3156..6fd28d172448ba5b5d569bf4ea079f052d21c4ff 100644 (file)
@@ -85,6 +85,13 @@ void AliHBTTwoTrackEffFctnPxPyPz::GetValues(AliHBTPair* pair, Double_t& x, Doubl
  x = pair->GetDeltaPx();
  y = pair->GetDeltaPy();
  z = pair->GetDeltaPz();
+
+ if (fAbs)
+  {
+    x = TMath::Abs(x);
+    y = TMath::Abs(y);
+    z = TMath::Abs(z);
+  }
 }
 /******************************************************************/
 
@@ -133,6 +140,14 @@ void AliHBTTwoTrackEffFctnPtThetaPhi::GetValues(AliHBTPair* pair, Double_t& x, D
  x = pair->GetDeltaPt();
  y = pair->GetDeltaTheta();
  z = pair->GetDeltaPhi();
+ if (fAbs)
+  {
+    x = TMath::Abs(x);
+    y = TMath::Abs(y);
+    z = TMath::Abs(z);
+  }
 }
 /******************************************************************/