]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Using TMath::Abs instead of fabs
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 14 Jul 2003 15:28:55 +0000 (15:28 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 14 Jul 2003 15:28:55 +0000 (15:28 +0000)
ITS/AliITSvPPRasymm.cxx

index f38487cfcfa7107549ad1b0266e14e7b9dafc014..94fa4bef76bcb293fff7bbcdc264c5c8f080a6af 100644 (file)
@@ -27553,7 +27553,7 @@ void AliITSvPPRasymm::CreateGeometry(){
     gMC->Gsvolu(LVname, "BOX ", idtmed[280], dits, 3);
     yLV = I018dits[1] - dits[0]*cos30 - dits[1]*sin30;
     xLV = xI050 -
-          fabs(yI050-yLV)*sin30/cos30 +
+          TMath::Abs(yI050-yLV)*sin30/cos30 +
           (I050dits[1]+(2*iSDD+1)*dits[1])/cos30;
     zLV = I047dits[2] - dits[2];
     gMC->Gspos(LVname, 1,"I047",  xLV, yLV,  zLV, idrotm[346], "ONLY");
@@ -27606,7 +27606,7 @@ void AliITSvPPRasymm::CreateGeometry(){
     gMC->Gsvolu(LVname, "BOX ", idtmed[280], dits, 3);
     yLV = I018dits[1] - dits[0]*cos30 - dits[1]*sin30;
     xLV = xI050 -
-          fabs(yI050-yLV)*sin30/cos30 +
+          TMath::Abs(yI050-yLV)*sin30/cos30 +
           (I050dits[1]+(2*iSDD+1)*dits[1])/cos30;
     zLV = I048dits[2] - dits[2];
     gMC->Gspos(LVname, 1,"I048",  xLV, yLV,  zLV, idrotm[346], "ONLY");