* 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 /
//
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. };