Changing fabs into TMath::Abs
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 May 2008 17:03:31 +0000 (17:03 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 May 2008 17:03:31 +0000 (17:03 +0000)
PWG2/AOD/AliAnalysisTaskPWG2AODUpdate.cxx

index 468d7ef..0ffcfb8 100644 (file)
@@ -124,7 +124,7 @@ void AliAnalysisTaskPWG2AODUpdate::UserExec(Option_t */*option*/)
 
     esdTrack->GetPxPyPz(p);
 
-    if (fabs(p[0] - aodTrack->Px())>0.000000001) {
+    if (TMath::Abs(p[0] - aodTrack->Px())>0.000000001) {
       printf("Got different momenta !!! %f %f\n", p[0], aodTrack->Px());
     }