]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Take pi from TMath.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 18 Jan 2001 13:21:30 +0000 (13:21 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 18 Jan 2001 13:21:30 +0000 (13:21 +0000)
STEER/AliMagFDM.cxx

index 4351c3eb5ebaa63e48a323ce15a12b738809b311..f2b80903753e9231191efb77df1b12707d94d7a3 100644 (file)
 
 /*
 $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;