]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSNeuralTrack.h
New detector numbering scheme (common for DAQ/HLT/Offline). All the subdetectors...
[u/mrichter/AliRoot.git] / ITS / AliITSNeuralTrack.h
index a00d01471719e8b97368d20afe4ff9e7caa9c7df..3521e49bc307ccb1e2b9eff4418162f59849d27b 100644 (file)
@@ -60,10 +60,10 @@ public:
        Double_t GetZ(Double_t r) const;    // z = dz + (tanl / C) * asin(argz(rho))
 
        Double_t GetP()       {return GetPt() * (1.0 + fTanL * fTanL);}
-       Double_t GetPt()      {return 0.299792658 * 0.2 * fField * fabs(1./fC/100.);}
+       Double_t GetPt()      {return 0.299792658 * 0.2 * fField * TMath::Abs(1./fC/100.);}
        Double_t GetPz()      {return GetPt() * fTanL;}
-       Double_t GetE()       {return sqrt(fMass*fMass + GetPt()*GetPt());}
-       Double_t GetLambda()  {return atan(fTanL);}
+       Double_t GetE()       {return TMath::Sqrt(fMass*fMass + GetPt()*GetPt());}
+       Double_t GetLambda()  {return TMath::ATan(fTanL);}
        Int_t    GetPDGcode() const {return fPDG;}
        Double_t GetdEdX();