]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STRUCT/AliPIPEvTemp.cxx
Moved destructor to cxx to suppress complaint about fwd decl.
[u/mrichter/AliRoot.git] / STRUCT / AliPIPEvTemp.cxx
index 4ff3aaaf9a4c192f4997a26317f8c7c285829da0..807c99b1dbf1b3b2ba043fa897c78148ee96085f 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/*
-$Log$
-Revision 1.2  2001/05/02 12:01:33  morsch
-Obsolete version removed.
-
-Revision 1.1  2001/03/28 08:43:19  morsch
-Temporary solution for beam-pipe until ITS geometry will have been updated.
-
-*/
+/* $Id$ */
 
 ////////////////////////////////////////////////
 //  Beam pipe class                            /
@@ -678,8 +670,8 @@ void AliPIPEvTemp::CreateMaterials()
   //
 
   if(fDebug) printf("%s: Create PIPEvTemp materials \n",ClassName());
-  Int_t   isxfld = gAlice->Field()->Integ();
-  Float_t sxmgmx = gAlice->Field()->Max();
+  Int_t   isxfld = ((AliMagF*)TGeoGlobalMagField::Instance()->GetField())->Integ();
+  Float_t sxmgmx = ((AliMagF*)TGeoGlobalMagField::Instance()->GetField())->Max();
   // Steel (Inox)  
   Float_t asteel[4] = { 55.847,51.9961,58.6934,28.0855 };
   Float_t zsteel[4] = { 26.,24.,28.,14. };