X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FAliITSvPPRcoarseasymm.cxx;h=69101c2961b76743c53a7315fc6d6cecc3880871;hb=909eee575ce9f77645113230cc0acd685d40bc71;hp=e94f424dad7af8701ac51aac50e1b063d743b9fe;hpb=7dd2cbe4f183e78c83c59e4a366a72cd04a7f660;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITSvPPRcoarseasymm.cxx b/ITS/AliITSvPPRcoarseasymm.cxx index e94f424dad7..69101c2961b 100644 --- a/ITS/AliITSvPPRcoarseasymm.cxx +++ b/ITS/AliITSvPPRcoarseasymm.cxx @@ -31,15 +31,13 @@ // // /////////////////////////////////////////////////////////////////////////////// #include +#include +#include #include -#include #include #include -#include #include #include -#include -#include #include "AliMagF.h" #include "AliConst.h" @@ -902,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 ---