]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Using TMath::Abs instead of fabs
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 27 Feb 2008 20:13:31 +0000 (20:13 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 27 Feb 2008 20:13:31 +0000 (20:13 +0000)
TPC/AliTPCclustererKr.cxx

index 0d8c48a751de7ffded677cf9f5ce55c012ad04ac..352d819b4af29a8a7b69eeab66ba4cb8ebae1518 100644 (file)
@@ -554,9 +554,9 @@ Int_t AliTPCclustererKr::FindClusterKrIO()
 //     if(abs(maxRow - (*mp2)->GetRow()) < fMaxRowRange && //3\r
 //         abs(maxPad - (*mp2)->GetPad()) < fMaxPadRange && //4\r
          \r
-       if(fabs(tmp->GetCenterX() - (*mp2)->GetX()) < fMaxPadRangeCm &&\r
-          fabs(tmp->GetCenterY() - (*mp2)->GetY()) < fMaxRowRangeCm &&\r
-          fabs(tmp->GetCenterT() - (*mp2)->GetT()) < fMaxTimeRange){//7\r
+       if(TMath::Abs(tmp->GetCenterX() - (*mp2)->GetX()) < fMaxPadRangeCm &&\r
+          TMath::Abs(tmp->GetCenterY() - (*mp2)->GetY()) < fMaxRowRangeCm &&\r
+          TMath::Abs(tmp->GetCenterT() - (*mp2)->GetT()) < fMaxTimeRange){//7\r
          \r
          clusterValue+=(*mp2)->GetSum();\r
 \r