From: morsch Date: Thu, 18 Jan 2001 13:21:30 +0000 (+0000) Subject: Take pi from TMath. X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=11a3be041b409466555a37c200948c1501a072e7;p=u%2Fmrichter%2FAliRoot.git Take pi from TMath. --- diff --git a/STEER/AliMagFDM.cxx b/STEER/AliMagFDM.cxx index 4351c3eb5eb..f2b80903753 100644 --- a/STEER/AliMagFDM.cxx +++ b/STEER/AliMagFDM.cxx @@ -15,6 +15,12 @@ /* $Log$ +Revision 1.9 2001/01/17 20:02:20 morsch +In the AliMagFDM tree call-by-reference functions were changed to +call-by-value, what is more adequate for our task. There were added +a few comments and put protection to values of cos > 1.000 in +AliMagFDM.cxx. (Galina Chabratova) + Revision 1.8 2000/12/18 10:44:01 morsch Possibility to set field map by passing pointer to objet of type AliMagF via SetField(). @@ -77,7 +83,7 @@ void AliMagFDM::Field(Float_t *xfi, Float_t *b) // Main routine to compute the field in a point // static const Double_t keps=0.1E-06; - static const Double_t PI2=.6283185E+01; + static const Double_t PI2=2.*TMath::Pi(); static const Double_t kone=1; static const Int_t kiip=33;