X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FAliITSNeuralTracker.cxx;h=65f152aee4bdba7c36ae5419e22db7bbf5cc0bf4;hb=e4f80cd8939abda561b24d7f886037fa55f8e174;hp=95a07256d42362ffe61894747671c8e9397ccbc6;hpb=ddcce4661c03d1f6aaebce7bdb44bdf8051f83b6;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITSNeuralTracker.cxx b/ITS/AliITSNeuralTracker.cxx index 95a07256d42..65f152aee4b 100644 --- a/ITS/AliITSNeuralTracker.cxx +++ b/ITS/AliITSNeuralTracker.cxx @@ -42,9 +42,7 @@ #include "AliITSNeuralTracker.h" -class AliITSNeuralPoint; - -using namespace std; +//using namespace std; ClassImp(AliITSNeuralTracker) //-------------------------------------------------------------------------------------------- @@ -399,7 +397,7 @@ Bool_t AliITSNeuralTracker::PassCurvCut */ // NEW VERSION if (den != 0.) { - curv = fabs(num / den); + curv = TMath::Abs(num / den); if (curv > fCurvCut[curvindex]) return kFALSE; } else @@ -415,7 +413,7 @@ Bool_t AliITSNeuralTracker::PassCurvCut arc1 /= 2.0 * curv; arc2 /= 2.0 * curv; if (arc1 == 0.0 || arc2 == 0.0) return kFALSE; - helmatch = fabs(z1 / arc1 - z2 / arc2); + helmatch = TMath::Abs(z1 / arc1 - z2 / arc2); return (helmatch >= fHelixMatchCutMin[reflayer] && helmatch <= fHelixMatchCutMax[reflayer]); // END NEW VERSION } @@ -481,7 +479,7 @@ Int_t AliITSNeuralTracker::PassAllCuts Double_t den = r1*r2*sqrt(dx*dx + dy*dy); Double_t curv = 0.; if (den != 0.) { - curv = fabs(num / den); + curv = TMath::Abs(num / den); if (curv > fCurvCut[curvindex]) return 3; } else @@ -498,7 +496,7 @@ Int_t AliITSNeuralTracker::PassAllCuts arc1 /= 2.0 * curv; arc2 /= 2.0 * curv; if (arc1 == 0.0 || arc2 == 0.0) return kFALSE; - helmatch = fabs(z1 / arc1 - z2 / arc2); + helmatch = TMath::Abs(z1 / arc1 - z2 / arc2); if (helmatch < fHelixMatchCutMin[reflayer] || helmatch > fHelixMatchCutMax[reflayer]) return 5; return 0;