X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=STRUCT%2FAliSHIL.cxx;h=350999f200a23f56d665c97fc5b24e918672e63c;hb=2fd6ad5e761187e0a94ca362dabc1d2ab857c486;hp=70a9cc65d2e30def7502e520417cf9aed28024a4;hpb=e939a978a98d29901b86bdb02cdcaf5157e717de;p=u%2Fmrichter%2FAliRoot.git diff --git a/STRUCT/AliSHIL.cxx b/STRUCT/AliSHIL.cxx index 70a9cc65d2e..350999f200a 100644 --- a/STRUCT/AliSHIL.cxx +++ b/STRUCT/AliSHIL.cxx @@ -29,6 +29,8 @@ // // /////////////////////////////////////////////////////////////////////////////// +#include + #include "AliSHIL.h" #include "AliRun.h" #include "AliMagF.h" @@ -71,10 +73,10 @@ void AliSHIL::CreateMaterials() // // Defines materials for the muon shield // - Int_t isxfld1 = gAlice->Field()->Integ(); - Int_t isxfld2 = gAlice->Field()->PrecInteg(); + Int_t isxfld1 = ((AliMagF*)TGeoGlobalMagField::Instance()->GetField())->Integ(); + Int_t isxfld2 = ((AliMagF*)TGeoGlobalMagField::Instance()->GetField())->PrecInteg(); - Float_t sxmgmx = gAlice->Field()->Max(); + Float_t sxmgmx = ((AliMagF*)TGeoGlobalMagField::Instance()->GetField())->Max(); // Steel Float_t asteel[4] = { 55.847,51.9961,58.6934,28.0855 }; Float_t zsteel[4] = { 26.,24.,28.,14. }; @@ -254,12 +256,6 @@ void AliSHIL::CreateMaterials() } -//_____________________________________________________________________________ -void AliSHIL::DrawModule () const -{ - // Drawing options -} - //_____________________________________________________________________________ void AliSHIL::Init() {