X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;ds=sidebyside;f=STRUCT%2FAliDIPOv2.cxx;h=02e4693dcc825abd36050e6c9707c37b7f0b9568;hb=4a88088129c9ac75c56b2d55ee930c34511c8a58;hp=e0eb20c4969da0cdf3b98adb8b3a9e29a4089cd9;hpb=4523beaf23057c812b2bde2dc235ddd9fd10f0c8;p=u%2Fmrichter%2FAliRoot.git diff --git a/STRUCT/AliDIPOv2.cxx b/STRUCT/AliDIPOv2.cxx index e0eb20c4969..02e4693dcc8 100644 --- a/STRUCT/AliDIPOv2.cxx +++ b/STRUCT/AliDIPOv2.cxx @@ -34,8 +34,9 @@ // // // // -#include +#include #include +#include #include "AliConst.h" #include "AliDIPOv2.h" @@ -651,7 +652,6 @@ void AliDIPOv2::CreateCompensatorDipole() // Mother volumes TGeoVolumeAssembly* asDCM0 = new TGeoVolumeAssembly("DCM0"); asDCM0->SetName("DCM0"); - gMC->Gsatt ("DCM0", "SEEN", 0); // // Mother volume containing lower coil @@ -858,9 +858,9 @@ void AliDIPOv2::CreateMaterials() // Create Materials for Magnetic Dipole version 2 // - Int_t isxfld1 = gAlice->Field()->Integ(); - Int_t isxfld2 = gAlice->Field()->PrecInteg(); - Float_t sxmgmx = gAlice->Field()->Max(); + Int_t isxfld1 = ((AliMagF*)TGeoGlobalMagField::Instance()->GetField())->Integ(); + Int_t isxfld2 = ((AliMagF*)TGeoGlobalMagField::Instance()->GetField())->PrecInteg(); + Float_t sxmgmx = ((AliMagF*)TGeoGlobalMagField::Instance()->GetField())->Max(); Float_t asteel[4] = { 55.847,51.9961,58.6934,28.0855 };