Using TMath::Abs instead of fabs
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 8 May 2007 14:29:18 +0000 (14:29 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 8 May 2007 14:29:18 +0000 (14:29 +0000)
TRD/AliTRDpidESD.cxx

index 3de702c..52d1aa7 100644 (file)
@@ -247,7 +247,7 @@ Bool_t AliTRDpidESD::GetTrackSegmentKine(AliESDtrack *t, Int_t plan, Float_t &mo
        alpha = param->GetAlpha();
        param->PropagateTo(TRDgeom->GetTime0(plan)-kAmHalfWidth-kDrWidth, field);
        // eliminate track segments which are crossing SM boundaries along chamber
-       if(fabs(alpha-param->GetAlpha())>.01){
+       if(TMath::Abs(alpha-param->GetAlpha())>.01){
                delete param;
                if(kSelfGeom) delete TRDgeom;
                return kFALSE;