Fixed bug in the computation of dip angle value
authorpulvir <pulvir@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 30 Nov 2010 17:04:23 +0000 (17:04 +0000)
committerpulvir <pulvir@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 30 Nov 2010 17:04:23 +0000 (17:04 +0000)
PWG2/RESONANCES/AliRsnValue.cxx

index 922cb1f..43c264e 100644 (file)
@@ -449,7 +449,7 @@ Bool_t AliRsnValue::Eval(TObject *object, Bool_t useMC)
       break;
     case kPairDipAngle:
       fComputedValue = useMC ? pSim0.Angle(pSim1.Vect()) : pRec0.Angle(pRec1.Vect());
-      fComputedValue = TMath::Abs(TMath::ACos(fComputedValue));
+      fComputedValue = TMath::Abs(TMath::Cos(fComputedValue));
       break;
     case kPairCosThetaStar:
       fComputedValue = mother->CosThetaStar(useMC);