X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FAliITSvPPRcoarseasymm.cxx;h=69101c2961b76743c53a7315fc6d6cecc3880871;hb=8b3448d350c08d9c92b985fda2b15011a10afa71;hp=931749c010afad7c8c01be7ccf5c6c0353b8cce0;hpb=3e2e3ece70a5fafeee6d76dd14cfd7a7d44a43b8;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITSvPPRcoarseasymm.cxx b/ITS/AliITSvPPRcoarseasymm.cxx index 931749c010a..69101c2961b 100644 --- a/ITS/AliITSvPPRcoarseasymm.cxx +++ b/ITS/AliITSvPPRcoarseasymm.cxx @@ -31,12 +31,13 @@ // // /////////////////////////////////////////////////////////////////////////////// #include +#include +#include #include #include #include #include #include -#include #include "AliMagF.h" #include "AliConst.h" @@ -899,8 +900,8 @@ void AliITSvPPRcoarseasymm::CreateMaterials(){ Float_t wsteel[4] = { .715,.18,.1,.005 }; - 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(); // --- Define the various materials for GEANT ---