]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Abs value in dPt dTheta and dPhi
authorskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 21 Apr 2004 15:36:17 +0000 (15:36 +0000)
committerskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 21 Apr 2004 15:36:17 +0000 (15:36 +0000)
HBTAN/AliHBTTwoTrackEffFctn.cxx

index bb8ea5c81a0e7a017c83208eaa023ee7205a3156..038add05fd7157f55bbf07fde16847241d3da298 100644 (file)
@@ -82,9 +82,9 @@ void AliHBTTwoTrackEffFctnPxPyPz::GetValues(AliHBTPair* pair, Double_t& x, Doubl
 {
 //Returns values to be histogrammed
 //it does not 
- x = pair->GetDeltaPx();
- y = pair->GetDeltaPy();
- z = pair->GetDeltaPz();
+ x = TMath::Abs(pair->GetDeltaPx());
+ y = TMath::Abs(pair->GetDeltaPy());
+ z = TMath::Abs(pair->GetDeltaPz());
 }
 /******************************************************************/
 
@@ -130,9 +130,11 @@ void AliHBTTwoTrackEffFctnPtThetaPhi::GetValues(AliHBTPair* pair, Double_t& x, D
 {
 //Returns values to be histogrammed
 //it does not 
- x = pair->GetDeltaPt();
- y = pair->GetDeltaTheta();
- z = pair->GetDeltaPhi();
+ x = TMath::Abs(pair->GetDeltaPt());
+ y = TMath::Abs(pair->GetDeltaTheta());
+ z = TMath::Abs(pair->GetDeltaPhi());
+ Info("","Pt %f, Theta %f, Phi %f",x,y,z);
 }
 /******************************************************************/